A factory to build the project frame object.
More...
#include <ProjectWidgetFactory.h>
|
| static void | finalize () |
| |
| 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 void | initialize () |
| |
| static AbstractSettingWidget * | make (const std::string &cwType, QWidget *parent=0) |
| |
| static AbstractSettingWidget * | make (const std::string &factoryKey) |
| | It creates an object with the appropriated factory. More...
|
| |
|
| 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 the project frame object.
Definition at line 42 of file ProjectWidgetFactory.h.
| ProjectWidgetFactory::~ProjectWidgetFactory |
( |
| ) |
|
| ProjectWidgetFactory::ProjectWidgetFactory |
( |
| ) |
|
|
protected |
| static void ProjectWidgetFactory::finalize |
( |
| ) |
|
|
static |
It returns a reference to the internal dictionary of concrete factories.
The dictionary is a singleton.
- Returns
- A reference to the internal dictionary.
It returns the factory key associated to the concreate factory.
- Returns
- The factory key associated to the concreate factory.
| static void ProjectWidgetFactory::initialize |
( |
| ) |
|
|
static |
| AbstractSettingWidget * te::qt::af::SettingsWidgetsFactory::make |
( |
const std::string & |
cwType, |
|
|
QWidget * |
parent = 0 |
|
) |
| |
|
inlinestaticinherited |
| static AbstractSettingWidget * te::common::AbstractFactory< AbstractSettingWidget , std::string , std::less<std::string > >::make |
( |
const std::string & |
factoryKey | ) |
|
|
staticinherited |
It creates an object with the appropriated factory.
- Parameters
-
| factoryKey | A key that identifies the factory used to build the object. |
- Returns
- It returns a new object created by the given factory.
- Exceptions
-
| Exception | If the concrete factory is not specified or the object can not be built for any reason this methiod may throws an exception. |
- Note
- The caller of this method will take the ownership of the returned object.
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.
The documentation for this class was generated from the following file:
- /home/castejon/castejon_files/develop/terralib5/git_master/terralib5/src/terraview/settings/ProjectWidgetFactory.h