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

§ 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: