CCommandExecutor Class Reference
[Parsing classes]

This class executes a certain command. More...

#include <CCommandExecutor.h>

List of all members.

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 CCommandExecutorgetInstance ()
 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 CCommandExecutors_pInstance = NULL


Detailed Description

This class executes a certain command.

Definition at line 20 of file CCommandExecutor.h.


Constructor & Destructor Documentation

CCommandExecutor::CCommandExecutor (  )  [inline, private]

The CCommandExecutor empty private constructor.

String table corresponding to the help messages.

Definition at line 65 of file CCommandExecutor.h.


Member Function Documentation

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().


Member Data Documentation

const std::string CCommandExecutor::s_HelpMessages[CCommand::PARAMETER_END+1] [static, private]

Definition at line 59 of file CCommandExecutor.h.


The documentation for this class was generated from the following files:
Generated on Fri Dec 5 03:20:33 2008 for Mathematical Ray-tracer by  doxygen 1.5.4