![]() |
MAK RTIspy API Documentation for HLA Evolved
|
Base class for a Dialog that allows a user to enter connection information.d. More...
Inheritance diagram for DtAssistantAddConnDialog:
Collaboration diagram for DtAssistantAddConnDialog:Public Slots | |
| virtual void | enableDefaultConnName () |
| Enables the construction of the default connection name, instead using user entered name. | |
| virtual void | disableDefaultConnName () |
| Disables the construction of the default connection name, instead using user entered name. | |
| void | storeNextDefaultConnNum () |
| Saves the next default connection number to be used for the current default connection name. | |
| void | clearDefaultConnNum () |
| Saves the next connection number to be used for the current default connection name. | |
Public Member Functions | |
| DtAssistantAddConnDialog (DtAssistantConnQueryWidget *parent, Qt::WindowFlags f=0) | |
| Constructor. | |
| virtual | ~DtAssistantAddConnDialog () |
| Destructor. | |
Protected Member Functions | |
| virtual bool | getDefaultRtiexecConnName (QString &name, const QString &host) |
| Determines the new default connection name for an rtiexec connection. | |
| virtual bool | getDefaultLightweightConnName (QString &name) |
| Determines the new default connection name for a lightweight connection. | |
Protected Attributes | |
| DtAssistantConnQueryWidget * | myParent |
| The parent of this dialog. | |
| bool | myUseDefaultConnName |
| Indicates that no user supplied connection name was specified, so the default should be displayed and used. | |
| std::map< QString, unsigned > | myNextDefaultConnNum |
| The next number to use to differentiate connections with the same default name, mapped by name. | |
| unsigned | myDefaultConnNum |
| The default connection name number currently being used. | |
| QString | myDefaultConnName |
| The base string for the default connection name currently being used. | |
Base class for a Dialog that allows a user to enter connection information.d.
| DtAssistantAddConnDialog::DtAssistantAddConnDialog | ( | DtAssistantConnQueryWidget * | parent, |
| Qt::WindowFlags | f = 0 |
||
| ) |
Constructor.
| DtAssistantAddConnDialog::~DtAssistantAddConnDialog | ( | ) | [virtual] |
Destructor.
| void DtAssistantAddConnDialog::clearDefaultConnNum | ( | ) | [slot] |
Saves the next connection number to be used for the current default connection name.
References myDefaultConnName, and myDefaultConnNum.
Referenced by disableDefaultConnName(), DtAssistantAddLrcConnDialog::DtAssistantAddLrcConnDialog(), DtAssistantAddRtiexecConnDialog::DtAssistantAddRtiexecConnDialog(), enableDefaultConnName(), and storeNextDefaultConnNum().
| void DtAssistantAddConnDialog::disableDefaultConnName | ( | ) | [virtual, slot] |
Disables the construction of the default connection name, instead using user entered name.
References clearDefaultConnNum(), and myUseDefaultConnName.
Referenced by DtAssistantAddLrcConnDialog::DtAssistantAddLrcConnDialog(), DtAssistantAddRtiexecConnDialog::DtAssistantAddRtiexecConnDialog(), DtAssistantAddRtiexecConnDialog::setName(), and DtAssistantAddLrcConnDialog::setName().
| void DtAssistantAddConnDialog::enableDefaultConnName | ( | ) | [virtual, slot] |
Enables the construction of the default connection name, instead using user entered name.
References clearDefaultConnNum(), and myUseDefaultConnName.
Referenced by DtAssistantAddRtiexecConnDialog::setData(), and DtAssistantAddLrcConnDialog::setData().
| bool DtAssistantAddConnDialog::getDefaultLightweightConnName | ( | QString & | name | ) | [protected, virtual] |
Determines the new default connection name for a lightweight connection.
Returns false if use of the default name has been disabled.
References DtAssistantConnQueryWidget::isConnectionNameInUse(), myDefaultConnName, myDefaultConnNum, myNextDefaultConnNum, myParent, and myUseDefaultConnName.
Referenced by DtAssistantAddLrcConnDialog::udpateDefaultConnName().
| bool DtAssistantAddConnDialog::getDefaultRtiexecConnName | ( | QString & | name, |
| const QString & | host | ||
| ) | [protected, virtual] |
Determines the new default connection name for an rtiexec connection.
Returns false if use of the default name has been disabled.
References DtAssistantConnQueryWidget::isConnectionNameInUse(), myDefaultConnName, myDefaultConnNum, myNextDefaultConnNum, myParent, and myUseDefaultConnName.
Referenced by DtAssistantAddRtiexecConnDialog::udpateDefaultConnName(), and DtAssistantAddLrcConnDialog::udpateDefaultConnName().
| void DtAssistantAddConnDialog::storeNextDefaultConnNum | ( | ) | [slot] |
Saves the next default connection number to be used for the current default connection name.
References clearDefaultConnNum(), myDefaultConnName, myDefaultConnNum, and myNextDefaultConnNum.
Referenced by DtAssistantAddLrcConnDialog::DtAssistantAddLrcConnDialog(), and DtAssistantAddRtiexecConnDialog::DtAssistantAddRtiexecConnDialog().
QString DtAssistantAddConnDialog::myDefaultConnName [protected] |
The base string for the default connection name currently being used.
Referenced by clearDefaultConnNum(), getDefaultLightweightConnName(), getDefaultRtiexecConnName(), and storeNextDefaultConnNum().
unsigned DtAssistantAddConnDialog::myDefaultConnNum [protected] |
The default connection name number currently being used.
Referenced by clearDefaultConnNum(), getDefaultLightweightConnName(), getDefaultRtiexecConnName(), and storeNextDefaultConnNum().
std::map<QString, unsigned> DtAssistantAddConnDialog::myNextDefaultConnNum [protected] |
The next number to use to differentiate connections with the same default name, mapped by name.
Referenced by getDefaultLightweightConnName(), getDefaultRtiexecConnName(), and storeNextDefaultConnNum().
The parent of this dialog.
Referenced by getDefaultLightweightConnName(), and getDefaultRtiexecConnName().
bool DtAssistantAddConnDialog::myUseDefaultConnName [protected] |
Indicates that no user supplied connection name was specified, so the default should be displayed and used.
Referenced by disableDefaultConnName(), enableDefaultConnName(), getDefaultLightweightConnName(), and getDefaultRtiexecConnName().