#include <FeatureInfoMakerFactory.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. | |
virtual | ~FeatureInfoMakerFactory () |
Destructor. | |
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. | |
static AbstractFeatureInfoMaker * | make () |
It creates and returns the default AbstractFeatureInfoMaker. | |
static AbstractFeatureInfoMaker * | make (const std::string &makerKey) |
It creates and returns the specific AbstractFeatureInfoMaker. | |
Protected Member Functions | |
virtual AbstractFeatureInfoMaker * | build ()=0 |
Concrete factories (derived from this one) must implement this method in order to create objects. | |
FeatureInfoMakerFactory (const std::string &factoryKey) | |
Constructor. | |
Protected Attributes | |
std::string | m_factoryKey |
The key that identifies the concrete factory: it will be used for unregistering the factory during destruction. | |
Definition at line 43 of file FeatureInfoMakerFactory.h.
|
inherited |
Definition at line 73 of file AbstractFactory.h.
|
inherited |
Definition at line 77 of file AbstractFactory.h.
|
virtual |
Destructor.
|
protected |
Constructor.
factoryKey | The key that identifies the factory. |
|
protectedpure virtualinherited |
Concrete factories (derived from this one) must implement this method in order to create objects.
Implemented in te::qt::widgets::DefaultFeatureInfoMakerFactory, and te::ws::ogc::wms::qt::WMSGetFeatureInfoMakerFactory.
|
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.
|
static |
It creates and returns the default AbstractFeatureInfoMaker.
|
static |
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.