| OpenCV 3.4.1 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 ThisClass & | instance ()

## 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 | ( |  | ) |
| inline static

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

- flann/include/opencv2/flann/object_factory.h