#include <MercuryCommands.h>
Public Member Functions | |
void | CheckInit () |
int | Register (const MString &command, CMDCallback reg) |
bool | ExecuteCommand (PStack &ret, const MString &command, PStack &args, void *source=NULL) |
bool | ExecuteObjectCommand (PStack &ret, const MString &object, const MString &command, PStack &args) |
bool | ExecuteCommandString (const MString &sCommand) |
Private Attributes | |
std::map< MString, CMDCallback > * | mCommands |
bool | bInit |
Definition at line 15 of file MercuryCommands.h.
void MercuryCommandRegisteringSystem::CheckInit | ( | ) |
Definition at line 21 of file MercuryCommands.cpp.
int MercuryCommandRegisteringSystem::Register | ( | const MString & | command, | |
CMDCallback | reg | |||
) |
Definition at line 30 of file MercuryCommands.cpp.
bool MercuryCommandRegisteringSystem::ExecuteCommand | ( | PStack & | ret, | |
const MString & | command, | |||
PStack & | args, | |||
void * | source = NULL | |||
) |
Definition at line 43 of file MercuryCommands.cpp.
bool MercuryCommandRegisteringSystem::ExecuteObjectCommand | ( | PStack & | ret, | |
const MString & | object, | |||
const MString & | command, | |||
PStack & | args | |||
) |
Definition at line 54 of file MercuryCommands.cpp.
bool MercuryCommandRegisteringSystem::ExecuteCommandString | ( | const MString & | sCommand | ) |
Definition at line 60 of file MercuryCommands.cpp.
std::map< MString, CMDCallback >* MercuryCommandRegisteringSystem::mCommands [private] |
Definition at line 24 of file MercuryCommands.h.
bool MercuryCommandRegisteringSystem::bInit [private] |
Definition at line 25 of file MercuryCommands.h.