Public Member Functions | Static Public Member Functions | Private Types | Private Member Functions | Private Attributes | List of all members
rtflann::ObjectFactory< BaseClass, UniqueIdType, ObjectCreator > Class Template Reference

#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 ThisClassinstance ()
 

Private Types

typedef std::map< UniqueIdType, ObjectCreator > ObjectRegistry
 
typedef ObjectFactory< BaseClass, UniqueIdType, ObjectCreator > ThisClass
 

Private Member Functions

 ObjectFactory ()
 

Private Attributes

ObjectRegistry object_registry
 

Detailed Description

template<typename BaseClass, typename UniqueIdType, typename ObjectCreator = BaseClass* (*)()>
class rtflann::ObjectFactory< BaseClass, UniqueIdType, ObjectCreator >

Definition at line 46 of file object_factory.h.

Member Typedef Documentation

template<typename BaseClass , typename UniqueIdType , typename ObjectCreator = BaseClass* (*)()>
typedef std::map<UniqueIdType, ObjectCreator> rtflann::ObjectFactory< BaseClass, UniqueIdType, ObjectCreator >::ObjectRegistry
private

Definition at line 49 of file object_factory.h.

template<typename BaseClass , typename UniqueIdType , typename ObjectCreator = BaseClass* (*)()>
typedef ObjectFactory<BaseClass,UniqueIdType,ObjectCreator> rtflann::ObjectFactory< BaseClass, UniqueIdType, ObjectCreator >::ThisClass
private

Definition at line 48 of file object_factory.h.

Constructor & Destructor Documentation

template<typename BaseClass , typename UniqueIdType , typename ObjectCreator = BaseClass* (*)()>
rtflann::ObjectFactory< BaseClass, UniqueIdType, ObjectCreator >::ObjectFactory ( )
inlineprivate

Definition at line 52 of file object_factory.h.

Member Function Documentation

template<typename BaseClass , typename UniqueIdType , typename ObjectCreator = BaseClass* (*)()>
ObjectCreator rtflann::ObjectFactory< BaseClass, UniqueIdType, ObjectCreator >::create ( UniqueIdType  id)
inline

Definition at line 69 of file object_factory.h.

template<typename BaseClass , typename UniqueIdType , typename ObjectCreator = BaseClass* (*)()>
static ThisClass& rtflann::ObjectFactory< BaseClass, UniqueIdType, ObjectCreator >::instance ( )
inlinestatic

Definition at line 80 of file object_factory.h.

template<typename BaseClass , typename UniqueIdType , typename ObjectCreator = BaseClass* (*)()>
bool rtflann::ObjectFactory< BaseClass, UniqueIdType, ObjectCreator >::subscribe ( UniqueIdType  id,
ObjectCreator  creator 
)
inline

Definition at line 56 of file object_factory.h.

template<typename BaseClass , typename UniqueIdType , typename ObjectCreator = BaseClass* (*)()>
bool rtflann::ObjectFactory< BaseClass, UniqueIdType, ObjectCreator >::unregister ( UniqueIdType  id)
inline

Definition at line 64 of file object_factory.h.

Member Data Documentation

template<typename BaseClass , typename UniqueIdType , typename ObjectCreator = BaseClass* (*)()>
ObjectRegistry rtflann::ObjectFactory< BaseClass, UniqueIdType, ObjectCreator >::object_registry
private

Definition at line 86 of file object_factory.h.


The documentation for this class was generated from the following file:


rtabmap
Author(s): Mathieu Labbe
autogenerated on Mon Dec 14 2020 03:37:09