OpenCV  2.4.13.2
Open Source Computer Vision
cvflann::ObjectFactory< BaseClass, UniqueIdType, ObjectCreator > Class Template Reference

#include <object_factory.h>

Public Member Functions

bool subscribe (UniqueIdType id, ObjectCreator creator)
 
bool unregister (UniqueIdType id)
 
ObjectCreator create (UniqueIdType id)
 

Static Public Member Functions

static ThisClassinstance ()
 

Member Function Documentation

§ create()

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

§ instance()

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

§ subscribe()

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

§ unregister()

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

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