#include <CCommandExecutor.h>
Public Member Functions | |
| void | Execute (const CCommand &command, CRenderObj &surfaceobj) const |
| This function executes a command that is passed in a CCommand class. | |
Static Public Member Functions | |
| static CCommandExecutor * | getInstance () |
| This function returns a pointer to the unique instance of the CCommandExecutor and creates it if it doesn't exist yet. | |
| static void | freeInstance () |
| This function frees the unique instance of the CCommandExecutor. | |
Private Member Functions | |
| CCommandExecutor () | |
| The CCommandExecutor empty private constructor. | |
Static Private Member Functions | |
| static bool | FileExist (const std::string &FileName) |
| This function is used to know if a file exists or not. | |
Static Private Attributes | |
| static const std::string | s_HelpMessages [CCommand::PARAMETER_END+1] |
| static CCommandExecutor * | s_pInstance = NULL |
Definition at line 20 of file CCommandExecutor.h.
| CCommandExecutor::CCommandExecutor | ( | ) | [inline, private] |
The CCommandExecutor empty private constructor.
String table corresponding to the help messages.
Definition at line 65 of file CCommandExecutor.h.
| static CCommandExecutor* CCommandExecutor::getInstance | ( | ) | [inline, static] |
This function returns a pointer to the unique instance of the CCommandExecutor and creates it if it doesn't exist yet.
Definition at line 27 of file CCommandExecutor.h.
References s_pInstance.
Referenced by CSingletonHandler::CSingletonHandler(), and main().
| static void CCommandExecutor::freeInstance | ( | ) | [inline, static] |
This function frees the unique instance of the CCommandExecutor.
Definition at line 40 of file CCommandExecutor.h.
References s_pInstance.
Referenced by CSingletonHandler::~CSingletonHandler().
| static bool CCommandExecutor::FileExist | ( | const std::string & | FileName | ) | [static, private] |
This function is used to know if a file exists or not.
Static pointer to the unique instance of the CCommandExecutor.
Referenced by Execute().
const std::string CCommandExecutor::s_HelpMessages[CCommand::PARAMETER_END+1] [static, private] |
Definition at line 59 of file CCommandExecutor.h.
1.5.4