#include <object_factory.h>
Public Types | |
typedef std::map< UniqueIdType, CreateObjectFunc >::iterator | Iterator |
Public Member Functions | |
BaseClass * | create (UniqueIdType id) |
template<typename DerivedClass > | |
bool | register_ (UniqueIdType id) |
bool | unregister (UniqueIdType id) |
Private Types | |
typedef BaseClass *(* | CreateObjectFunc )() |
Private Attributes | |
std::map< UniqueIdType, CreateObjectFunc > | object_registry |
Definition at line 47 of file object_factory.h.
typedef BaseClass*(* cvflann::ObjectFactory< BaseClass, UniqueIdType >::CreateObjectFunc)() [private] |
Definition at line 49 of file object_factory.h.
typedef std::map<UniqueIdType, CreateObjectFunc>::iterator cvflann::ObjectFactory< BaseClass, UniqueIdType >::Iterator |
Definition at line 56 of file object_factory.h.
BaseClass* cvflann::ObjectFactory< BaseClass, UniqueIdType >::create | ( | UniqueIdType | id | ) | [inline] |
Definition at line 74 of file object_factory.h.
bool cvflann::ObjectFactory< BaseClass, UniqueIdType >::register_ | ( | UniqueIdType | id | ) | [inline] |
Definition at line 60 of file object_factory.h.
bool cvflann::ObjectFactory< BaseClass, UniqueIdType >::unregister | ( | UniqueIdType | id | ) | [inline] |
Definition at line 69 of file object_factory.h.
std::map<UniqueIdType, CreateObjectFunc> cvflann::ObjectFactory< BaseClass, UniqueIdType >::object_registry [private] |
Definition at line 50 of file object_factory.h.