Planeshift
|
Class containing object factory for AdminCmdData objects. More...
#include <adminmanager.h>
Public Member Functions | |
AdminCmdDataFactory () | |
AdminCmdData * | FindFactory (csString datatypename) |
Search for a specific command data. | |
void | RegisterMsgFactoryFunction (AdminCmdData *obj) |
Register a new AdminCmdData class. | |
virtual | ~AdminCmdDataFactory () |
Protected Attributes | |
csPDelArray< AdminCmdData > | adminCmdDatas |
storage for command data factory functions |
Class containing object factory for AdminCmdData objects.
Creates specific AdminCmdData objects on demand. The objects are stored and accessed by the command name that they have stored internally. AdminCmdData objects can be registered, so that objects of their type can be generated.
Definition at line 3332 of file adminmanager.h.
AdminCmdDataFactory::AdminCmdDataFactory | ( | ) |
virtual AdminCmdDataFactory::~AdminCmdDataFactory | ( | ) | [virtual] |
AdminCmdData* AdminCmdDataFactory::FindFactory | ( | csString | datatypename | ) |
Search for a specific command data.
datatypename | Name of the command to search for (including /) |
void AdminCmdDataFactory::RegisterMsgFactoryFunction | ( | AdminCmdData * | obj | ) |
Register a new AdminCmdData class.
obj | for a new AdminCmdData class |
csPDelArray<AdminCmdData> AdminCmdDataFactory::adminCmdDatas [protected] |
storage for command data factory functions
Definition at line 3356 of file adminmanager.h.