![]() |
MAK RTIspy API Documentation for HLA Evolved
|
Inheritance diagram for DtFederateTree:
Collaboration diagram for DtFederateTree:Classes | |
| class | DtFederateTreeColDescr |
| Structure for column description strings. More... | |
Public Slots | |
| void | showColumns () |
| Updates which columns are shown or hidden. | |
| void | setAllColumns (const std::map< QString, std::pair< int, bool > > &columns) |
| Set the columns that are currently shown. | |
| void | allColumns (std::map< QString, std::pair< int, bool > > &columns) |
| Get the columns and their position / visible value (cols in emptied and populated). | |
| void | showColCustomizeDlg () |
| Displays the column view customize dialog. | |
| void | deleteSelectedFed () |
| Emits the fedDeleteRequest signal for the selected federate. | |
| void | destroySelectedFederations () |
| For each federation selected, resign the federates then emit federationDelete. | |
| void | updateEnableNetworkTestingForSelectedFederations () |
| For each federation selected, enables or disables testing. | |
| void | openFedWebSpy () |
| Emits the openFedWebSpyRequest signal for the selected federate. | |
| void | showLatencyTest () |
| Emits the showFedLatencyTest signal for the selected federate. | |
| void | clearAllDefunctFederates () |
| Clears all defunct federates. | |
| bool | hasValidFederates () const |
| returns whether any federates are valid. | |
| void | clearCurrDefunctFederates () |
| Clear only the currently selected defunct federates. | |
| void | refreshMenus () |
| Refresh the currently available menu options. | |
| void | signalSelectionChange () |
| Determines what the new selection is and emits the appropriate signal. | |
| void | showContextMenu (const QPoint &) |
| Shows the context menu at the given position. | |
Signals | |
| void | fedDeleteRequest (int, const QString &) |
| void | federationDeleteRequest (const QString &fedexName) |
| void | openFedWebSpyRequest (const QString &, int) |
| void | enableNetworkTestingRequest (const QString &) |
| void | disableNetworkTestingRequest (const QString &) |
| void | showFedLatencyTest (const QString &, int) |
| void | federateSelected (const MAKRti::DtString &federation, int federateHandle) |
| Emitted when a single federate is selected. | |
| void | federationSelected (const MAKRti::DtString &name) |
| Emitted when a single federation is selected. | |
| void | nothingSelected () |
| Emitted when selection is cleared. | |
| void | multipleItemsSelected () |
| Emitted when multiple items are selected. | |
| void | defunctFederateRemoved (const MAKRti::DtString &federation, int federateHandle) |
| Emitted when a defunct federate must be removed. | |
Public Member Functions | |
| DtFederateTree (QWidget *parent) | |
| virtual | ~DtFederateTree () |
| virtual QSize | sizeHint () const |
| Returns the recommended size for the widget. | |
| virtual void | hideEvent (QHideEvent *event) |
| Override hideEvent to store the size of the dialog when it is hidden. | |
| virtual bool | updateFederation (const DtAssistantFederationInfo *federation, const DtAssistantForwarderInfo *forwarderInfo) |
| Updates or adds a federation to the tree. | |
| virtual bool | removeFederation (const QString &name) |
| Removes the federation with the given name from the tree. | |
| virtual void | removeAllFederations () |
| Removes all of the federations from the tree. | |
| virtual void | updateFederationColor (const MAKRti::DtString &federationName, const QColor &color) |
| Set the color of the specified federation. | |
| virtual bool | updateFederate (const DtAssistantFederateInfo &federate, const DtAssistantForwarderInfo *forwarderInfo, const QString &fedexName) |
| Updates or adds a federate to an existing federation in the tree. | |
| virtual bool | removeFederate (int federateHandle, const QString &fedexName, bool clearedDefunct=false) |
| Removes a federate from an existing federation in the tree. | |
| virtual void | displayLoadingIndication () |
| Displays a message that the current federation information is loading. | |
| virtual void | removeLoadingIndication () |
| Removes the loading indication messages. | |
| bool | isFederateValid (int federateHandle, const QString &fedexName) const |
| Is this federate valid? | |
| void | processInvalidList () |
| Process the list of Invalid federates for automatic removal. | |
| QMenu * | columnViewMenu () |
| Returns a pointer to the menu which allows users to hide/display any columns in the tree. | |
| QMenu * | federateMenu () |
| Returns a pointer to the menu which allows users to perform actions related to the currently selected federates. | |
| QMenu * | federationMenu () |
| Returns a pointer to the menu which allows users to perform actions related to the current selected federations. | |
| void | setFederateRemovalTime (float newTime) |
| Change the time after which a federate that fails to reconnect will be removed from the rtiexec federate tree. | |
| float | getFederateRemovalTime () const |
| Get the time for the federate removal. | |
| void | enableDeletion (bool enable) |
| Enables or disables federate and federation deletion options. | |
| QString | getTreeFederationName (const MAKRti::DtString &federationName) |
| Get the federation name the tree uses ( with the handle ) | |
| void | forceFederateSelection (int federateHandle, const MAKRti::DtString &federation) |
| Forces selection of the specified federate. | |
| void | forceFederationSelection (const MAKRti::DtString &federation) |
| Forces selection of the specified federation. | |
| void | forceClearSelection () |
| Forces the selection to be cleared. | |
| void | saveGuiConfiguration (const MAKRti::DtFilename &configFile) |
| Saves the GUI configuration to the given file. | |
| void | loadGuiConfiguration (const MAKRti::DtFilename &configFile) |
| Loads the GUI configuration from the given file. | |
| QAction * | statisticsAction () |
| Returns a pointer to the specific action from the federate menu. | |
| QAction * | latencyTestAction () |
| Returns a pointer to the specific action from the federate menu. | |
| QAction * | federateRidParamAction () |
| Returns a pointer to the specific action from the federate menu. | |
| QAction * | federateFomAction () |
| Returns a pointer to the specific action from the federate menu. | |
| QAction * | federateLogAction () |
| Returns a pointer to the specific action from the federate menu. | |
| QAction * | changeFederateIconAction () |
| Returns a pointer to the specific action from the federate menu. | |
| QAction * | resignFederateAction () |
| Returns a pointer to the specific action from the federate menu. | |
| QAction * | federationFomAction () |
| Returns a pointer to the specific action from the federate menu. | |
| QAction * | syncPointsAction () |
| Returns a pointer to the specific action from the federate menu. | |
| QAction * | destroyFederationAction () |
| Returns a pointer to the specific action from the federate menu. | |
Static Public Attributes | |
| static const QString | theLoadingText = tr("Loading...") |
| The message that indicates information is being loaded. | |
| static const QString | theRegulatingEnabledToolTip |
| Tool tip strings. | |
| static const QString | theRegulatingDisabledToolTip |
| Tool tip strings. | |
| static const QString | theConstrainedEnabledToolTip |
| Tool tip strings. | |
| static const QString | theConstrainedDisabledToolTip |
| Tool tip strings. | |
| static const QString | theTestCapableEnabledToolTip |
| Tool tip strings. | |
| static const QString | theTestCapableDisabledToolTip |
| Tool tip strings. | |
| static const QString | theNoTestToolTip |
| Tool tip strings. | |
| static const QString | theContinuousTestToolTip |
| Tool tip strings. | |
| static const QString | theSingleTestToolTip |
| Tool tip strings. | |
| static const QString | theFederateLogEnabledText |
| Tool tip strings. | |
| static const QString | theFederateLogDisabledText |
| Tool tip strings. | |
Protected Member Functions | |
| virtual void | updateFederateItems (const DtFederateInfoByHandleMap &federates, const DtAssistantForwarderInfo *forwarderInfo, QTreeWidgetItem *fedexItem) |
| Updates the federate items for the given federation item. | |
| virtual void | updateFederateItem (const DtAssistantFederateInfo &federate, const DtAssistantForwarderInfo *forwarderInfo, const QString &fedexName, QTreeWidgetItem *fedItem) |
| Updates the federate item with the given information. | |
| virtual void | updateFederateItemFromForwarderInformation (const DtAssistantFederateInfo &federate, const DtAssistantForwarderInfo *forwarderInfo, const QString &fedexName, QTreeWidgetItem *fedItem) |
| Updates the federate item with forwarder information. | |
| virtual void | removeAllFederateItems (QTreeWidgetItem *fedexItem) |
| Removes all of federate items from the given federation item. | |
| virtual void | removeFederateItem (QTreeWidgetItem *fedItem, QTreeWidgetItem *fedexItem, bool clearedDefunct=false) |
| Removes and deletes the given federate item from the given federation item. | |
| bool | isFederateValid (QTreeWidgetItem *item) const |
| Is the federate represented by this QTreeWidgetItem valid. | |
| bool | isFederateLocal (QTreeWidgetItem *item) const |
| Is the federate represented by this QTreeWidgetItem locally hosted. | |
| bool | isFederateLightweight (QTreeWidgetItem *item) const |
| Is the federate represented by this QTreeWidgetItem using a lightweight connection. | |
| bool | isFederationLightweight (QTreeWidgetItem *item) const |
| Is the federation represented by this QTreeWidgetItem using a lightweight connection. | |
Protected Attributes | |
| std::vector < DtFederateTreeColDescr > | myColumnDescrs |
| List of descriptions for each column. | |
| QMenu * | myColViewMenu |
| Column view menu. | |
| std::vector< QAction * > | myColDispActions |
| Column view actions. | |
| QAction * | myColCustomizeAction |
| QMenu * | myContextMenu |
| Context Menu. | |
| QMenu * | myFederateMenu |
| QMenu * | myFederationMenu |
| std::map< QString, QString > | myFederationNamesToItemNames |
| Map of federation names to the names used in the tree. | |
| std::map< QString, QString > | myItemNamesToFederationNames |
| Map of federation names to the names used in the tree. | |
| std::map< QTreeWidgetItem *, std::pair< MAKRti::DtTime, std::pair< QString, int > > > | myDefunctFederateTreeWidgets |
| Items are added to myDefunctFederateTreeWidgets when their socket breaks. | |
| std::map< QTreeWidgetItem *, std::pair< QString, int > > | myReconnectingFederates |
| Federates that are currently attempting to reconnect. | |
| std::map< QTreeWidgetItem *, std::pair< QString, int > > | myReconnectedFederates |
| Federates that have successfully reconnected. | |
| std::set< std::pair< QString, int > > | myClearedDefunctFederates |
| Defunct federates that have been cleared from the display. | |
| std::set< QTreeWidgetItem * > | myTestDisabledFederations |
| Federations that have testing disabled. | |
| std::map< MAKRti::DtString, QColor > | myFederationColors |
| Map of federation names to their colors. | |
| float | myFederateRemovalTime |
| Time after which defunct federates will automatically be removed from the tree. | |
| QTreeWidgetItem * | myLoadingIndicationItem |
| Item that indicates federation information is currently being loaded. | |
| bool | myDeletionEnabled |
| Indicates whether or not federate and federation deletion is enabled. | |
| MAKRti::DtClock | myTimer |
| QSize | myLastVisibleSize |
| The size of the dialog the last time it was visible. | |
| QAction * | myStatisticsAction |
| Federate menu actions. | |
| QAction * | myLatencyTestAction |
| Federate menu actions. | |
| QAction * | myFederateRidParametersAction |
| Federate menu actions. | |
| QAction * | myFederateFomAction |
| Federate menu actions. | |
| QAction * | myFederateLogAction |
| Federate menu actions. | |
| QAction * | myChangeFederateIconAction |
| Federate menu actions. | |
| QAction * | myResignFederateAction |
| Federate menu actions. | |
| QAction * | myClearCurrDefunctFederate |
| Federate menu actions. | |
| QAction * | myFederationFomAction |
| Federation menu actions. | |
| QAction * | myDisplaySyncPointsAction |
| Federation menu actions. | |
| QAction * | myEnableNetworkTestingAction |
| Federation menu actions. | |
| QAction * | myDestroyFederationAction |
| Federation menu actions. | |
| QAction * | myClearAllDeadFederates |
| Federation menu actions. | |
| QIcon | myCheckIcon |
| Icons to be used in the federate tree. | |
| QIcon | myNoCheckIcon |
| Icons to be used in the federate tree. | |
| QIcon | myContTestIcon |
| Icons to be used in the federate tree. | |
| QIcon | mySingleTestIcon |
| Icons to be used in the federate tree. | |
| QIcon | myYellowAttention |
| Icons to be used in the federate tree. | |
| QIcon | myRedAttention |
| Icons to be used in the federate tree. | |
| QIcon | myWorldWideWeb |
| Icons to be used in the federate tree. | |
| QIcon | myTestIcon |
| Icons to be used in the federate tree. | |
| QIcon | myDroppedIcon |
| The dropped Icon. | |
Static Protected Attributes | |
| static const int | FederateNameRole = Qt::UserRole |
| static const int | FederateHandleRole = DtFederateTree::FederateNameRole+1 |
| static const int | TestEnableRole = DtFederateTree::FederateHandleRole+1 |
| static const int | IsLocalRole = DtFederateTree::TestEnableRole+1 |
| static const int | IsLightweightRole = DtFederateTree::IsLocalRole+1 |
| static const int | theLastColDefaultedOn = FederatePIDIndex |
| The number of the last column which is displayed by default the first time the dialog is shown. | |
Private Member Functions | |
| DtFederateTree (DtFederateTree const &) | |
| Copy constructor not implemented – Copy not allowed! | |
| DtFederateTree & | operator= (DtFederateTree const &) |
| Assignment operator not implemented – Assignment not allowed! | |
| DtFederateTree::DtFederateTree | ( | QWidget * | parent | ) |
References clearAllDefunctFederates(), clearCurrDefunctFederates(), connect(), ConstrainedStateIndex, CurrentTimeIndex, deleteSelectedFed(), destroySelectedFederations(), FederateCommandArgsIndex, FederateHostNameIndex, FederateIPIndex, FederateNameIndex, FederatePIDIndex, FederateProcessIndex, FederateQueueStatusIndex, FederateTypeAndHandleIndex, FederationNameIndex, DtIconAndTextureManager::getIcon(), DtIconAndTextureManager::getInstance(), HlaVersionIndex, LbtsIndex, LookAheadIndex, myChangeFederateIconAction, myCheckIcon, myClearAllDeadFederates, myClearCurrDefunctFederate, myColCustomizeAction, myColDispActions, myColumnDescrs, myColViewMenu, myContextMenu, myContTestIcon, myDestroyFederationAction, myDisplaySyncPointsAction, myDroppedIcon, myEnableNetworkTestingAction, myFederateFomAction, myFederateLogAction, myFederateMenu, myFederateRidParametersAction, myFederationFomAction, myFederationMenu, myLatencyTestAction, myLoadingIndicationItem, myRedAttention, myResignFederateAction, mySingleTestIcon, myStatisticsAction, myTestIcon, myTimer, myWorldWideWeb, myYellowAttention, NumFederateTreeCols, refreshMenus(), RegulatingStateIndex, showColCustomizeDlg(), showColumns(), showContextMenu(), showLatencyTest(), signalSelectionChange(), TestCountIndex, TestStatusIndex, theLastColDefaultedOn, theLoadingText, and updateEnableNetworkTestingForSelectedFederations().
|
virtual |
References myLoadingIndicationItem.
|
private |
Copy constructor not implemented – Copy not allowed!
|
slot |
Get the columns and their position / visible value (cols in emptied and populated).
References myColDispActions.
|
inline |
Returns a pointer to the specific action from the federate menu.
Referenced by DtFederationsViewDialog::setupMenus().
|
slot |
Clears all defunct federates.
References defunctFederateRemoved(), myClearAllDeadFederates, myDefunctFederateTreeWidgets, myFederationMenu, and removeFederate().
Referenced by DtFederateTree().
|
slot |
Clear only the currently selected defunct federates.
References defunctFederateRemoved(), FederateHandleRole, FederateTypeAndHandleIndex, FederationNameIndex, myDefunctFederateTreeWidgets, myItemNamesToFederationNames, removeFederate(), and true.
Referenced by DtFederateTree().
|
inline |
Returns a pointer to the menu which allows users to hide/display any columns in the tree.
Referenced by DtFederationsViewDialog::setupMenus().
|
signal |
Emitted when a defunct federate must be removed.
Referenced by clearAllDefunctFederates(), clearCurrDefunctFederates(), and processInvalidList().
|
slot |
Emits the fedDeleteRequest signal for the selected federate.
References fedDeleteRequest(), FederateHandleRole, FederateTypeAndHandleIndex, FederationNameIndex, isFederateValid(), and myItemNamesToFederationNames.
Referenced by DtFederateTree().
|
inline |
Returns a pointer to the specific action from the federate menu.
Referenced by DtFederationsViewDialog::setupMenus().
|
slot |
For each federation selected, resign the federates then emit federationDelete.
References fedDeleteRequest(), FederateHandleRole, FederateTypeAndHandleIndex, federationDeleteRequest(), FederationNameIndex, and myItemNamesToFederationNames.
Referenced by DtFederateTree().
|
signal |
Referenced by updateEnableNetworkTestingForSelectedFederations().
|
virtual |
Displays a message that the current federation information is loading.
References myLoadingIndicationItem, and removeAllFederations().
Referenced by DtFederationsViewDialog::displayLoadingIndication().
| void DtFederateTree::enableDeletion | ( | bool | enable | ) |
Enables or disables federate and federation deletion options.
References myDeletionEnabled, and refreshMenus().
|
signal |
Referenced by updateEnableNetworkTestingForSelectedFederations().
|
signal |
Referenced by deleteSelectedFed(), and destroySelectedFederations().
|
inline |
Returns a pointer to the specific action from the federate menu.
Referenced by DtFederationsViewDialog::setupMenus().
|
inline |
Returns a pointer to the specific action from the federate menu.
Referenced by DtFederationsViewDialog::setupMenus().
|
inline |
Returns a pointer to the menu which allows users to perform actions related to the currently selected federates.
Referenced by DtFederationsViewDialog::setupMenus().
|
inline |
Returns a pointer to the specific action from the federate menu.
Referenced by DtFederationsViewDialog::setupMenus().
|
signal |
Emitted when a single federate is selected.
Referenced by signalSelectionChange().
|
signal |
Referenced by destroySelectedFederations().
|
inline |
Returns a pointer to the specific action from the federate menu.
Referenced by DtFederationsViewDialog::setupMenus().
|
inline |
Returns a pointer to the menu which allows users to perform actions related to the current selected federations.
Referenced by DtFederationsViewDialog::setupMenus().
|
signal |
Emitted when a single federation is selected.
Referenced by signalSelectionChange().
| void DtFederateTree::forceClearSelection | ( | ) |
Forces the selection to be cleared.
Referenced by DtFederationsViewDialog::clearSelection(), DtFederationsViewDialog::selectForwarder(), DtFederationsViewDialog::selectLightweight(), DtFederationsViewDialog::selectPeerForwarder(), DtFederationsViewDialog::selectRtiexec(), and DtFederationsViewDialog::showForwarderInfo().
| void DtFederateTree::forceFederateSelection | ( | int | federateHandle, |
| const MAKRti::DtString & | federation | ||
| ) |
Forces selection of the specified federate.
References FederateHandleRole, FederateTypeAndHandleIndex, and myFederationNamesToItemNames.
Referenced by DtFederationsViewDialog::selectDeadFederate(), and DtFederationsViewDialog::selectFederate().
| void DtFederateTree::forceFederationSelection | ( | const MAKRti::DtString & | federation | ) |
Forces selection of the specified federation.
References myFederationNamesToItemNames.
| float DtFederateTree::getFederateRemovalTime | ( | ) | const |
Get the time for the federate removal.
References myFederateRemovalTime.
| QString DtFederateTree::getTreeFederationName | ( | const MAKRti::DtString & | federationName | ) |
Get the federation name the tree uses ( with the handle )
References myFederationNamesToItemNames.
Referenced by DtFederationsViewDialog::removeFederation().
|
slot |
returns whether any federates are valid.
References isFederateValid().
|
virtual |
Override hideEvent to store the size of the dialog when it is hidden.
References myLastVisibleSize.
|
protected |
Is the federate represented by this QTreeWidgetItem using a lightweight connection.
References isFederationLightweight().
Referenced by refreshMenus().
|
protected |
Is the federate represented by this QTreeWidgetItem locally hosted.
References FederateHostNameIndex, and IsLocalRole.
Referenced by refreshMenus().
| bool DtFederateTree::isFederateValid | ( | int | federateHandle, |
| const QString & | fedexName | ||
| ) | const |
Is this federate valid?
References FederateHandleRole, FederateTypeAndHandleIndex, and myFederationNamesToItemNames.
Referenced by deleteSelectedFed(), hasValidFederates(), refreshMenus(), and signalSelectionChange().
|
protected |
Is the federate represented by this QTreeWidgetItem valid.
References myDefunctFederateTreeWidgets, and myReconnectingFederates.
|
protected |
Is the federation represented by this QTreeWidgetItem using a lightweight connection.
References FederationNameIndex, and IsLightweightRole.
Referenced by isFederateLightweight(), and refreshMenus().
|
inline |
Returns a pointer to the specific action from the federate menu.
Referenced by DtFederationsViewDialog::setupMenus().
| void DtFederateTree::loadGuiConfiguration | ( | const MAKRti::DtFilename & | configFile | ) |
Loads the GUI configuration from the given file.
References myColDispActions, and showColumns().
Referenced by DtFederationsViewDialog::loadGuiConfiguration().
|
signal |
Emitted when multiple items are selected.
Referenced by signalSelectionChange().
|
signal |
Emitted when selection is cleared.
Referenced by signalSelectionChange().
|
slot |
Emits the openFedWebSpyRequest signal for the selected federate.
|
signal |
|
private |
Assignment operator not implemented – Assignment not allowed!
| void DtFederateTree::processInvalidList | ( | ) |
Process the list of Invalid federates for automatic removal.
References defunctFederateRemoved(), myClearAllDeadFederates, myDefunctFederateTreeWidgets, myFederateRemovalTime, myFederationMenu, myTimer, and removeFederate().
Referenced by DtFederationsViewDialog::tick().
|
slot |
Refresh the currently available menu options.
References isFederateLightweight(), isFederateLocal(), isFederateValid(), isFederationLightweight(), myChangeFederateIconAction, myClearCurrDefunctFederate, myContextMenu, myDeletionEnabled, myDestroyFederationAction, myDisplaySyncPointsAction, myEnableNetworkTestingAction, myFederateFomAction, myFederateLogAction, myFederateMenu, myFederateRidParametersAction, myFederationFomAction, myFederationMenu, myLatencyTestAction, myResignFederateAction, myStatisticsAction, myTestDisabledFederations, TestEnableRole, TestStatusIndex, theFederateLogDisabledText, and theFederateLogEnabledText.
Referenced by DtFederateTree(), enableDeletion(), removeAllFederations(), removeFederate(), removeFederation(), showContextMenu(), updateFederate(), and updateFederation().
|
protectedvirtual |
Removes all of federate items from the given federation item.
References removeFederateItem().
Referenced by removeAllFederations(), and removeFederation().
|
virtual |
Removes all of the federations from the tree.
References myFederationColors, myFederationNamesToItemNames, myItemNamesToFederationNames, refreshMenus(), removeAllFederateItems(), and removeLoadingIndication().
Referenced by displayLoadingIndication(), and DtFederationsViewDialog::removeAllFederations().
|
virtual |
Removes a federate from an existing federation in the tree.
Returns true if successful. If clearedDefunct flag is true, the federate item will not be removed, but instead be placed in the list of cleared defunct federates.
References FederateHandleRole, FederateTypeAndHandleIndex, myFederationNamesToItemNames, refreshMenus(), and removeFederateItem().
Referenced by clearAllDefunctFederates(), clearCurrDefunctFederates(), processInvalidList(), and DtFederationsViewDialog::removeFederate().
|
protectedvirtual |
Removes and deletes the given federate item from the given federation item.
The item will be added to the list of cleared defunct federates if the clearedDefunct flag is true.
References FederateHandleRole, FederateTypeAndHandleIndex, FederationNameIndex, myClearedDefunctFederates, myItemNamesToFederationNames, myReconnectedFederates, and myReconnectingFederates.
Referenced by removeAllFederateItems(), removeFederate(), and updateFederateItems().
|
virtual |
Removes the federation with the given name from the tree.
Returns true if successful.
References myFederationColors, myFederationNamesToItemNames, myItemNamesToFederationNames, refreshMenus(), and removeAllFederateItems().
Referenced by DtFederationsViewDialog::removeFederation().
|
virtual |
Removes the loading indication messages.
References myLoadingIndicationItem.
Referenced by removeAllFederations(), DtFederationsViewDialog::removeLoadingIndication(), and updateFederation().
|
inline |
Returns a pointer to the specific action from the federate menu.
Referenced by DtFederationsViewDialog::setupMenus().
| void DtFederateTree::saveGuiConfiguration | ( | const MAKRti::DtFilename & | configFile | ) |
Saves the GUI configuration to the given file.
Referenced by DtFederationsViewDialog::saveGuiConfiguration().
|
slot |
Set the columns that are currently shown.
References myColDispActions, and showColumns().
| void DtFederateTree::setFederateRemovalTime | ( | float | newTime | ) |
Change the time after which a federate that fails to reconnect will be removed from the rtiexec federate tree.
References myFederateRemovalTime.
Referenced by DtFederationsViewDialog::updateFederateRemovalTime().
|
slot |
Displays the column view customize dialog.
References myColDispActions.
Referenced by DtFederateTree().
|
slot |
Updates which columns are shown or hidden.
References myColDispActions.
Referenced by DtFederateTree(), loadGuiConfiguration(), and setAllColumns().
|
slot |
Shows the context menu at the given position.
References myContextMenu, and refreshMenus().
Referenced by DtFederateTree().
|
signal |
Referenced by showLatencyTest().
|
slot |
Emits the showFedLatencyTest signal for the selected federate.
References FederateHandleRole, FederateTypeAndHandleIndex, FederationNameIndex, myItemNamesToFederationNames, and showFedLatencyTest().
Referenced by DtFederateTree().
|
slot |
Determines what the new selection is and emits the appropriate signal.
References FederateHandleRole, federateSelected(), FederateTypeAndHandleIndex, FederationNameIndex, federationSelected(), isFederateValid(), multipleItemsSelected(), myItemNamesToFederationNames, and nothingSelected().
Referenced by DtFederateTree().
|
virtual |
Returns the recommended size for the widget.
References myLastVisibleSize.
|
inline |
Returns a pointer to the specific action from the federate menu.
Referenced by DtFederationsViewDialog::setupMenus().
|
inline |
Returns a pointer to the specific action from the federate menu.
Referenced by DtFederationsViewDialog::setupMenus().
|
slot |
For each federation selected, enables or disables testing.
References disableNetworkTestingRequest(), enableNetworkTestingRequest(), FederateHandleRole, FederateTypeAndHandleIndex, FederationNameIndex, myItemNamesToFederationNames, and myTestDisabledFederations.
Referenced by DtFederateTree().
|
virtual |
Updates or adds a federate to an existing federation in the tree.
Returns true if a new federation was added.
References ConstrainedStateIndex, CurrentTimeIndex, FederateCommandArgsIndex, DtAssistantFederateInfo::federateHandle(), FederateHandleRole, FederateHostNameIndex, FederateIPIndex, FederateNameIndex, FederatePIDIndex, FederateProcessIndex, FederateQueueStatusIndex, FederateTypeAndHandleIndex, HlaVersionIndex, LbtsIndex, LookAheadIndex, myColumnDescrs, myFederationNamesToItemNames, refreshMenus(), RegulatingStateIndex, TestCountIndex, TestStatusIndex, theConstrainedDisabledToolTip, theNoTestToolTip, theRegulatingDisabledToolTip, and updateFederateItem().
Referenced by DtFederationsViewDialog::updateFederate().
|
protectedvirtual |
Updates the federate item with the given information.
References ConstrainedStateIndex, DtAssistantFederateInfo::continuousTest(), CurrentTimeIndex, DtHla13, DtHla13DLC, DtHla1516, DtHlaEvolved, DtAssistantFederateInfo::federateHandle(), FederateHandleRole, DtAssistantFederateInfo::federateHostAddr(), DtAssistantFederateInfo::federateHostName(), FederateHostNameIndex, FederateIPIndex, DtAssistantFederateInfo::federateName(), FederateNameIndex, FederateNameRole, DtAssistantFederateInfo::federateType(), FederateTypeAndHandleIndex, DtAssistantFederateInfo::hlaVersion(), HlaVersionIndex, DtAssistantFederateInfo::isConstrained(), DtAssistantFederateInfo::isDisconnected(), DtAssistantFederateInfo::isLocalComp(), IsLocalRole, DtAssistantFederateInfo::isReconnecting(), DtAssistantFederateInfo::isRegulating(), LbtsIndex, DtAssistantFederateInfo::lbtsString(), LookAheadIndex, DtAssistantFederateInfo::lookAheadString(), myCheckIcon, myClearAllDeadFederates, myContTestIcon, myDefunctFederateTreeWidgets, myFederationMenu, myReconnectedFederates, myReconnectingFederates, myRedAttention, mySingleTestIcon, myTimer, myYellowAttention, DtAssistantFederateInfo::numInitiatedTests(), DtAssistantFederateInfo::numTestReports(), RegulatingStateIndex, TestCountIndex, DtAssistantFederateInfo::testEnabled(), TestEnableRole, DtAssistantFederateInfo::testInProgress(), TestStatusIndex, theConstrainedDisabledToolTip, theConstrainedEnabledToolTip, theContinuousTestToolTip, theNoTestToolTip, theRegulatingDisabledToolTip, theRegulatingEnabledToolTip, theSingleTestToolTip, DtAssistantFederateInfo::timeString(), and updateFederateItemFromForwarderInformation().
Referenced by updateFederate(), and updateFederateItems().
|
protectedvirtual |
Updates the federate item with forwarder information.
References FederateCommandArgsIndex, DtAssistantFederateInfo::federateHandle(), FederatePIDIndex, FederateProcessIndex, FederateQueueStatusIndex, DtAssistantForwarderInfo::federates(), and myDroppedIcon.
Referenced by updateFederateItem().
|
protectedvirtual |
Updates the federate items for the given federation item.
References ConstrainedStateIndex, CurrentTimeIndex, FederateHandleRole, FederateIPIndex, FederateNameIndex, FederateTypeAndHandleIndex, FederationNameIndex, HlaVersionIndex, LbtsIndex, LookAheadIndex, myClearedDefunctFederates, myColumnDescrs, myItemNamesToFederationNames, RegulatingStateIndex, removeFederateItem(), TestCountIndex, TestStatusIndex, theConstrainedDisabledToolTip, theNoTestToolTip, theRegulatingDisabledToolTip, and updateFederateItem().
Referenced by updateFederation().
|
virtual |
Updates or adds a federation to the tree.
Returns true if a new federation was added.
References DtAssistantFederationInfo::federates(), DtAssistantFederationInfo::federationHandle(), DtAssistantFederationInfo::federationName(), FederationNameIndex, IsLightweightRole, myColumnDescrs, myFederationNamesToItemNames, myItemNamesToFederationNames, myTestDisabledFederations, refreshMenus(), removeLoadingIndication(), DtAssistantFederationInfo::testingEnabled(), and updateFederateItems().
Referenced by DtFederationsViewDialog::updateFederation().
|
virtual |
Set the color of the specified federation.
References FederationNameIndex, myFederationColors, and myFederationNamesToItemNames.
Referenced by DtFederationsViewDialog::changeFederationColor(), and DtFederationsViewDialog::updateFederation().
|
staticprotected |
Referenced by clearCurrDefunctFederates(), deleteSelectedFed(), destroySelectedFederations(), forceFederateSelection(), isFederateValid(), removeFederate(), removeFederateItem(), showLatencyTest(), signalSelectionChange(), updateEnableNetworkTestingForSelectedFederations(), updateFederate(), updateFederateItem(), and updateFederateItems().
|
staticprotected |
Referenced by updateFederateItem().
|
staticprotected |
Referenced by isFederationLightweight(), and updateFederation().
|
staticprotected |
Referenced by isFederateLocal(), and updateFederateItem().
|
protected |
Federate menu actions.
Referenced by DtFederateTree(), and refreshMenus().
|
protected |
Icons to be used in the federate tree.
Referenced by DtFederateTree(), and updateFederateItem().
|
protected |
Federation menu actions.
Referenced by clearAllDefunctFederates(), DtFederateTree(), processInvalidList(), and updateFederateItem().
|
protected |
Federate menu actions.
Referenced by DtFederateTree(), and refreshMenus().
|
protected |
Defunct federates that have been cleared from the display.
Referenced by removeFederateItem(), and updateFederateItems().
|
protected |
Referenced by DtFederateTree().
|
protected |
Column view actions.
Referenced by allColumns(), DtFederateTree(), loadGuiConfiguration(), setAllColumns(), showColCustomizeDlg(), and showColumns().
|
protected |
List of descriptions for each column.
Referenced by DtFederateTree(), updateFederate(), updateFederateItems(), and updateFederation().
|
protected |
Column view menu.
Referenced by DtFederateTree().
|
protected |
Context Menu.
Referenced by DtFederateTree(), refreshMenus(), and showContextMenu().
|
protected |
Icons to be used in the federate tree.
Referenced by DtFederateTree(), and updateFederateItem().
|
protected |
Items are added to myDefunctFederateTreeWidgets when their socket breaks.
These federates are removed if: 1) They fail to reconnect and are manually removed 2) They fail to reconnect and are automatically removed by timer 3) The federation is destroyed
Referenced by clearAllDefunctFederates(), clearCurrDefunctFederates(), isFederateValid(), processInvalidList(), and updateFederateItem().
|
protected |
Indicates whether or not federate and federation deletion is enabled.
Referenced by enableDeletion(), and refreshMenus().
|
protected |
Federation menu actions.
Referenced by DtFederateTree(), and refreshMenus().
|
protected |
Federation menu actions.
Referenced by DtFederateTree(), and refreshMenus().
|
protected |
The dropped Icon.
Referenced by DtFederateTree(), and updateFederateItemFromForwarderInformation().
|
protected |
Federation menu actions.
Referenced by DtFederateTree(), and refreshMenus().
|
protected |
Federate menu actions.
Referenced by DtFederateTree(), and refreshMenus().
|
protected |
Federate menu actions.
Referenced by DtFederateTree(), and refreshMenus().
|
protected |
Referenced by DtFederateTree(), and refreshMenus().
|
protected |
Time after which defunct federates will automatically be removed from the tree.
Referenced by getFederateRemovalTime(), processInvalidList(), and setFederateRemovalTime().
|
protected |
Federate menu actions.
Referenced by DtFederateTree(), and refreshMenus().
|
protected |
Map of federation names to their colors.
Referenced by removeAllFederations(), removeFederation(), and updateFederationColor().
|
protected |
Federation menu actions.
Referenced by DtFederateTree(), and refreshMenus().
|
protected |
Referenced by clearAllDefunctFederates(), DtFederateTree(), processInvalidList(), refreshMenus(), and updateFederateItem().
|
protected |
Map of federation names to the names used in the tree.
Referenced by forceFederateSelection(), forceFederationSelection(), getTreeFederationName(), isFederateValid(), removeAllFederations(), removeFederate(), removeFederation(), updateFederate(), updateFederation(), and updateFederationColor().
|
protected |
Map of federation names to the names used in the tree.
Referenced by clearCurrDefunctFederates(), deleteSelectedFed(), destroySelectedFederations(), removeAllFederations(), removeFederateItem(), removeFederation(), showLatencyTest(), signalSelectionChange(), updateEnableNetworkTestingForSelectedFederations(), updateFederateItems(), and updateFederation().
|
protected |
The size of the dialog the last time it was visible.
Referenced by hideEvent(), and sizeHint().
|
protected |
Federate menu actions.
Referenced by DtFederateTree(), and refreshMenus().
|
protected |
Item that indicates federation information is currently being loaded.
Referenced by displayLoadingIndication(), DtFederateTree(), removeLoadingIndication(), and ~DtFederateTree().
|
protected |
Icons to be used in the federate tree.
|
protected |
Federates that have successfully reconnected.
Referenced by removeFederateItem(), and updateFederateItem().
|
protected |
Federates that are currently attempting to reconnect.
Referenced by isFederateValid(), removeFederateItem(), and updateFederateItem().
|
protected |
Icons to be used in the federate tree.
Referenced by DtFederateTree(), and updateFederateItem().
|
protected |
Federate menu actions.
Referenced by DtFederateTree(), and refreshMenus().
|
protected |
Icons to be used in the federate tree.
Referenced by DtFederateTree(), and updateFederateItem().
|
protected |
Federate menu actions.
Referenced by DtFederateTree(), and refreshMenus().
|
protected |
Federations that have testing disabled.
Referenced by refreshMenus(), updateEnableNetworkTestingForSelectedFederations(), and updateFederation().
|
protected |
Icons to be used in the federate tree.
Referenced by DtFederateTree().
|
protected |
Referenced by DtFederateTree(), processInvalidList(), and updateFederateItem().
|
protected |
Icons to be used in the federate tree.
Referenced by DtFederateTree().
|
protected |
Icons to be used in the federate tree.
Referenced by DtFederateTree(), and updateFederateItem().
|
staticprotected |
Referenced by refreshMenus(), and updateFederateItem().
|
static |
Tool tip strings.
Referenced by updateFederate(), updateFederateItem(), and updateFederateItems().
|
static |
Tool tip strings.
Referenced by updateFederateItem().
|
static |
Tool tip strings.
Referenced by updateFederateItem().
|
static |
Tool tip strings.
Referenced by refreshMenus().
|
static |
|
staticprotected |
The number of the last column which is displayed by default the first time the dialog is shown.
Referenced by DtFederateTree().
|
static |
The message that indicates information is being loaded.
Referenced by DtFederateTree().
|
static |
Tool tip strings.
Referenced by updateFederate(), updateFederateItem(), and updateFederateItems().
|
static |
Tool tip strings.
Referenced by updateFederate(), updateFederateItem(), and updateFederateItems().
|
static |
Tool tip strings.
Referenced by updateFederateItem().
|
static |
Tool tip strings.
Referenced by updateFederateItem().
|
static |
Tool tip strings.
|
static |
Tool tip strings.