#include <TdkInterfaceParams.h>
Public Member Functions | |
Constructor and Destructor Methods | |
Methods related to instantiation and destruction. | |
| TdkInterfaceParams (const bool &modal=false, const std::string &name="") | |
| Constructor. | |
| virtual | ~TdkInterfaceParams () |
| Virtual destructor. | |
Setting and Getting Methods | |
Methods used to sets and gets atributes. | |
| void | setModal (const bool &modal) |
| Sets modal parameter. | |
| bool | getModal () |
| Retrieves modal parameter value. | |
| void | setName (const std::string &name) |
| Sets name parameter. | |
| std::string | getName () |
| Retrieves name parameter value. | |
| void | setParent (TdkDlg *dlg) |
| Sets parent dialog parameter. | |
| TdkDlg * | getParent () |
| Retrieves parent dialog parameter value. | |
| void | setFactoryName (const std::string &fname) |
| Sets dialog factory name parameter. | |
| std::string | getFactoryName () |
| Retrieves dialog factory name parameter value. | |
| std::string | getProductId () |
| Retrieves the dialog factory name. This method is used by Abstract factory. | |
Private Attributes | |
| bool | _modal |
| Sinalizes if a dialog will be modal or not. | |
| string | _name |
| Name of dialog. | |
| string | _factoryName |
| Dialog factory name. | |
| TdkDlg * | _parent |
| Parent dialog. | |
TODO: 1)
| TdkInterfaceParams::TdkInterfaceParams | ( | const bool & | modal = false, |
|
| const std::string & | name = "" | |||
| ) | [inline] |
Constructor.
| modal | Define the type of dilog: modal \ no modal. | |
| name | Dialog name. |
| TdkInterfaceParams::~TdkInterfaceParams | ( | ) | [inline, virtual] |
Virtual destructor.
| void TdkInterfaceParams::setModal | ( | const bool & | modal | ) | [inline] |
Sets modal parameter.
| modal | True - if dialog is modal, false otherwise. |
| bool TdkInterfaceParams::getModal | ( | ) | [inline] |
Retrieves modal parameter value.
| void TdkInterfaceParams::setName | ( | const std::string & | name | ) | [inline] |
Sets name parameter.
| name | Dialog's name. |
| std::string TdkInterfaceParams::getName | ( | ) | [inline] |
Retrieves name parameter value.
| void TdkInterfaceParams::setParent | ( | TdkDlg * | dlg | ) | [inline] |
Sets parent dialog parameter.
| dlg | Parent dialog. |
| TdkDlg * TdkInterfaceParams::getParent | ( | ) | [inline] |
Retrieves parent dialog parameter value.
| void TdkInterfaceParams::setFactoryName | ( | const std::string & | fname | ) | [inline] |
Sets dialog factory name parameter.
| Parent | dialog. |
| std::string TdkInterfaceParams::getFactoryName | ( | ) | [inline] |
Retrieves dialog factory name parameter value.
| std::string TdkInterfaceParams::getProductId | ( | ) | [inline] |
Retrieves the dialog factory name. This method is used by Abstract factory.
bool TdkInterfaceParams::_modal [private] |
Sinalizes if a dialog will be modal or not.
string TdkInterfaceParams::_name [private] |
Name of dialog.
string TdkInterfaceParams::_factoryName [private] |
Dialog factory name.
TdkDlg* TdkInterfaceParams::_parent [private] |
Parent dialog.
1.5.2