#include <DefaultFeatureInfoMakerFactory.h>
Public Types | |
typedef FactoryDictionary< AbstractFactory< AbstractFeatureInfoMaker, std::string, std::less< std::string > >, std::string, std::less< std::string > > | dictionary_type |
typedef AbstractFactory | factory_type |
Public Member Functions | |
const std::string & | getKey () const |
It returns the factory key associated to the concreate factory. More... | |
virtual | ~DefaultFeatureInfoMakerFactory () |
Destructor. More... | |
Static Public Member Functions | |
static const factory_type * | find (const std::string &factoryKey) |
static dictionary_type & | getDictionary () |
It returns a reference to the internal dictionary of concrete factories. More... | |
static AbstractFeatureInfoMaker * | make () |
It creates and returns the default AbstractFeatureInfoMaker. More... | |
static AbstractFeatureInfoMaker * | make (const std::string &makerKey) |
It creates and returns the specific AbstractFeatureInfoMaker. More... | |
Protected Member Functions | |
AbstractFeatureInfoMaker * | build () |
Builds a new DefaultFeatureInfoMaker object. More... | |
DefaultFeatureInfoMakerFactory () | |
Default constructor. More... | |
Protected Attributes | |
std::string | m_factoryKey |
The key that identifies the concrete factory: it will be used for unregistering the factory during destruction. More... | |
Static Private Attributes | |
static DefaultFeatureInfoMakerFactory | sm_factory |
Static attribute used to register this factory. More... | |
Definition at line 42 of file DefaultFeatureInfoMakerFactory.h.
|
inherited |
Definition at line 73 of file AbstractFactory.h.
|
inherited |
Definition at line 77 of file AbstractFactory.h.
|
virtual |
Destructor.
|
protected |
Default constructor.
|
protectedvirtual |
Builds a new DefaultFeatureInfoMaker object.
Implements te::common::AbstractFactory< AbstractFeatureInfoMaker, std::string >.
|
inlinestaticinherited |
Definition at line 108 of file AbstractFactory.h.
|
inlinestaticinherited |
It returns a reference to the internal dictionary of concrete factories.
The dictionary is a singleton.
Definition at line 106 of file AbstractFactory.h.
|
inlineinherited |
It returns the factory key associated to the concreate factory.
Definition at line 84 of file AbstractFactory.h.
|
staticinherited |
It creates and returns the default AbstractFeatureInfoMaker.
|
staticinherited |
It creates and returns the specific AbstractFeatureInfoMaker.
makerKey | The name of specific feature info maker |
|
protectedinherited |
The key that identifies the concrete factory: it will be used for unregistering the factory during destruction.
Definition at line 136 of file AbstractFactory.h.
|
staticprivate |
Static attribute used to register this factory.
Definition at line 61 of file DefaultFeatureInfoMakerFactory.h.