OpenCV  2.4.13
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

template<typename BaseClass , typename UniqueIdType , typename ObjectCreator = BaseClass* (*)()>
ObjectCreator cvflann::ObjectFactory< BaseClass, UniqueIdType, ObjectCreator >::create ( UniqueIdType  id)
inline
template<typename BaseClass , typename UniqueIdType , typename ObjectCreator = BaseClass* (*)()>
static ThisClass& cvflann::ObjectFactory< BaseClass, UniqueIdType, ObjectCreator >::instance ( )
inlinestatic
template<typename BaseClass , typename UniqueIdType , typename ObjectCreator = BaseClass* (*)()>
bool cvflann::ObjectFactory< BaseClass, UniqueIdType, ObjectCreator >::subscribe ( UniqueIdType  id,
ObjectCreator  creator 
)
inline
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: