#include <MercuryObjectFactory.h>
Collaboration diagram for MercuryObjectFactory:
Public Member Functions | |
MercuryObject * | GenerateObject (const MString &sClass, const MString &sName) |
bool | RegisterObjectClass (const MString &sClassName, MakeObjectCommand pCmd) |
void | FinalizeCallbacks () |
void | RegisterFunction (ClassCallback *pCallback, const MString &sClassName, const MString &sCallbackName) |
ClassCallback * | GetCallback (const MString &sClassName, const MString &sFunctionName) |
void | GetAllClasses (MVector< MString > &vRet) |
void | GetAllFunctions (const MString &sClass, MVector< MString > vRet) |
Static Public Member Functions | |
static MercuryObjectFactory & | GetInstance () |
Private Attributes | |
MHash< MakeObjectCommand > | m_mClasses |
MHash< MHash< ClassCallback * > > | m_mPreCallbacks |
MHash< MHash< ClassCallback * > > | m_mFinalCallbacks |
MVector< MercuryObject * > | m_vTemplateObjects |
Definition at line 8 of file MercuryObjectFactory.h.
MercuryObjectFactory & MercuryObjectFactory::GetInstance | ( | ) | [static] |
Definition at line 5 of file MercuryObjectFactory.cpp.
MercuryObject * MercuryObjectFactory::GenerateObject | ( | const MString & | sClass, | |
const MString & | sName | |||
) |
Definition at line 24 of file MercuryObjectFactory.cpp.
bool MercuryObjectFactory::RegisterObjectClass | ( | const MString & | sClassName, | |
MakeObjectCommand | pCmd | |||
) |
Definition at line 18 of file MercuryObjectFactory.cpp.
void MercuryObjectFactory::FinalizeCallbacks | ( | ) |
Definition at line 31 of file MercuryObjectFactory.cpp.
void MercuryObjectFactory::RegisterFunction | ( | ClassCallback * | pCallback, | |
const MString & | sClassName, | |||
const MString & | sCallbackName | |||
) |
Definition at line 67 of file MercuryObjectFactory.cpp.
ClassCallback * MercuryObjectFactory::GetCallback | ( | const MString & | sClassName, | |
const MString & | sFunctionName | |||
) |
Definition at line 72 of file MercuryObjectFactory.cpp.
Definition at line 89 of file MercuryObjectFactory.cpp.
Definition at line 94 of file MercuryObjectFactory.cpp.
MHash< MakeObjectCommand > MercuryObjectFactory::m_mClasses [private] |
Definition at line 21 of file MercuryObjectFactory.h.
MHash< MHash< ClassCallback * > > MercuryObjectFactory::m_mPreCallbacks [private] |
Definition at line 22 of file MercuryObjectFactory.h.
MHash< MHash< ClassCallback * > > MercuryObjectFactory::m_mFinalCallbacks [private] |
Definition at line 23 of file MercuryObjectFactory.h.
MVector< MercuryObject * > MercuryObjectFactory::m_vTemplateObjects [private] |
Definition at line 24 of file MercuryObjectFactory.h.