OpenCV  3.1.0
Open Source Computer Vision
Public Member Functions | Static Public Member Functions | List of all members
cvflann::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 ()
 

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: