![]() |
MAK RTIspy API Documentation for HLA Evolved
|
Dialog that allows a user to enter connection information. More...
Inheritance diagram for DtAssistantAddRtiexecConnDialog:
Collaboration diagram for DtAssistantAddRtiexecConnDialog:Public Slots | |
| void | udpateDefaultConnName () |
| Updates the default connection name, if in use. | |
| void | toggleAdvanced () |
| Toggles between showing and hiding advanced config options. | |
Public Member Functions | |
| DtAssistantAddRtiexecConnDialog (DtAssistantConnQueryWidget *parent, Qt::WindowFlags f=0) | |
| Constructor. | |
| virtual | ~DtAssistantAddRtiexecConnDialog () |
| Destructor. | |
| virtual void | setNetworkInterfaceAddrs (const QStringList &networkInterfaceAddrs) |
| Sets the list of possible network interface addresses to use. | |
| virtual void | setData (const QString &host, int bestEffortPort, int reliablePort, const QString &bestEffortIp, const QString &networkInterfaceAddr, int forwarderPort, const QString &additionalForwarderToConnectTo) |
| Sets the data in the dialog. | |
| virtual void | setName (const QString &connName) |
| Sets the name for the connection in the dialog. | |
| virtual void | getData (QString &connName, int &bestEffortPort, int &reliablePort, QString &bestEffortIp, QString &networkInterfaceAddr, int &forwarderPort, QString &additionalForwarderToConnectTo) |
| Gets the data in the dialog. | |
Protected Attributes | |
| Ui::AddRtiexecConnectionDialog | myUiImpl |
| The GUI implementation of the widget. | |
| bool | myShowingAdvanced |
| Whether or not the advanced options are currently shown. | |
| DtAssistantAdvancedForwarderOptionsWidget * | myAdvancedOptionsWidget |
| Widget which displays advanced forwarder options. | |
| QRegExpValidator * | myBestEffortIpValidator |
| Validators to check the input of the line edit boxes. | |
| QIntValidator * | myPortValidator |
| Validators to check the input of the line edit boxes. | |
| QRegExpValidator * | myConnectionNameValidator |
| Validators to check the input of the line edit boxes. | |
Dialog that allows a user to enter connection information.
| DtAssistantAddRtiexecConnDialog::DtAssistantAddRtiexecConnDialog | ( | DtAssistantConnQueryWidget * | parent, |
| Qt::WindowFlags | f = 0 |
||
| ) |
Constructor.
References DtAssistantAddConnDialog::clearDefaultConnNum(), connect(), DtAssistantAddConnDialog::disableDefaultConnName(), DtGreatestValidPortNumber, myAdvancedOptionsWidget, myBestEffortIpValidator, myConnectionNameValidator, myPortValidator, myUiImpl, DtAssistantAddConnDialog::storeNextDefaultConnNum(), and toggleAdvanced().
Destructor.
| void DtAssistantAddRtiexecConnDialog::getData | ( | QString & | connName, |
| int & | bestEffortPort, | ||
| int & | reliablePort, | ||
| QString & | bestEffortIp, | ||
| QString & | networkInterfaceAddr, | ||
| int & | forwarderPort, | ||
| QString & | additionalForwarderToConnectTo | ||
| ) | [virtual] |
Gets the data in the dialog.
References DtAssistantAdvancedForwarderOptionsWidget::addressOfOtherForwarder(), DtAssistantAdvancedForwarderOptionsWidget::distributedForwarderPort(), myAdvancedOptionsWidget, myUiImpl, and DtAssistantAdvancedForwarderOptionsWidget::specifyAdditionalConnection().
Referenced by DtAssistantRtiexecConnQueryWidget::promptUserForConnInfo().
| void DtAssistantAddRtiexecConnDialog::setData | ( | const QString & | host, |
| int | bestEffortPort, | ||
| int | reliablePort, | ||
| const QString & | bestEffortIp, | ||
| const QString & | networkInterfaceAddr, | ||
| int | forwarderPort, | ||
| const QString & | additionalForwarderToConnectTo | ||
| ) | [virtual] |
Sets the data in the dialog.
References DtAssistantAddConnDialog::enableDefaultConnName(), myAdvancedOptionsWidget, myUiImpl, DtAssistantAdvancedForwarderOptionsWidget::setAddressOfOtherForwarder(), DtAssistantAdvancedForwarderOptionsWidget::setDistributedForwarderPort(), DtAssistantAdvancedForwarderOptionsWidget::setSpecifyAdditionalConnection(), and udpateDefaultConnName().
Referenced by DtAssistantRtiexecConnQueryWidget::promptUserForConnInfo().
| void DtAssistantAddRtiexecConnDialog::setName | ( | const QString & | connName | ) | [virtual] |
Sets the name for the connection in the dialog.
References DtAssistantAddConnDialog::disableDefaultConnName(), and myUiImpl.
Referenced by DtAssistantRtiexecConnQueryWidget::promptUserForConnInfo().
| void DtAssistantAddRtiexecConnDialog::setNetworkInterfaceAddrs | ( | const QStringList & | networkInterfaceAddrs | ) | [virtual] |
Sets the list of possible network interface addresses to use.
References myUiImpl.
Referenced by DtAssistantRtiexecConnQueryWidget::loadLocalInterfaceList().
| void DtAssistantAddRtiexecConnDialog::toggleAdvanced | ( | ) | [slot] |
Toggles between showing and hiding advanced config options.
References myAdvancedOptionsWidget, myShowingAdvanced, and myUiImpl.
Referenced by DtAssistantAddRtiexecConnDialog().
| void DtAssistantAddRtiexecConnDialog::udpateDefaultConnName | ( | ) | [slot] |
Updates the default connection name, if in use.
References DtAssistantAddConnDialog::getDefaultRtiexecConnName(), and myUiImpl.
Referenced by setData().
DtAssistantAdvancedForwarderOptionsWidget* DtAssistantAddRtiexecConnDialog::myAdvancedOptionsWidget [protected] |
Widget which displays advanced forwarder options.
Referenced by DtAssistantAddRtiexecConnDialog(), getData(), setData(), and toggleAdvanced().
QRegExpValidator* DtAssistantAddRtiexecConnDialog::myBestEffortIpValidator [protected] |
Validators to check the input of the line edit boxes.
Referenced by DtAssistantAddRtiexecConnDialog().
QRegExpValidator* DtAssistantAddRtiexecConnDialog::myConnectionNameValidator [protected] |
Validators to check the input of the line edit boxes.
Referenced by DtAssistantAddRtiexecConnDialog().
QIntValidator* DtAssistantAddRtiexecConnDialog::myPortValidator [protected] |
Validators to check the input of the line edit boxes.
Referenced by DtAssistantAddRtiexecConnDialog().
Whether or not the advanced options are currently shown.
Referenced by toggleAdvanced().
Ui::AddRtiexecConnectionDialog DtAssistantAddRtiexecConnDialog::myUiImpl [protected] |
The GUI implementation of the widget.
Referenced by DtAssistantAddRtiexecConnDialog(), getData(), setData(), setName(), setNetworkInterfaceAddrs(), toggleAdvanced(), and udpateDefaultConnName().