![]() |
MAK RTIspy API Documentation for HLA 1516
|
Widget used to request the user to provide new connection parameters when an LRC cannot establish a connection. More...
Inheritance diagram for DtAssistantLrcConnQueryWidget:
Collaboration diagram for DtAssistantLrcConnQueryWidget:Public Slots | |
| void | processStartRtiexec () |
| Processes the pressing of the start rtiexec button by the user. | |
| void | cancelStartAndConnect () |
| Processes a cancel from progress dialog for starting and connecting to an rtiexec. | |
Public Slots inherited from DtAssistantConnQueryWidget | |
| virtual void | processAdd () |
| Processes the pressing of the add connection button by the user. | |
| virtual void | processRemove () |
| Processes the pressing of the remove connection button by the user. | |
| virtual void | processEdit () |
| Processes the pressing of the edit connection button by the user. | |
| virtual void | processSelectionChange (QTreeWidgetItem *item=0) |
| Processes a selection change. | |
| virtual void | showContextMenu (const QPoint &) |
| Shows the context menu at the given location. | |
Signals | |
| void | startRtiexec (const DtRtiConnectionInfoDataPair &conn, const DtRtiConnectionConfigurationInfo &config, bool isRemote) |
| Signal emitted when user chooses to start an rtiexec. | |
| void | updateWindowTitle (const QString &) |
| Signal emitted when the window title should be changed. | |
| void | requestStartRtiexecEnable (const DtRtiConnectionInfoDataPair &) |
| Signal emitted when we think we may want to enable the "Start rtiexec" option, but need to be told if its ok (could be disabled by remote assistant for this connection) | |
Signals inherited from DtAssistantConnQueryWidget | |
| void | selectionAccepted () |
| Signal emitted when the selection is accepted. | |
| void | acceptEnabled (bool) |
| Signal that the accept button should be enabled/disabled. | |
| void | connectionAdded (const DtRtiConnectionInfoDataPair &conn, DtAssistantConnQueryWidget *widget) |
| Signal emitted when a new connection is added by a user (but not yet accepted). | |
Signals inherited from DtAssistantConfigWidget | |
| void | enablePrefAccept () |
| Emitted to indicate that the accept button can be enabled. | |
| void | disablePrefAccept () |
| Emitted to indicate that the accept button should be disabled. | |
Public Member Functions | |
| DtAssistantLrcConnQueryWidget (QWidget *parent=0, Qt::WindowFlags f=0) | |
| Constructor. | |
| virtual | ~DtAssistantLrcConnQueryWidget () |
| Destructor. | |
| virtual void | addKnownAssistant (const DtAssistantInfo &assistant) |
| Adds an assistant to the list of known remote assistants. | |
| virtual void | removeKnownAssistant (const DtAssistantInfo &assistant) |
| Removes an assistant to the list of known remote assistants. | |
| virtual const DtAssistantInfoSet & | knownAssistants () const |
| virtual void | displayErrorText (bool error) |
| Set the variation of widget text based on whether or not it is being displayed due to an error. | |
| virtual void | setStartRtiexecEnabled (bool enable, const QString &reason) |
| Sets whether or not the "Start rtiexec" button is enabled. | |
| virtual bool | acceptCurrentSelection () |
| Processes acceptance of the current selection, starting an rtiexec if necessary and possible. | |
Public Member Functions inherited from DtAssistantConnQueryWidget | |
| DtAssistantConnQueryWidget (QWidget *parent, Qt::WindowFlags f=0) | |
| Constructor. | |
| virtual | ~DtAssistantConnQueryWidget () |
| Destructor. | |
| virtual void | useButtonsInsteadOfCheckBox (bool useButtons) |
| Configure the widget to use radio buttons rather than a check box to set/unset the whether to use the chosen connection in the future. | |
| virtual void | showStartRtiexecButton (bool show) |
| Configure the widget to show the start rtiexec button. | |
| virtual void | setConnections (const DtRtiConnectionAndConfiguration &conns, bool preserveSelection) |
| Sets the list of connections. | |
| virtual void | addConnections (const DtRtiConnectionAndConfiguration &conns) |
| Adds a set of available connections to the list. | |
| virtual void | removeConnections (const DtRtiConnectionAndConfiguration &conns) |
| Removes a set of available connections from the list. | |
| virtual void | getResults (DtRtiConnectionInfoDataPair &conn, DtRtiConnectionConfigurationInfo &config, bool &choose) const |
| Fills in the current chosen connection information settings. | |
| virtual const DtRtiConnectionAndConfiguration & | userAddedConnections () |
| Returns the set of user added connections during this execution of the dialog. | |
| virtual const DtRtiConnectionAndConfiguration & | userRemovedConnections () |
| Returns the set of user removed connections during this execution of the dialog. | |
| virtual void | clearUserAddedAndRemoved () |
| Clears all connections added and removed by the user during this execution of the dialog. | |
| virtual bool | selectConnection (const DtRtiConnectionInfo &conn) |
| Sets which connection should be selected. | |
| virtual void | reselectConnection () |
| Unselects and reselects the specified connection to update the state of the current buttons and dialog options. | |
| virtual void | getSelectedConnection (DtRtiConnectionInfo &conn) const |
| Get the currently selected connection. | |
| virtual void | getSelectedConfiguration (DtRtiConnectionConfigurationInfo &config) const |
| Get the currently selected configuration. | |
| virtual void | addProhibitedPort (int port, const QString &reason) |
| Add a port which is prohibited, along with a reason. | |
| virtual void | removeProhibitedPort (int port) |
| Remove a port which is prohibited. | |
| virtual void | setInitialState (bool check) |
| Set the initial state of the dialog when it is shown for the very first time. | |
| virtual bool | isConnectionNameInUse (const QString &name) const |
| Returns true if the given connection name is already in use by a known connection. | |
| virtual bool | checkForPortConflicts (int port1, int port2=0) |
| Check if the port is prohibited and display an error if it is. | |
| virtual bool | checkForValidAddr (const QString &addrStr, const MAKRti::DtInetAddr &ifAddr, MAKRti::DtInetAddr &addr) |
| Check if the string is a valid address, as well as valid for the specified interface. | |
| virtual bool | checkForConnNameConflict (const QString &name) |
| Check if the new connection name is unique. | |
| virtual bool | checkForDuplicateConn (const DtRtiConnectionInfo &conn) |
| Check if the given connection is a duplicate of an existing connection. | |
Public Member Functions inherited from DtAssistantConfigWidget | |
| DtAssistantConfigWidget (QWidget *parent=0, Qt::WindowFlags f=0) | |
| Constructor. | |
| virtual | ~DtAssistantConfigWidget () |
| Destructor. | |
| virtual QString | reasonForDisabledAccept () const |
| If the widget has disabled the accept button, returns the reason why. | |
Protected Member Functions | |
| virtual bool | addConnection (const DtRtiConnectionInfoDataPair &conn, const DtRtiConfigurationInfoDataPair &config, DtNameToConnInfoMap::iterator &connIter) |
| Adds an available connection to the list. | |
| virtual void | removeConnection (const DtRtiConnectionInfoDataPair &conn) |
| Removes an available connection from the list. | |
| virtual void | clearAllConnections () |
| Clears the entire connection list. | |
| virtual void | updateDisplayedConnection (const QString &name, const DtRtiConnectionInfoDataPair &updatedConn, QTreeWidgetItem *connItem) |
| Depending on the type of our current query connection, we update connItem based on updatedConn. | |
| virtual QTreeWidgetItem * | findConnInTree (const DtRtiConnectionInfo &conn, DtNameToConnInfoMap::iterator &connIter) |
| Finds the connection item in the tree. | |
| virtual void | getConnStatusText (const QTreeWidgetItem *item, const DtRtiConnectionInfoDataPair &conn, const DtRtiConfigurationInfoDataPair &, QString &text) |
| Gets the connection status text for the given connection. | |
| virtual void | loadLocalInterfaceList () |
| Reloads the list of local interfaces which can be selected for new connections. | |
| virtual bool | isKnownAssistant (const DtRtiConnectionInfo &conn) |
| Determine if this connection is an rtiexec connection on the same host as one of the known assistants. | |
| virtual bool | checkForValidAddrAndHost (const QString &addrStr, const MAKRti::DtInetAddr &ifAddr, MAKRti::DtInetAddr &addr, MAKRti::DtString &hostName) |
| Check if the string is a valid address, as well as valid for the specified interface. | |
| virtual void | setHostNameFromKnownAssistants (const MAKRti::DtInetAddr &ip, const MAKRti::DtInetAddr &interfaceAddr, MAKRti::DtString &hostName) |
| Attempts to set the host name of the connection by matching the IP address and network interface address with a known assistant. | |
| virtual bool | setReliableIpFromKnownAssistants (const MAKRti::DtString &hostName, const MAKRti::DtInetAddr &interfaceAddr, MAKRti::DtInetAddr &ip) |
| Attempts to set the reliable IP address of the connection by matching the host name and network interface address with a known assistant. | |
| virtual void | showEvent (QShowEvent *event) |
| Prepare the widget to be shown. | |
| virtual bool | promptUserForNewConnInfo (DtRtiConnectionInfoDataPair &conn) |
| Prompts the user for new connection info. | |
| virtual bool | promptUserToEditConnInfo (DtRtiConnectionInfoDataPair &conn) |
| Prompts the user to edit connection info. | |
| virtual bool | promptUserForConnInfo (DtRtiConnectionInfoDataPair &conn, const QString &dialogTitle, bool useNameOfGivenConn) |
| Prompts the user for connection info. | |
| virtual void | setAcceptEnabledBasedOnConn (const DtRtiConnectionInfoDataPair *conn) |
| Enables or disables the accept button based on the state of the given currently selected connection. | |
| virtual void | updateDialogBasedOnConn (const DtRtiConnectionInfoDataPair *conn, const DtRtiConfigurationInfoDataPair *config, bool isDisabled) |
| Updates the LRC connection query dialog specific items based on the state of the given currently selected connection and configuration. | |
Protected Member Functions inherited from DtAssistantConnQueryWidget | |
| virtual bool | addConnection (const DtRtiConnectionInfoDataPair &conn, const DtRtiConfigurationInfoDataPair &config, DtNameToConnInfoMap::iterator &connIter)=0 |
| Adds an available connection to the list. | |
| virtual void | storeUserAddedConnection (const DtRtiConnectionInfoDataPair &conn) |
| Store information on a connection that user requested to add. | |
| virtual void | storeUserRemovedConnection (const DtRtiConnectionInfoDataPair &conn) |
| Store information on a connection that user requested to remove. | |
| virtual QTreeWidgetItem * | findConnInTree (const DtRtiConnectionInfo &conn, DtNameToConnInfoMap::iterator &connIter)=0 |
| Finds the connection item in the tree. | |
| virtual void | setConnItemToolTip (QTreeWidgetItem *item, const DtRtiConnectionInfoDataPair &conn=std::make_pair(DtRtiConnectionInfo::invalidConn(), DtRtiAssociatedConnectionData()), const DtRtiConfigurationInfoDataPair &config=DtRtiConfigurationInfoDataPair()) |
| Set the tool tip for the given item. | |
| virtual void | setFullyCompliantStateBasedOnConn (const DtRtiConnectionInfoDataPair *conn, const DtRtiConfigurationInfoDataPair *config) |
| Enables or disables and sets the fully compliant check box based on the state of the given currently selected connection and configuration. | |
| virtual void | setRemoveEnabledBasedOnConn (const DtRtiConnectionInfoDataPair *conn) |
| Enables or disables the remove button based on the state of the given currently selected connection. | |
| virtual void | setEditEnabledBasedOnConn (const DtRtiConnectionInfoDataPair *conn) |
| Enables or disables the edit button based on the state of the given currently selected connection. | |
| virtual void | disableItem (QTreeWidgetItem *item, bool disable) |
| Marks the item as disabled. | |
| virtual bool | isItemDisabled (const QTreeWidgetItem *item) const |
| Returns true if the item is marked as disabled. | |
| virtual QString | reserveNameForConnection (const DtRtiConnectionInfoDataPair &conn) |
| Reserves the name for the given connection. | |
| virtual void | unreserveNameForConnection (const DtRtiConnectionInfoDataPair &conn) |
| Unreserves the given connection name. | |
| virtual void | setAcceptEnabled (bool enabled, const QString &reasonForDisable) |
| Sets whether or not accept is enabled. | |
| bool | isAddressNotation (const QString &addrString) const |
| Checks if the given string contains an address notation. | |
Protected Attributes | |
| DtAssistantInfoSet | myRemoteAssistants |
| The set of known remote assistants. | |
| DtAssistantAddLrcConnDialog * | myAddConnDialog |
| Dialog used to set information for a new connection. | |
| QTreeWidgetItem * | myLightweightItem |
| Top level item for the lightweight connection type. | |
| QTreeWidgetItem * | myRtiexecItem |
| Top level item for the rtiexec connection type. | |
| QProgressDialog * | myStartAndConnectProgressDlg |
| A dialog to display progress when starting and connecting to an rtiexec. | |
| DtRtiConnectionInfo | myPendingRtiexecConn |
| The rtiexec connection we are attempting to start and connect to. | |
Protected Attributes inherited from DtAssistantConnQueryWidget | |
| DtNameToConnInfoMap::iterator | myIter |
| Ui::AssistantConnQueryWidget | myUiImpl |
| DtNameToConnInfoMap | myConnectionInfo |
| The map of connection entries to detailed connection info. | |
| DtRtiConnectionAndConfiguration | myAddedConnections |
| Set of added connections. | |
| DtRtiConnectionAndConfiguration | myRemovedConnections |
| Set of added connections. | |
| DtNameToConnInfoMap::iterator | myPredefinedLightweightConnection |
| The predefined lightweight connection. | |
| DtNameToConnInfoMap::iterator | myPredefinedRtiexecConnection |
| The predefined rtiexec connection. | |
| DtNameToConnInfoMap::iterator | myChosenConnection |
| The connection chosen to be used without prompting. | |
| std::map< int, QString > | myProhibitedPorts |
| List of prohibited ports and reasons why. | |
| QMenu * | myContextMenu |
| Context Menu. | |
| bool | myContextMenuEnabled |
| Controls whether the context menu should be displayed on right clicks. | |
| bool | myShowStartRtiexecButton |
| Whether the start rtiexec button is displayed. | |
| bool | myUseButtonsInsteadOfCheckBox |
| Whether the radio buttons are used instead of the check box to set the selected connection to be used automatically in the future. | |
| bool | myInitialState |
| The dialog is being displayed for the first time ever and should be in its default initial state. | |
| QAction * | myAddConnectionAction |
| Context menu actions. | |
| QAction * | myRemoveConnectionAction |
| Context menu actions. | |
| QAction * | myEditConnectionAction |
| Context menu actions. | |
| QAction * | myStartRtiexecAction |
| Context menu actions. | |
| QIcon | myValidChoiceIcon |
| Icons. | |
| QIcon | myUnknownChoiceIcon |
| Icons. | |
| QIcon | myInvalidChoiceIcon |
| Icons. | |
Static Protected Attributes | |
| static const QString | theErrorText |
| Text to be displayed when there was a connection error. | |
| static const QString | theNormalText |
| Text to be displayed when there was no error. | |
| static const QString | theErrorTitle |
| Title to be displayed when there was a connection error. | |
| static const QString | theNormalTitle |
| Title to be displayed when there was no error. | |
| static const QString | theVerifiedText |
| Text descriptions for each possible connection status. | |
| static const QString | theVerifiedForwarderText |
| Text descriptions for each possible connection status. | |
| static const QString | theUnknownText |
| Text descriptions for each possible connection status. | |
| static const QString | theConflictingText |
| Text descriptions for each possible connection status. | |
| static const QString | theUnknownNetworkInterfaceText |
| Text descriptions for each possible connection status. | |
| static const QString | theNoNetworkInterfaceText |
| Text descriptions for each possible connection status. | |
| static const QString | theLightweightBranchHeaderText |
| Connection tree branch headers and tool tips. | |
| static const QString | theLightweightBranchToolTipText |
| Connection tree branch headers and tool tips. | |
| static const QString | theRtiexecBranchHeaderText |
| Connection tree branch headers and tool tips. | |
| static const QString | theRtiexecBranchToolTipText |
| Connection tree branch headers and tool tips. | |
Private Member Functions | |
| DtAssistantLrcConnQueryWidget (DtAssistantLrcConnQueryWidget const &) | |
| Copy constructor not implemented. | |
| DtAssistantLrcConnQueryWidget & | operator= (DtAssistantLrcConnQueryWidget const &) |
| Assignment operator not implemented. | |
Additional Inherited Members | |
Protected Types inherited from DtAssistantConnQueryWidget | |
| enum | DtConnQueryCol { ConnectionNameCol, StatusCol, SortCol } |
| typedef std::map< QString, DtRtiConnAndAssociatedConfig > | DtNameToConnInfoMap |
Widget used to request the user to provide new connection parameters when an LRC cannot establish a connection.
| DtAssistantLrcConnQueryWidget::DtAssistantLrcConnQueryWidget | ( | QWidget * | parent = 0, |
| Qt::WindowFlags | f = 0 |
||
| ) |
Constructor.
References connect(), DtAssistantConnQueryWidget::ConnectionNameCol, myLightweightItem, myRtiexecItem, DtAssistantConnQueryWidget::myStartRtiexecAction, DtAssistantConnQueryWidget::myUiImpl, processStartRtiexec(), DtAssistantConnQueryWidget::showStartRtiexecButton(), theLightweightBranchHeaderText, theLightweightBranchToolTipText, theRtiexecBranchHeaderText, and theRtiexecBranchToolTipText.
|
virtual |
Destructor.
|
private |
Copy constructor not implemented.
|
virtual |
Processes acceptance of the current selection, starting an rtiexec if necessary and possible.
Returns true if selection is acceptable.
References cancelStartAndConnect(), DtAssistantConnQueryWidget::checkForPortConflicts(), connect(), DtAssistantConnQueryWidget::ConnectionNameCol, DtAssistantConnQueryWidget::myConnectionInfo, myPendingRtiexecConn, myStartAndConnectProgressDlg, DtAssistantConnQueryWidget::myUiImpl, and startRtiexec().
|
protectedvirtual |
Adds an available connection to the list.
Returns true if it was successfully added and sets the iterator to location in the map of the new connection.
References DtAssistantConnQueryWidget::DtRtiConnAndAssociatedConfig::config, DtAssistantConnQueryWidget::DtRtiConnAndAssociatedConfig::conn, findConnInTree(), DtAssistantConnQueryWidget::myConnectionInfo, myLightweightItem, myRtiexecItem, DtAssistantConnQueryWidget::reserveNameForConnection(), and updateDisplayedConnection().
|
virtual |
Adds an assistant to the list of known remote assistants.
References myRemoteAssistants.
Referenced by DtAssistantConnQueryMgr::DtAssistantConnQueryMgr(), and DtAssistantConnQueryMgr::processAssistantFound().
|
slot |
Processes a cancel from progress dialog for starting and connecting to an rtiexec.
References DtRtiConnectionInfo::invalidConn(), myPendingRtiexecConn, and myStartAndConnectProgressDlg.
Referenced by acceptCurrentSelection().
|
protectedvirtual |
Check if the string is a valid address, as well as valid for the specified interface.
Return the constructed DtInetAddr and the host name of the machine if it can be determined.
References DtGetLocalHostName(), DtAssistantConnQueryWidget::isAddressNotation(), setHostNameFromKnownAssistants(), and setReliableIpFromKnownAssistants().
Referenced by promptUserForConnInfo().
|
protectedvirtual |
Clears the entire connection list.
Implements DtAssistantConnQueryWidget.
Reimplemented in DtAssistantConnConfigWidget.
References DtAssistantConnQueryWidget::myChosenConnection, DtAssistantConnQueryWidget::myConnectionInfo, myLightweightItem, DtAssistantConnQueryWidget::myPredefinedLightweightConnection, DtAssistantConnQueryWidget::myPredefinedRtiexecConnection, and myRtiexecItem.
|
virtual |
Set the variation of widget text based on whether or not it is being displayed due to an error.
References DtAssistantConnQueryWidget::myUiImpl, theErrorText, theErrorTitle, theNormalText, theNormalTitle, and updateWindowTitle().
Referenced by DtAssistantConnQueryMgr::processConnQueryMsg().
|
protectedvirtual |
Finds the connection item in the tree.
Returns a pointer to the tree item as well as an iterator to its location in the map.
References DtAssistantConnQueryWidget::ConnectionNameCol, DtAssistantConnQueryWidget::myConnectionInfo, myLightweightItem, myRtiexecItem, and DtRtiConnectionInfo::useRtiexec().
Referenced by addConnection(), and removeConnection().
|
protectedvirtual |
Gets the connection status text for the given connection.
Implements DtAssistantConnQueryWidget.
References DtRtiAssociatedConnectionData::DtConnectionConflicting, DtRtiAssociatedConnectionData::DtConnectionForwarderVerified, DtRtiAssociatedConnectionData::DtConnectionVerified, DtAssistantConnQueryWidget::isItemDisabled(), theConflictingText, theNoNetworkInterfaceText, theUnknownNetworkInterfaceText, theUnknownText, theVerifiedForwarderText, and theVerifiedText.
|
protectedvirtual |
Determine if this connection is an rtiexec connection on the same host as one of the known assistants.
References DtAssistantInfo::findMatchingHostInfo(), DtRtiConnectionInfo::hostName(), myRemoteAssistants, DtRtiConnectionInfo::networkInterfaceAddr(), and DtRtiConnectionInfo::reliableIp().
Referenced by updateDialogBasedOnConn().
|
virtual |
References myRemoteAssistants.
|
protectedvirtual |
Reloads the list of local interfaces which can be selected for new connections.
Implements DtAssistantConnQueryWidget.
References DtAssistantConnQueryWidget::ConnectionNameCol, DtAssistantConnQueryWidget::disableItem(), DtRtiConnectionInfo::invalidConn(), DtRtiConnectionInfo::localIpAddresses(), myAddConnDialog, DtAssistantConnQueryWidget::myAddConnectionAction, DtAssistantConnQueryWidget::myConnectionInfo, myLightweightItem, myRtiexecItem, DtAssistantConnQueryWidget::myUiImpl, DtRtiConnectionInfo::networkInterfaceAddr(), DtAssistantAddLrcConnDialog::setNetworkInterfaceAddrs(), and updateDisplayedConnection().
Referenced by promptUserForConnInfo(), and showEvent().
|
private |
Assignment operator not implemented.
|
slot |
Processes the pressing of the start rtiexec button by the user.
References DtAssistantConnQueryWidget::checkForPortConflicts(), DtAssistantConnQueryWidget::ConnectionNameCol, DtAssistantConnQueryWidget::myConnectionInfo, DtAssistantConnQueryWidget::myUiImpl, and startRtiexec().
Referenced by DtAssistantLrcConnQueryWidget().
|
protectedvirtual |
Prompts the user for connection info.
References DtAssistantConnQueryWidget::checkForPortConflicts(), DtAssistantConnQueryWidget::checkForValidAddr(), checkForValidAddrAndHost(), DtAssistantConnQueryWidget::ConnectionNameCol, DtRtiConnectionInfo::defaultBestEffortIp(), DtRtiConnectionInfo::defaultForwarderPort(), DtRtiConnectionInfo::defaultHostName(), DtRtiConnectionInfo::defaultLightweightPort(), DtRtiConnectionInfo::defaultNetworkInterfaceAddr(), DtRtiConnectionInfo::defaultReliableIp(), DtRtiConnectionInfo::defaultRtiexecPort(), DtGetLocalHostName(), DtRtiAssociatedConnectionData::DtUnknownState, DtAssistantAddLrcConnDialog::getData(), loadLocalInterfaceList(), myAddConnDialog, DtAssistantConnQueryWidget::myPredefinedLightweightConnection, myRemoteAssistants, DtAssistantConnQueryWidget::myUiImpl, DtAssistantAddLrcConnDialog::setAvailableHosts(), DtAssistantAddLrcConnDialog::setData(), DtAssistantAddLrcConnDialog::setName(), and theLightweightBranchHeaderText.
Referenced by promptUserForNewConnInfo(), and promptUserToEditConnInfo().
|
protectedvirtual |
Prompts the user for new connection info.
Implements DtAssistantConnQueryWidget.
References promptUserForConnInfo().
|
protectedvirtual |
Prompts the user to edit connection info.
Implements DtAssistantConnQueryWidget.
References promptUserForConnInfo().
|
protectedvirtual |
Removes an available connection from the list.
The list of available connections should be set prior to every execution of the widget.
Implements DtAssistantConnQueryWidget.
References findConnInTree(), DtAssistantConnQueryWidget::myChosenConnection, DtAssistantConnQueryWidget::myConnectionInfo, myLightweightItem, DtAssistantConnQueryWidget::myPredefinedLightweightConnection, DtAssistantConnQueryWidget::myPredefinedRtiexecConnection, myRtiexecItem, and DtAssistantConnQueryWidget::unreserveNameForConnection().
|
virtual |
Removes an assistant to the list of known remote assistants.
References myRemoteAssistants.
Referenced by DtAssistantConnQueryMgr::processAssistantLost().
|
signal |
Signal emitted when we think we may want to enable the "Start rtiexec" option, but need to be told if its ok (could be disabled by remote assistant for this connection)
Referenced by updateDialogBasedOnConn().
|
protectedvirtual |
Enables or disables the accept button based on the state of the given currently selected connection.
Implements DtAssistantConnQueryWidget.
References DtAssistantConnQueryWidget::setAcceptEnabled().
|
protectedvirtual |
Attempts to set the host name of the connection by matching the IP address and network interface address with a known assistant.
Will set the host name to a null string if it could not be determined.
References DtAssistantInfo::findMatchingHostInfo(), and myRemoteAssistants.
Referenced by checkForValidAddrAndHost().
|
protectedvirtual |
Attempts to set the reliable IP address of the connection by matching the host name and network interface address with a known assistant.
Will set and return false if the IP to the invalid value if it could not be determined.
References DtAssistantInfo::findMatchingHostInfo(), and myRemoteAssistants.
Referenced by checkForValidAddrAndHost().
|
virtual |
Sets whether or not the "Start rtiexec" button is enabled.
If button is to be disabled, reason will be used as a tool tip for the user.
References DtAssistantConnQueryWidget::myStartRtiexecAction, and DtAssistantConnQueryWidget::myUiImpl.
Referenced by DtAssistantConnQueryMgr::setStartRtiexecEnableBasedOnConn(), and updateDialogBasedOnConn().
|
protectedvirtual |
Prepare the widget to be shown.
Reimplemented in DtAssistantConnConfigWidget.
References DtAssistantConnQueryWidget::clearUserAddedAndRemoved(), DtAssistantConnQueryWidget::ConnectionNameCol, loadLocalInterfaceList(), DtAssistantConnQueryWidget::myChosenConnection, DtAssistantConnQueryWidget::myConnectionInfo, DtAssistantConnQueryWidget::myInitialState, myLightweightItem, DtAssistantConnQueryWidget::myPredefinedLightweightConnection, DtAssistantConnQueryWidget::myPredefinedRtiexecConnection, myRtiexecItem, DtAssistantConnQueryWidget::myUiImpl, DtAssistantConnQueryWidget::selectConnection(), and DtAssistantConnQueryWidget::SortCol.
|
signal |
Signal emitted when user chooses to start an rtiexec.
Referenced by acceptCurrentSelection(), and processStartRtiexec().
|
protectedvirtual |
Updates the LRC connection query dialog specific items based on the state of the given currently selected connection and configuration.
Reimplemented from DtAssistantConnQueryWidget.
References isKnownAssistant(), requestStartRtiexecEnable(), and setStartRtiexecEnabled().
|
protectedvirtual |
Depending on the type of our current query connection, we update connItem based on updatedConn.
Implements DtAssistantConnQueryWidget.
Reimplemented in DtAssistantConnConfigWidget.
References DtAssistantConnQueryWidget::ConnectionNameCol, DtRtiAssociatedConnectionData::DtConnectionForwarderVerified, DtRtiAssociatedConnectionData::DtConnectionVerified, DtRtiAssociatedConnectionData::DtUnknownState, DtRtiConnectionInfo::invalidConn(), DtAssistantConnQueryWidget::isItemDisabled(), DtAssistantConnQueryWidget::myInvalidChoiceIcon, myPendingRtiexecConn, myStartAndConnectProgressDlg, DtAssistantConnQueryWidget::myUiImpl, DtAssistantConnQueryWidget::myUnknownChoiceIcon, DtAssistantConnQueryWidget::myValidChoiceIcon, DtAssistantConnQueryWidget::reselectConnection(), DtAssistantConnQueryWidget::selectionAccepted(), DtAssistantConnQueryWidget::setConnItemToolTip(), and DtAssistantConnQueryWidget::SortCol.
Referenced by addConnection(), and loadLocalInterfaceList().
|
signal |
Signal emitted when the window title should be changed.
Referenced by displayErrorText().
|
protected |
Dialog used to set information for a new connection.
Referenced by loadLocalInterfaceList(), and promptUserForConnInfo().
|
protected |
Top level item for the lightweight connection type.
Referenced by addConnection(), clearAllConnections(), DtAssistantLrcConnQueryWidget(), findConnInTree(), loadLocalInterfaceList(), removeConnection(), and showEvent().
|
protected |
The rtiexec connection we are attempting to start and connect to.
Referenced by acceptCurrentSelection(), cancelStartAndConnect(), and updateDisplayedConnection().
|
protected |
The set of known remote assistants.
Referenced by addKnownAssistant(), isKnownAssistant(), knownAssistants(), promptUserForConnInfo(), removeKnownAssistant(), setHostNameFromKnownAssistants(), and setReliableIpFromKnownAssistants().
|
protected |
Top level item for the rtiexec connection type.
Referenced by addConnection(), clearAllConnections(), DtAssistantLrcConnQueryWidget(), findConnInTree(), loadLocalInterfaceList(), removeConnection(), and showEvent().
|
protected |
A dialog to display progress when starting and connecting to an rtiexec.
Referenced by acceptCurrentSelection(), cancelStartAndConnect(), and updateDisplayedConnection().
|
staticprotected |
Text descriptions for each possible connection status.
Referenced by getConnStatusText(), and DtAssistantConnConfigWidget::updateDisplayedConnection().
|
staticprotected |
Text to be displayed when there was a connection error.
Referenced by displayErrorText().
|
staticprotected |
Title to be displayed when there was a connection error.
Referenced by displayErrorText().
|
staticprotected |
Connection tree branch headers and tool tips.
Referenced by DtAssistantLrcConnQueryWidget(), and promptUserForConnInfo().
|
staticprotected |
Connection tree branch headers and tool tips.
Referenced by DtAssistantLrcConnQueryWidget().
|
staticprotected |
Text descriptions for each possible connection status.
Referenced by getConnStatusText().
|
staticprotected |
Text to be displayed when there was no error.
Referenced by displayErrorText().
|
staticprotected |
Title to be displayed when there was no error.
Referenced by displayErrorText().
|
staticprotected |
Connection tree branch headers and tool tips.
Referenced by DtAssistantLrcConnQueryWidget().
|
staticprotected |
Connection tree branch headers and tool tips.
Referenced by DtAssistantLrcConnQueryWidget().
|
staticprotected |
Text descriptions for each possible connection status.
Referenced by getConnStatusText(), and DtAssistantConnConfigWidget::updateDisplayedConnection().
|
staticprotected |
Text descriptions for each possible connection status.
Referenced by getConnStatusText(), and DtAssistantConnConfigWidget::updateDisplayedConnection().
|
staticprotected |
Text descriptions for each possible connection status.
Referenced by getConnStatusText(), and DtAssistantConnConfigWidget::updateDisplayedConnection().
|
staticprotected |
Text descriptions for each possible connection status.
Referenced by getConnStatusText(), and DtAssistantConnConfigWidget::updateDisplayedConnection().