MercuryCommandRegisteringSystem Class Reference

Complete Command Registeration System. More...

#include <MercuryCommands.h>

List of all members.

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


Detailed Description

Complete Command Registeration System.

Definition at line 15 of file MercuryCommands.h.


Member Function Documentation

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.


Member Data Documentation

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.


The documentation for this class was generated from the following files:
Hosted by SourceForge.net Logo