#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.
|
virtualdefault |
Destructor.
|
protected |
Default constructor.
Definition at line 35 of file DefaultFeatureInfoMakerFactory.cpp.
|
protectedvirtual |
Builds a new DefaultFeatureInfoMaker object.
Implements te::common::AbstractFactory< AbstractFeatureInfoMaker, std::string >.
Definition at line 40 of file DefaultFeatureInfoMakerFactory.cpp.
|
staticinherited |
Referenced by te::qt::widgets::FeatureInfoMakerFactory::make().
|
staticinherited |
It returns a reference to the internal dictionary of concrete factories.
The dictionary is a singleton.
Referenced by te::qt::widgets::FeatureInfoMakerFactory::make().
|
inherited |
It returns the factory key associated to the concreate factory.
|
staticinherited |
It creates and returns the default AbstractFeatureInfoMaker.
Definition at line 35 of file FeatureInfoMakerFactory.cpp.
References te::common::AbstractFactory< TPRODUCT, TFACTORYKEY, TKEYCOMPARE >::make().
Referenced by te::qt::widgets::FeatureInfoMakerFactory::make(), and te::qt::widgets::Info::mouseReleaseEvent().
|
staticinherited |
It creates and returns the specific AbstractFeatureInfoMaker.
| makerKey | The name of specific feature info maker |
Definition at line 40 of file FeatureInfoMakerFactory.cpp.
References te::common::AbstractFactory< AbstractFeatureInfoMaker, std::string >::find(), te::common::AbstractFactory< AbstractFeatureInfoMaker, std::string >::getDictionary(), te::qt::widgets::FeatureInfoMakerFactory::make(), te::common::AbstractFactory< TPRODUCT, TFACTORYKEY, TKEYCOMPARE >::make(), and te::qt::widgets::FeatureInfoMakerFactory::~FeatureInfoMakerFactory().
|
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.