cvflann::ObjectFactory< BaseClass, UniqueIdType > Class Template Reference

#include <object_factory.h>

List of all members.

Public Types

typedef std::map< UniqueIdType,
CreateObjectFunc >::iterator 
Iterator

Public Member Functions

BaseClass * create (UniqueIdType id)
template<typename DerivedClass >
bool register_ (UniqueIdType id)
bool unregister (UniqueIdType id)

Private Types

typedef BaseClass *(* CreateObjectFunc )()

Private Attributes

std::map< UniqueIdType,
CreateObjectFunc
object_registry

Detailed Description

template<typename BaseClass, typename UniqueIdType>
class cvflann::ObjectFactory< BaseClass, UniqueIdType >

Definition at line 47 of file object_factory.h.


Member Typedef Documentation

template<typename BaseClass , typename UniqueIdType >
typedef BaseClass*(* cvflann::ObjectFactory< BaseClass, UniqueIdType >::CreateObjectFunc)() [private]

Definition at line 49 of file object_factory.h.

template<typename BaseClass , typename UniqueIdType >
typedef std::map<UniqueIdType, CreateObjectFunc>::iterator cvflann::ObjectFactory< BaseClass, UniqueIdType >::Iterator

Definition at line 56 of file object_factory.h.


Member Function Documentation

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

Definition at line 74 of file object_factory.h.

template<typename BaseClass , typename UniqueIdType >
template<typename DerivedClass >
bool cvflann::ObjectFactory< BaseClass, UniqueIdType >::register_ ( UniqueIdType  id  )  [inline]

Definition at line 60 of file object_factory.h.

template<typename BaseClass , typename UniqueIdType >
bool cvflann::ObjectFactory< BaseClass, UniqueIdType >::unregister ( UniqueIdType  id  )  [inline]

Definition at line 69 of file object_factory.h.


Member Data Documentation

template<typename BaseClass , typename UniqueIdType >
std::map<UniqueIdType, CreateObjectFunc> cvflann::ObjectFactory< BaseClass, UniqueIdType >::object_registry [private]

Definition at line 50 of file object_factory.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines


opencv2
Author(s): Gary Bradski and many others. See web page for a full contributor list. ROS package maintained by James Bowman.
autogenerated on Fri Jan 11 10:00:49 2013