#include <object_factory.h>
Public Member Functions | |
ObjectCreator | create (UniqueIdType id) |
bool | subscribe (UniqueIdType id, ObjectCreator creator) |
bool | unregister (UniqueIdType id) |
Static Public Member Functions | |
static ThisClass & | instance () |
Private Types | |
typedef std::map< UniqueIdType, ObjectCreator > | ObjectRegistry |
typedef ObjectFactory < BaseClass, UniqueIdType, ObjectCreator > | ThisClass |
Private Member Functions | |
ObjectFactory () | |
Private Attributes | |
ObjectRegistry | object_registry |
Definition at line 46 of file object_factory.h.
typedef std::map<UniqueIdType, ObjectCreator> rtflann::ObjectFactory< BaseClass, UniqueIdType, ObjectCreator >::ObjectRegistry [private] |
Definition at line 49 of file object_factory.h.
typedef ObjectFactory<BaseClass,UniqueIdType,ObjectCreator> rtflann::ObjectFactory< BaseClass, UniqueIdType, ObjectCreator >::ThisClass [private] |
Definition at line 48 of file object_factory.h.
rtflann::ObjectFactory< BaseClass, UniqueIdType, ObjectCreator >::ObjectFactory | ( | ) | [inline, private] |
Definition at line 52 of file object_factory.h.
ObjectCreator rtflann::ObjectFactory< BaseClass, UniqueIdType, ObjectCreator >::create | ( | UniqueIdType | id | ) | [inline] |
Definition at line 69 of file object_factory.h.
static ThisClass& rtflann::ObjectFactory< BaseClass, UniqueIdType, ObjectCreator >::instance | ( | ) | [inline, static] |
Definition at line 80 of file object_factory.h.
bool rtflann::ObjectFactory< BaseClass, UniqueIdType, ObjectCreator >::subscribe | ( | UniqueIdType | id, |
ObjectCreator | creator | ||
) | [inline] |
Definition at line 56 of file object_factory.h.
bool rtflann::ObjectFactory< BaseClass, UniqueIdType, ObjectCreator >::unregister | ( | UniqueIdType | id | ) | [inline] |
Definition at line 64 of file object_factory.h.
ObjectRegistry rtflann::ObjectFactory< BaseClass, UniqueIdType, ObjectCreator >::object_registry [private] |
Definition at line 86 of file object_factory.h.