A factory to build widget objects. More...
#include <ChartWidgetFactory.h>
  
 Public Types | |
| typedef FactoryDictionary< AbstractFactory< te::qt::widgets::ChartWidget, 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 | ~ChartWidgetFactory () | 
| 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 te::qt::widgets::ChartWidget * | make (const std::string &cwType) | 
| static te::qt::widgets::ChartWidget * | make (const std::string &cwType, QWidget *parent=0) | 
Protected Member Functions | |
| virtual te::qt::widgets::ChartWidget * | build ()=0 | 
| Concrete factories (derived from this one) must implement this method in order to create objects.  More... | |
| ChartWidgetFactory (const std::string &factoryKey) | |
| It creates the factory.  More... | |
| virtual te::qt::widgets::ChartWidget * | create (QWidget *Parent=0)=0 | 
Protected Attributes | |
| std::string | m_factoryKey | 
| The key that identifies the concrete factory: it will be used for unregistering the factory during destruction.  More... | |
A factory to build widget objects.
Definition at line 50 of file ChartWidgetFactory.h.
      
  | 
  inherited | 
Definition at line 73 of file AbstractFactory.h.
      
  | 
  inherited | 
Definition at line 77 of file AbstractFactory.h.
      
  | 
  virtual | 
Virtual destructor.
      
  | 
  protected | 
It creates the factory.
The key of a ChartWidgetFactory is a string.
| 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::ChartStyleFrameFactory, te::qt::widgets::HistogramFrameFactory, te::qt::widgets::ScatterFrameFactory, and te::qt::widgets::TimeSeriesFrameFactory.
      
  | 
  protectedpure virtual | 
      
  | 
  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.
      
  | 
  static | 
      
  | 
  static | 
      
  | 
  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.