#include <ObjectFactory.h>
Public Types | |
| typedef std::map < UniqueIdType, CreateObjectFunc > ::const_iterator | ConstIterator |
| typedef std::map < UniqueIdType, CreateObjectFunc > ::iterator | Iterator |
Public Member Functions | |
| template<typename ClassType> | |
| bool | Register (UniqueIdType unique_id) |
| bool | Unregister (UniqueIdType unique_id) |
| BaseClassType * | Create (UniqueIdType unique_id) |
| ConstIterator | GetBegin () const |
| Iterator | GetBegin () |
| ConstIterator | GetEnd () const |
| Iterator | GetEnd () |
Protected Types | |
| typedef BaseClassType *(* | CreateObjectFunc )() |
Protected Attributes | |
| std::map < UniqueIdType, CreateObjectFunc > | mObjectCreator |
typedef BaseClassType*(* glotzutil::ObjectFactory< BaseClassType, UniqueIdType >::CreateObjectFunc)() [protected] |
| typedef std::map<UniqueIdType, CreateObjectFunc>::const_iterator glotzutil::ObjectFactory< BaseClassType, UniqueIdType >::ConstIterator |
| typedef std::map<UniqueIdType, CreateObjectFunc>::iterator glotzutil::ObjectFactory< BaseClassType, UniqueIdType >::Iterator |
| bool glotzutil::ObjectFactory< BaseClassType, UniqueIdType >::Register | ( | UniqueIdType | unique_id | ) | [inline] |
| bool glotzutil::ObjectFactory< BaseClassType, UniqueIdType >::Unregister | ( | UniqueIdType | unique_id | ) | [inline] |
| BaseClassType* glotzutil::ObjectFactory< BaseClassType, UniqueIdType >::Create | ( | UniqueIdType | unique_id | ) | [inline] |
| ConstIterator glotzutil::ObjectFactory< BaseClassType, UniqueIdType >::GetBegin | ( | ) | const [inline] |
| Iterator glotzutil::ObjectFactory< BaseClassType, UniqueIdType >::GetBegin | ( | ) | [inline] |
| ConstIterator glotzutil::ObjectFactory< BaseClassType, UniqueIdType >::GetEnd | ( | ) | const [inline] |
| Iterator glotzutil::ObjectFactory< BaseClassType, UniqueIdType >::GetEnd | ( | ) | [inline] |
std::map<UniqueIdType, CreateObjectFunc> glotzutil::ObjectFactory< BaseClassType, UniqueIdType >::mObjectCreator [protected] |
1.5.3