The abstract factory of widgets used to configure Symbology Enconding Fill element. More...
#include <AbstractFillWidgetFactory.h>
  
 Public Types | |
| typedef FactoryDictionary < AbstractFactory < AbstractFillWidget, std::string, TKEYCOMPARE > , std::string, TKEYCOMPARE >  | 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... | |
Public Destructor  | |
Destructor.  | |
| virtual | ~AbstractFillWidgetFactory () | 
| Virtual 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 AbstractFillWidget * | make (const std::string &factoryKey) | 
| It creates an object with the appropriated factory.  More... | |
| static void | RegisteredWidgets (std::vector< std::string > &keys) | 
| It informs the key of each registered fill widget factory.  More... | |
Protected Member Functions | |
| virtual AbstractFillWidget * | build ()=0 | 
| Concrete factories (derived from this one) must implement this method in order to create objects.  More... | |
Protected Initializers  | |
Initializers.  | |
| AbstractFillWidgetFactory (const std::string &factoryKey) | |
| It creates the factory.  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... | |
The abstract factory of widgets used to configure Symbology Enconding Fill element.
Definition at line 53 of file AbstractFillWidgetFactory.h.
      
  | 
  inherited | 
Definition at line 73 of file AbstractFactory.h.
      
  | 
  inherited | 
Definition at line 77 of file AbstractFactory.h.
      
  | 
  virtual | 
Virtual destructor.
Definition at line 29 of file AbstractFillWidgetFactory.cpp.
      
  | 
  protected | 
It creates the factory.
The key of a AbstractFillWidgetFactory is a string.
| factoryKey | The key that identifies the factory. | 
Definition at line 41 of file AbstractFillWidgetFactory.cpp.
      
  | 
  protectedpure virtualinherited | 
Concrete factories (derived from this one) must implement this method in order to create objects.
Implemented in te::qt::widgets::BasicFillWidgetFactory, and te::qt::widgets::GraphicFillWidgetFactory.
      
  | 
  staticinherited | 
      
  | 
  staticinherited | 
It returns a reference to the internal dictionary of concrete factories.
The dictionary is a singleton.
      
  | 
  inherited | 
It returns the factory key associated to the concreate factory.
      
  | 
  staticinherited | 
It creates an object with the appropriated factory.
| factoryKey | A key that identifies the factory used to build the object. | 
| Exception | If the concrete factory is not specified or the object can not be built for any reason this methiod may throws an exception. | 
Referenced by te::qt::widgets::PolygonSymbolizerWidget::PolygonSymbolizerWidget().
      
  | 
  static | 
It informs the key of each registered fill widget factory.
| keys | A pre-created vector of string that will be filled with the keys of each registered fill widget factory. | 
Definition at line 33 of file AbstractFillWidgetFactory.cpp.
References te::common::FactoryDictionary< TFACTORY, TFACTORYKEY, TKEYCOMPARE >::begin(), te::common::FactoryDictionary< TFACTORY, TFACTORYKEY, TKEYCOMPARE >::end(), and te::common::AbstractFactory< TPRODUCT, TFACTORYKEY, TKEYCOMPARE >::getDictionary().
Referenced by te::qt::widgets::PolygonSymbolizerWidget::PolygonSymbolizerWidget().
      
  | 
  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.