![]() |
MAK RTIspy API Documentation for HLA Evolved
|
Dialog that allows a user to enter connection information. More...
Inheritance diagram for DtAssistantAddLrcConnDialog:
Collaboration diagram for DtAssistantAddLrcConnDialog:Public Slots | |
| virtual void | selectNetworkInterfaceAddrForHost (int hostIndex) |
| Selects the known good network interface address for the host selection. | |
| virtual void | udpateDefaultConnName () |
| Updates the default connection name, if in use. | |
| void | useRtiExecClicked (bool) |
| toggles between showing advanced options and not. | |
| void | toggleAdvanced () |
| Toggles between showing and hiding advanced config options. | |
Public Member Functions | |
| DtAssistantAddLrcConnDialog (DtAssistantConnQueryWidget *parent, Qt::WindowFlags f=0) | |
| Constructor. | |
| virtual | ~DtAssistantAddLrcConnDialog () |
| Destructor. | |
| virtual void | setNetworkInterfaceAddrs (const QStringList &addrs) |
| Sets the list of possible network interface addresses to use. | |
| virtual void | setAvailableHosts (const DtHostInterfaceAddrList &hosts) |
| Sets the list of known hosts and their network interface addresses. | |
| virtual void | setData (bool useRtiexec, 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 (bool &useRtiexec, QString &connName, QString &host, int &bestEffortPort, int &reliablePort, QString &bestEffortIp, QString &networkInterfaceAddr, int &forwarderPort, QString &additionalForwarderToConnectTo) |
| Gets the data in the dialog. | |
Protected Member Functions | |
| virtual void | redraw () |
| Redraw the display hiding and showing things as necessary. | |
Protected Attributes | |
| Ui::AddLrcConnectionDialog | myUiImpl |
| The GUI implementation of the widget. | |
| bool | myShowingAdvanced |
| Whether or not the advanced options are currently shown. | |
| bool | myShowingExecOptions |
| Whether or not the exec options are being shown . | |
| DtAssistantAdvancedForwarderOptionsWidget * | myAdvancedOptionsWidget |
| Widget which displays advanced forwarder options. | |
| DtHostInterfaceAddrList | myHosts |
| This keeps a list of hostname and network device detected pairs. | |
| 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.
| DtAssistantAddLrcConnDialog::DtAssistantAddLrcConnDialog | ( | DtAssistantConnQueryWidget * | parent, |
| Qt::WindowFlags | f = 0 |
||
| ) |
Constructor.
References DtAssistantAddConnDialog::clearDefaultConnNum(), connect(), DtAssistantAddConnDialog::disableDefaultConnName(), DtGreatestValidPortNumber, myAdvancedOptionsWidget, myBestEffortIpValidator, myConnectionNameValidator, myPortValidator, myUiImpl, selectNetworkInterfaceAddrForHost(), DtAssistantAddConnDialog::storeNextDefaultConnNum(), toggleAdvanced(), udpateDefaultConnName(), and useRtiExecClicked().
Destructor.
| void DtAssistantAddLrcConnDialog::getData | ( | bool & | useRtiexec, |
| QString & | connName, | ||
| QString & | host, | ||
| 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 DtAssistantLrcConnQueryWidget::promptUserForConnInfo().
| void DtAssistantAddLrcConnDialog::redraw | ( | ) | [protected, virtual] |
Redraw the display hiding and showing things as necessary.
References myAdvancedOptionsWidget, myShowingAdvanced, myShowingExecOptions, and myUiImpl.
Referenced by toggleAdvanced(), and useRtiExecClicked().
| void DtAssistantAddLrcConnDialog::selectNetworkInterfaceAddrForHost | ( | int | hostIndex | ) | [virtual, slot] |
Selects the known good network interface address for the host selection.
References myHosts, and myUiImpl.
Referenced by DtAssistantAddLrcConnDialog().
| void DtAssistantAddLrcConnDialog::setAvailableHosts | ( | const DtHostInterfaceAddrList & | hosts | ) | [virtual] |
Sets the list of known hosts and their network interface addresses.
A host is only added if its network interface address was set in setNetworkInterfaceAddrs().
References myHosts, and myUiImpl.
Referenced by DtAssistantLrcConnQueryWidget::promptUserForConnInfo().
| void DtAssistantAddLrcConnDialog::setData | ( | bool | useRtiexec, |
| 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 DtAssistantLrcConnQueryWidget::promptUserForConnInfo().
| void DtAssistantAddLrcConnDialog::setName | ( | const QString & | connName | ) | [virtual] |
Sets the name for the connection in the dialog.
References DtAssistantAddConnDialog::disableDefaultConnName(), and myUiImpl.
Referenced by DtAssistantLrcConnQueryWidget::promptUserForConnInfo().
| void DtAssistantAddLrcConnDialog::setNetworkInterfaceAddrs | ( | const QStringList & | addrs | ) | [virtual] |
Sets the list of possible network interface addresses to use.
References myUiImpl.
Referenced by DtAssistantLrcConnQueryWidget::loadLocalInterfaceList().
| void DtAssistantAddLrcConnDialog::toggleAdvanced | ( | ) | [slot] |
Toggles between showing and hiding advanced config options.
References myShowingAdvanced, and redraw().
Referenced by DtAssistantAddLrcConnDialog().
| void DtAssistantAddLrcConnDialog::udpateDefaultConnName | ( | ) | [virtual, slot] |
Updates the default connection name, if in use.
References DtAssistantAddConnDialog::getDefaultLightweightConnName(), DtAssistantAddConnDialog::getDefaultRtiexecConnName(), and myUiImpl.
Referenced by DtAssistantAddLrcConnDialog(), and setData().
| void DtAssistantAddLrcConnDialog::useRtiExecClicked | ( | bool | useRtiExec | ) | [slot] |
toggles between showing advanced options and not.
References myShowingExecOptions, redraw(), and useRtiExec.
Referenced by DtAssistantAddLrcConnDialog().
DtAssistantAdvancedForwarderOptionsWidget* DtAssistantAddLrcConnDialog::myAdvancedOptionsWidget [protected] |
Widget which displays advanced forwarder options.
Referenced by DtAssistantAddLrcConnDialog(), getData(), redraw(), and setData().
QRegExpValidator* DtAssistantAddLrcConnDialog::myBestEffortIpValidator [protected] |
Validators to check the input of the line edit boxes.
Referenced by DtAssistantAddLrcConnDialog().
QRegExpValidator* DtAssistantAddLrcConnDialog::myConnectionNameValidator [protected] |
Validators to check the input of the line edit boxes.
Referenced by DtAssistantAddLrcConnDialog().
This keeps a list of hostname and network device detected pairs.
Referenced by selectNetworkInterfaceAddrForHost(), and setAvailableHosts().
QIntValidator* DtAssistantAddLrcConnDialog::myPortValidator [protected] |
Validators to check the input of the line edit boxes.
Referenced by DtAssistantAddLrcConnDialog().
bool DtAssistantAddLrcConnDialog::myShowingAdvanced [protected] |
Whether or not the advanced options are currently shown.
Referenced by redraw(), and toggleAdvanced().
Whether or not the exec options are being shown .
Referenced by redraw(), and useRtiExecClicked().
Ui::AddLrcConnectionDialog DtAssistantAddLrcConnDialog::myUiImpl [protected] |
The GUI implementation of the widget.
Referenced by DtAssistantAddLrcConnDialog(), getData(), redraw(), selectNetworkInterfaceAddrForHost(), setAvailableHosts(), setData(), setName(), setNetworkInterfaceAddrs(), and udpateDefaultConnName().