![]() |
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. More... | |
| void | setAllColumns (const std::map< QString, std::pair< int, bool > > &columns) |
| Set the columns that are currently shown. More... | |
| void | allColumns (std::map< QString, std::pair< int, bool > > &columns) |
| Get the columns and their position / visible value (cols in emptied and populated). More... | |
| void | showColCustomizeDlg () |
| Displays the column view customize dialog. More... | |
| void | deleteSelectedFed () |
| Emits the fedDeleteRequest signal for the selected federate. More... | |
| void | destroySelectedFederations () |
| For each federation selected, resign the federates then emit federationDelete. More... | |
| void | updateEnableNetworkTestingForSelectedFederations () |
| For each federation selected, enables or disables testing. More... | |
| void | showLatencyTest () |
| Emits the showFedLatencyTest signal for the selected federate. More... | |
| void | clearAllDefunctFederates () |
| Clears all defunct federates. More... | |
| bool | hasValidFederates () const |
| returns whether any federates are valid. More... | |
| void | clearCurrDefunctFederates () |
| Clear only the currently selected defunct federates. More... | |
| void | refreshMenus () |
| Refresh the currently available menu options. More... | |
| void | signalSelectionChange () |
| Determines what the new selection is and emits the appropriate signal. More... | |
| void | showContextMenu (const QPoint &) |
| Shows the context menu at the given position. More... | |
| void | copySelectionToClipboard () |
| Copy selection to clipboard. More... | |
Signals | |
| void | fedDeleteRequest (int, const QString &) |
| void | federationDeleteRequest (const QString &fedexName) |
| 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. More... | |
| void | federationSelected (const MAKRti::DtString &name) |
| Emitted when a single federation is selected. More... | |
| void | nothingSelected () |
| Emitted when selection is cleared. More... | |
| void | multipleItemsSelected () |
| Emitted when multiple items are selected. More... | |
| void | defunctFederateRemoved (const MAKRti::DtString &federation, int federateHandle) |
| Emitted when a defunct federate must be removed. More... | |
Public Member Functions | |
| DtFederateTree (QWidget *parent) | |
| virtual | ~DtFederateTree () |
| virtual QSize | sizeHint () const |
| Returns the recommended size for the widget. More... | |
| virtual void | hideEvent (QHideEvent *event) |
| Override hideEvent to store the size of the dialog when it is hidden. More... | |
| virtual bool | updateFederation (const DtAssistantFederationInfo *federation, const DtAssistantForwarderInfo *forwarderInfo, const std::vector< DtAssistantForwarderInfo > &peerInfos) |
| Updates or adds a federation to the tree. More... | |
| virtual bool | removeFederation (const QString &name) |
| Removes the federation with the given name from the tree. More... | |
| virtual void | removeAllFederations () |
| Removes all of the federations from the tree. More... | |
| virtual void | updateFederationColor (const MAKRti::DtString &federationName, const QColor &color) |
| Set the color of the specified federation. More... | |
| virtual bool | updateFederate (const DtAssistantFederateInfo &federate, const DtAssistantForwarderInfo *forwarderInfo, const QString &fedexName, const std::vector< DtAssistantForwarderInfo > &peerInfos) |
| Updates or adds a federate to an existing federation in the tree. More... | |
| virtual bool | removeFederate (int federateHandle, const QString &fedexName, bool clearedDefunct=false) |
| Removes a federate from an existing federation in the tree. More... | |
| virtual void | displayLoadingIndication () |
| Displays a message that the current federation information is loading. More... | |
| virtual void | removeLoadingIndication () |
| Removes the loading indication messages. More... | |
| bool | isFederateValid (int federateHandle, const QString &fedexName) const |
| Is this federate valid? More... | |
| void | processInvalidList () |
| Process the list of Invalid federates for automatic removal. More... | |
| QMenu * | columnViewMenu () |
| Returns a pointer to the menu which allows users to hide/display any columns in the tree. More... | |
| QMenu * | federateMenu () |
| Returns a pointer to the menu which allows users to perform actions related to the currently selected federates. More... | |
| QMenu * | federationMenu () |
| Returns a pointer to the menu which allows users to perform actions related to the current selected federations. More... | |
| void | setFederateRemovalTime (float newTime) |
| Change the time after which a federate that fails to reconnect will be removed from the rtiexec federate tree. More... | |
| float | getFederateRemovalTime () const |
| Get the time for the federate removal. More... | |
| void | enableDeletion (bool enable) |
| Enables or disables federate and federation deletion options. More... | |
| QString | getTreeFederationName (const MAKRti::DtString &federationName) |
| Get the federation name the tree uses ( with the handle ) More... | |
| void | forceFederateSelection (int federateHandle, const MAKRti::DtString &federation) |
| Forces selection of the specified federate. More... | |
| void | forceFederationSelection (const MAKRti::DtString &federation) |
| Forces selection of the specified federation. More... | |
| void | forceClearSelection () |
| Forces the selection to be cleared. More... | |
| void | saveGuiConfiguration (const MAKRti::DtFilename &configFile) |
| Saves the GUI configuration to the given file. More... | |
| void | loadGuiConfiguration (const MAKRti::DtFilename &configFile) |
| Loads the GUI configuration from the given file. More... | |
| void | initializeQtToolTips () |
| QAction * | statisticsAction () |
| Returns a pointer to the specific action from the federate menu. More... | |
| QAction * | latencyTestAction () |
| Returns a pointer to the specific action from the federate menu. More... | |
| QAction * | federateRidParamAction () |
| Returns a pointer to the specific action from the federate menu. More... | |
| QAction * | federateFomAction () |
| Returns a pointer to the specific action from the federate menu. More... | |
| QAction * | federateLogAction () |
| Returns a pointer to the specific action from the federate menu. More... | |
| QAction * | changeFederateIconAction () |
| Returns a pointer to the specific action from the federate menu. More... | |
| QAction * | resignFederateAction () |
| Returns a pointer to the specific action from the federate menu. More... | |
| QAction * | federationFomAction () |
| Returns a pointer to the specific action from the federate menu. More... | |
| QAction * | syncPointsAction () |
| Returns a pointer to the specific action from the federate menu. More... | |
| QAction * | destroyFederationAction () |
| Returns a pointer to the specific action from the federate menu. More... | |
Public Attributes | |
| QString | theLoadingText |
| The message that indicates information is being loaded. More... | |
| QString | theRegulatingEnabledToolTip |
| Tool tip strings. More... | |
| QString | theRegulatingDisabledToolTip |
| Tool tip strings. More... | |
| QString | theConstrainedEnabledToolTip |
| Tool tip strings. More... | |
| QString | theConstrainedDisabledToolTip |
| Tool tip strings. More... | |
| QString | theTestCapableEnabledToolTip |
| Tool tip strings. More... | |
| QString | theTestCapableDisabledToolTip |
| Tool tip strings. More... | |
| QString | theNoTestToolTip |
| Tool tip strings. More... | |
| QString | theContinuousTestToolTip |
| Tool tip strings. More... | |
| QString | theSingleTestToolTip |
| Tool tip strings. More... | |
| QString | theFederateLogEnabledText |
| Tool tip strings. More... | |
| QString | theFederateLogDisabledText |
| Tool tip strings. More... | |
Protected Member Functions | |
| virtual void | updateFederateItems (const DtFederateInfoByHandleMap &federates, const DtAssistantForwarderInfo *forwarderInfo, QTreeWidgetItem *fedexItem, const std::vector< DtAssistantForwarderInfo > &peerInfos) |
| Updates the federate items for the given federation item. More... | |
| virtual void | updateFederateItem (const DtAssistantFederateInfo &federate, const DtAssistantForwarderInfo *forwarderInfo, const QString &fedexName, QTreeWidgetItem *fedItem, const std::vector< DtAssistantForwarderInfo > &peerInfos) |
| Updates the federate item with the given information. More... | |
| virtual void | updateFederateItemFromForwarderInformation (const DtAssistantFederateInfo &federate, const DtAssistantForwarderInfo *forwarderInfo, const QString &fedexName, QTreeWidgetItem *fedItem, const std::vector< DtAssistantForwarderInfo > &peerInfos) |
| Updates the federate item with forwarder information. More... | |
| virtual void | removeAllFederateItems (QTreeWidgetItem *fedexItem) |
| Removes all of federate items from the given federation item. More... | |
| virtual void | removeFederateItem (QTreeWidgetItem *fedItem, QTreeWidgetItem *fedexItem, bool clearedDefunct=false) |
| Removes and deletes the given federate item from the given federation item. More... | |
| bool | isFederateValid (QTreeWidgetItem *item) const |
| Is the federate represented by this QTreeWidgetItem valid. More... | |
| bool | isFederateLocal (QTreeWidgetItem *item) const |
| Is the federate represented by this QTreeWidgetItem locally hosted. More... | |
| bool | isFederateLightweight (QTreeWidgetItem *item) const |
| Is the federate represented by this QTreeWidgetItem using a lightweight connection. More... | |
| bool | isFederationLightweight (QTreeWidgetItem *item) const |
| Is the federation represented by this QTreeWidgetItem using a lightweight connection. More... | |
Protected Attributes | |
| std::vector < DtFederateTreeColDescr > | myColumnDescrs |
| List of descriptions for each column. More... | |
| QMenu * | myColViewMenu |
| Column view menu. More... | |
| std::vector< QAction * > | myColDispActions |
| Column view actions. More... | |
| QAction * | myColCustomizeAction |
| QMenu * | myContextMenu |
| Context Menu. More... | |
| QMenu * | myFederateMenu |
| QMenu * | myFederationMenu |
| std::map< QString, QString > | myFederationNamesToItemNames |
| Map of federation names to the names used in the tree. More... | |
| std::map< QString, QString > | myItemNamesToFederationNames |
| Map of federation names to the names used in the tree. More... | |
| std::map< QTreeWidgetItem *, std::pair< MAKRti::DtTime, std::pair< QString, int > > > | myDefunctFederateTreeWidgets |
| Items are added to myDefunctFederateTreeWidgets when their socket breaks. More... | |
| std::map< QTreeWidgetItem *, std::pair< QString, int > > | myReconnectingFederates |
| Federates that are currently attempting to reconnect. More... | |
| std::map< QTreeWidgetItem *, std::pair< QString, int > > | myReconnectedFederates |
| Federates that have successfully reconnected. More... | |
| std::set< std::pair< QString, int > > | myClearedDefunctFederates |
| Defunct federates that have been cleared from the display. More... | |
| std::set< QTreeWidgetItem * > | myTestDisabledFederations |
| Federations that have testing disabled. More... | |
| std::map< MAKRti::DtString, QColor > | myFederationColors |
| Map of federation names to their colors. More... | |
| float | myFederateRemovalTime |
| Time after which defunct federates will automatically be removed from the tree. More... | |
| QTreeWidgetItem * | myLoadingIndicationItem |
| Item that indicates federation information is currently being loaded. More... | |
| bool | myDeletionEnabled |
| Indicates whether or not federate and federation deletion is enabled. More... | |
| MAKRti::DtClock | myTimer |
| QSize | myLastVisibleSize |
| The size of the dialog the last time it was visible. More... | |
| bool | myShouldAddShutdownAllToMenu |
| Determines based on RTI_ASSISTANT_REMOVE_SHUT_DOWN_ALL environment variable whether shut down all, resign, and destroy actions should be visible. More... | |
| QAction * | myStatisticsAction |
| Federate menu actions. More... | |
| QAction * | myLatencyTestAction |
| Federate menu actions. More... | |
| QAction * | myFederateRidParametersAction |
| Federate menu actions. More... | |
| QAction * | myFederateFomAction |
| Federate menu actions. More... | |
| QAction * | myFederateLogAction |
| Federate menu actions. More... | |
| QAction * | myChangeFederateIconAction |
| Federate menu actions. More... | |
| QAction * | myResignFederateAction |
| Federate menu actions. More... | |
| QAction * | myClearCurrDefunctFederate |
| Federate menu actions. More... | |
| QAction * | myFederationFomAction |
| Federation menu actions. More... | |
| QAction * | myDisplaySyncPointsAction |
| Federation menu actions. More... | |
| QAction * | myEnableNetworkTestingAction |
| Federation menu actions. More... | |
| QAction * | myDestroyFederationAction |
| Federation menu actions. More... | |
| QAction * | myClearAllDeadFederates |
| Federation menu actions. More... | |
| QIcon | myCheckIcon |
| Icons to be used in the federate tree. More... | |
| QIcon | myNoCheckIcon |
| Icons to be used in the federate tree. More... | |
| QIcon | myContTestIcon |
| Icons to be used in the federate tree. More... | |
| QIcon | mySingleTestIcon |
| Icons to be used in the federate tree. More... | |
| QIcon | myYellowAttention |
| Icons to be used in the federate tree. More... | |
| QIcon | myRedAttention |
| Icons to be used in the federate tree. More... | |
| QIcon | myWorldWideWeb |
| Icons to be used in the federate tree. More... | |
| QIcon | myTestIcon |
| Icons to be used in the federate tree. More... | |
| QIcon | myDroppedIcon |
| Icons to be used in the federate tree. More... | |
Static Protected Attributes | |
| static const int | FederateNameRole |
| static const int | FederateHandleRole |
| static const int | TestEnableRole |
| static const int | IsLocalRole |
| static const int | IsLightweightRole |
| static const int | theLastColDefaultedOn |
| The number of the last column which is displayed by default the first time the dialog is shown. More... | |
Private Member Functions | |
| void | clearDefunctFederate (QString fedexName, QTreeWidgetItem *federate) |
| Clear defunct federates under passed in federation. More... | |
| bool | isFederateDefunct (QTreeWidgetItem *federate) |
| Returns true if passed in federate is defunct. More... | |
| DtFederateTree (const DtFederateTree &) | |
| Copy constructor not implemented – Copy not allowed! More... | |
| DtFederateTree & | operator= (const DtFederateTree &) |
| Assignment operator not implemented – Assignment not allowed! More... | |
| DtFederateTree::DtFederateTree | ( | QWidget * | parent | ) |
|
virtual |
|
private |
Copy constructor not implemented – Copy not allowed!
|
slot |
Get the columns and their position / visible value (cols in emptied and populated).
|
inline |
Returns a pointer to the specific action from the federate menu.
|
slot |
Clears all defunct federates.
|
slot |
Clear only the currently selected defunct federates.
|
private |
Clear defunct federates under passed in federation.
|
inline |
Returns a pointer to the menu which allows users to hide/display any columns in the tree.
|
slot |
Copy selection to clipboard.
|
signal |
Emitted when a defunct federate must be removed.
|
slot |
Emits the fedDeleteRequest signal for the selected federate.
|
inline |
Returns a pointer to the specific action from the federate menu.
|
slot |
For each federation selected, resign the federates then emit federationDelete.
|
signal |
|
virtual |
Displays a message that the current federation information is loading.
| void DtFederateTree::enableDeletion | ( | bool | enable | ) |
Enables or disables federate and federation deletion options.
|
signal |
|
signal |
|
inline |
Returns a pointer to the specific action from the federate menu.
|
inline |
Returns a pointer to the specific action from the federate menu.
|
inline |
Returns a pointer to the menu which allows users to perform actions related to the currently selected federates.
|
inline |
Returns a pointer to the specific action from the federate menu.
|
signal |
Emitted when a single federate is selected.
|
signal |
|
inline |
Returns a pointer to the specific action from the federate menu.
|
inline |
Returns a pointer to the menu which allows users to perform actions related to the current selected federations.
|
signal |
Emitted when a single federation is selected.
| void DtFederateTree::forceClearSelection | ( | ) |
Forces the selection to be cleared.
| void DtFederateTree::forceFederateSelection | ( | int | federateHandle, |
| const MAKRti::DtString & | federation | ||
| ) |
Forces selection of the specified federate.
| void DtFederateTree::forceFederationSelection | ( | const MAKRti::DtString & | federation | ) |
Forces selection of the specified federation.
| float DtFederateTree::getFederateRemovalTime | ( | ) | const |
Get the time for the federate removal.
| QString DtFederateTree::getTreeFederationName | ( | const MAKRti::DtString & | federationName | ) |
Get the federation name the tree uses ( with the handle )
|
slot |
returns whether any federates are valid.
|
virtual |
Override hideEvent to store the size of the dialog when it is hidden.
| void DtFederateTree::initializeQtToolTips | ( | ) |
|
private |
Returns true if passed in federate is defunct.
|
protected |
Is the federate represented by this QTreeWidgetItem using a lightweight connection.
|
protected |
Is the federate represented by this QTreeWidgetItem locally hosted.
| bool DtFederateTree::isFederateValid | ( | int | federateHandle, |
| const QString & | fedexName | ||
| ) | const |
Is this federate valid?
|
protected |
Is the federate represented by this QTreeWidgetItem valid.
|
protected |
Is the federation represented by this QTreeWidgetItem using a lightweight connection.
|
inline |
Returns a pointer to the specific action from the federate menu.
| void DtFederateTree::loadGuiConfiguration | ( | const MAKRti::DtFilename & | configFile | ) |
Loads the GUI configuration from the given file.
|
signal |
Emitted when multiple items are selected.
|
signal |
Emitted when selection is cleared.
|
private |
Assignment operator not implemented – Assignment not allowed!
| void DtFederateTree::processInvalidList | ( | ) |
Process the list of Invalid federates for automatic removal.
|
slot |
Refresh the currently available menu options.
|
protectedvirtual |
Removes all of federate items from the given federation item.
|
virtual |
Removes all of the federations from the tree.
|
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.
|
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.
|
virtual |
Removes the federation with the given name from the tree.
Returns true if successful.
|
virtual |
Removes the loading indication messages.
|
inline |
Returns a pointer to the specific action from the federate menu.
| void DtFederateTree::saveGuiConfiguration | ( | const MAKRti::DtFilename & | configFile | ) |
Saves the GUI configuration to the given file.
|
slot |
Set the columns that are currently shown.
| void DtFederateTree::setFederateRemovalTime | ( | float | newTime | ) |
Change the time after which a federate that fails to reconnect will be removed from the rtiexec federate tree.
|
slot |
Displays the column view customize dialog.
|
slot |
Updates which columns are shown or hidden.
|
slot |
Shows the context menu at the given position.
|
signal |
|
slot |
Emits the showFedLatencyTest signal for the selected federate.
|
slot |
Determines what the new selection is and emits the appropriate signal.
|
virtual |
Returns the recommended size for the widget.
|
inline |
Returns a pointer to the specific action from the federate menu.
|
inline |
Returns a pointer to the specific action from the federate menu.
|
slot |
For each federation selected, enables or disables testing.
|
virtual |
Updates or adds a federate to an existing federation in the tree.
Returns true if a new federation was added.
|
protectedvirtual |
Updates the federate item with the given information.
|
protectedvirtual |
Updates the federate item with forwarder information.
|
protectedvirtual |
Updates the federate items for the given federation item.
|
virtual |
Updates or adds a federation to the tree.
Returns true if a new federation was added.
|
virtual |
Set the color of the specified federation.
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
protected |
Federate menu actions.
|
protected |
Icons to be used in the federate tree.
|
protected |
Federation menu actions.
|
protected |
Federate menu actions.
|
protected |
Defunct federates that have been cleared from the display.
|
protected |
|
protected |
Column view actions.
|
protected |
List of descriptions for each column.
|
protected |
Column view menu.
|
protected |
Context Menu.
|
protected |
Icons to be used in the federate tree.
|
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
|
protected |
Indicates whether or not federate and federation deletion is enabled.
|
protected |
Federation menu actions.
|
protected |
Federation menu actions.
|
protected |
Icons to be used in the federate tree.
|
protected |
Federation menu actions.
|
protected |
Federate menu actions.
|
protected |
Federate menu actions.
|
protected |
|
protected |
Time after which defunct federates will automatically be removed from the tree.
|
protected |
Federate menu actions.
|
protected |
Map of federation names to their colors.
|
protected |
Federation menu actions.
|
protected |
|
protected |
Map of federation names to the names used in the tree.
|
protected |
Map of federation names to the names used in the tree.
|
protected |
The size of the dialog the last time it was visible.
|
protected |
Federate menu actions.
|
protected |
Item that indicates federation information is currently being loaded.
|
protected |
Icons to be used in the federate tree.
|
protected |
Federates that have successfully reconnected.
|
protected |
Federates that are currently attempting to reconnect.
|
protected |
Icons to be used in the federate tree.
|
protected |
Federate menu actions.
|
protected |
Determines based on RTI_ASSISTANT_REMOVE_SHUT_DOWN_ALL environment variable whether shut down all, resign, and destroy actions should be visible.
|
protected |
Icons to be used in the federate tree.
|
protected |
Federate menu actions.
|
protected |
Federations that have testing disabled.
|
protected |
Icons to be used in the federate tree.
|
protected |
|
protected |
Icons to be used in the federate tree.
|
protected |
Icons to be used in the federate tree.
|
staticprotected |
| QString DtFederateTree::theConstrainedDisabledToolTip |
Tool tip strings.
| QString DtFederateTree::theConstrainedEnabledToolTip |
Tool tip strings.
| QString DtFederateTree::theContinuousTestToolTip |
Tool tip strings.
| QString DtFederateTree::theFederateLogDisabledText |
Tool tip strings.
| QString DtFederateTree::theFederateLogEnabledText |
Tool tip strings.
|
staticprotected |
The number of the last column which is displayed by default the first time the dialog is shown.
| QString DtFederateTree::theLoadingText |
The message that indicates information is being loaded.
| QString DtFederateTree::theNoTestToolTip |
Tool tip strings.
| QString DtFederateTree::theRegulatingDisabledToolTip |
Tool tip strings.
| QString DtFederateTree::theRegulatingEnabledToolTip |
Tool tip strings.
| QString DtFederateTree::theSingleTestToolTip |
Tool tip strings.
| QString DtFederateTree::theTestCapableDisabledToolTip |
Tool tip strings.
| QString DtFederateTree::theTestCapableEnabledToolTip |
Tool tip strings.