MAK RTIspy API Documentation for HLA 1.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Classes | Public Types | Public Slots | Signals | Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | Static Protected Attributes | Private Member Functions
DtFederateTree Class Reference
+ Inheritance diagram for DtFederateTree:
+ Collaboration diagram for DtFederateTree:

Classes

class  DtFederateTreeColDescr
 Structure for column description strings. More...
 

Public Types

enum  DtFederateTreeCol {
  FederationNameIndex = 0, FederateTypeAndHandleIndex = 0, FederateProcessIndex, FederateNameIndex,
  FederateHostNameIndex, FederateIPIndex, ConnectedForwarderIpIndex, HlaVersionIndex,
  FederateQueueStatusIndex, FederatePIDIndex, FederateCommandArgsIndex, RegulatingStateIndex,
  ConstrainedStateIndex, LbtsIndex, LookAheadIndex, CurrentTimeIndex,
  TestStatusIndex, TestCountIndex, NumFederateTreeCols
}
 

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...
 
QTreeWidgetItemmyLoadingIndicationItem
 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...
 
DtFederateTreeoperator= (const DtFederateTree &)
 Assignment operator not implemented – Assignment not allowed! More...
 

Member Enumeration Documentation

Enumerator
FederationNameIndex 
FederateTypeAndHandleIndex 
FederateProcessIndex 
FederateNameIndex 
FederateHostNameIndex 
FederateIPIndex 
ConnectedForwarderIpIndex 
HlaVersionIndex 
FederateQueueStatusIndex 
FederatePIDIndex 
FederateCommandArgsIndex 
RegulatingStateIndex 
ConstrainedStateIndex 
LbtsIndex 
LookAheadIndex 
CurrentTimeIndex 
TestStatusIndex 
TestCountIndex 
NumFederateTreeCols 

Constructor & Destructor Documentation

DtFederateTree::DtFederateTree ( QWidget parent)
virtual DtFederateTree::~DtFederateTree ( )
virtual
DtFederateTree::DtFederateTree ( const DtFederateTree )
private

Copy constructor not implemented – Copy not allowed!

Member Function Documentation

void DtFederateTree::allColumns ( std::map< QString, std::pair< int, bool > > &  columns)
slot

Get the columns and their position / visible value (cols in emptied and populated).

QAction* DtFederateTree::changeFederateIconAction ( )
inline

Returns a pointer to the specific action from the federate menu.

void DtFederateTree::clearAllDefunctFederates ( )
slot

Clears all defunct federates.

void DtFederateTree::clearCurrDefunctFederates ( )
slot

Clear only the currently selected defunct federates.

void DtFederateTree::clearDefunctFederate ( QString  fedexName,
QTreeWidgetItem federate 
)
private

Clear defunct federates under passed in federation.

QMenu* DtFederateTree::columnViewMenu ( )
inline

Returns a pointer to the menu which allows users to hide/display any columns in the tree.

void DtFederateTree::copySelectionToClipboard ( )
slot

Copy selection to clipboard.

void DtFederateTree::defunctFederateRemoved ( const MAKRti::DtString &  federation,
int  federateHandle 
)
signal

Emitted when a defunct federate must be removed.

void DtFederateTree::deleteSelectedFed ( )
slot

Emits the fedDeleteRequest signal for the selected federate.

QAction* DtFederateTree::destroyFederationAction ( )
inline

Returns a pointer to the specific action from the federate menu.

void DtFederateTree::destroySelectedFederations ( )
slot

For each federation selected, resign the federates then emit federationDelete.

void DtFederateTree::disableNetworkTestingRequest ( const QString &  )
signal
virtual void DtFederateTree::displayLoadingIndication ( )
virtual

Displays a message that the current federation information is loading.

void DtFederateTree::enableDeletion ( bool  enable)

Enables or disables federate and federation deletion options.

void DtFederateTree::enableNetworkTestingRequest ( const QString &  )
signal
void DtFederateTree::fedDeleteRequest ( int  ,
const QString &   
)
signal
QAction* DtFederateTree::federateFomAction ( )
inline

Returns a pointer to the specific action from the federate menu.

QAction* DtFederateTree::federateLogAction ( )
inline

Returns a pointer to the specific action from the federate menu.

QMenu* DtFederateTree::federateMenu ( )
inline

Returns a pointer to the menu which allows users to perform actions related to the currently selected federates.

QAction* DtFederateTree::federateRidParamAction ( )
inline

Returns a pointer to the specific action from the federate menu.

void DtFederateTree::federateSelected ( const MAKRti::DtString &  federation,
int  federateHandle 
)
signal

Emitted when a single federate is selected.

void DtFederateTree::federationDeleteRequest ( const QString &  fedexName)
signal
QAction* DtFederateTree::federationFomAction ( )
inline

Returns a pointer to the specific action from the federate menu.

QMenu* DtFederateTree::federationMenu ( )
inline

Returns a pointer to the menu which allows users to perform actions related to the current selected federations.

void DtFederateTree::federationSelected ( const MAKRti::DtString &  name)
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 )

bool DtFederateTree::hasValidFederates ( ) const
slot

returns whether any federates are valid.

virtual void DtFederateTree::hideEvent ( QHideEvent *  event)
virtual

Override hideEvent to store the size of the dialog when it is hidden.

void DtFederateTree::initializeQtToolTips ( )
bool DtFederateTree::isFederateDefunct ( QTreeWidgetItem federate)
private

Returns true if passed in federate is defunct.

bool DtFederateTree::isFederateLightweight ( QTreeWidgetItem item) const
protected

Is the federate represented by this QTreeWidgetItem using a lightweight connection.

bool DtFederateTree::isFederateLocal ( QTreeWidgetItem item) const
protected

Is the federate represented by this QTreeWidgetItem locally hosted.

bool DtFederateTree::isFederateValid ( int  federateHandle,
const QString &  fedexName 
) const

Is this federate valid?

bool DtFederateTree::isFederateValid ( QTreeWidgetItem item) const
protected

Is the federate represented by this QTreeWidgetItem valid.

bool DtFederateTree::isFederationLightweight ( QTreeWidgetItem item) const
protected

Is the federation represented by this QTreeWidgetItem using a lightweight connection.

QAction* DtFederateTree::latencyTestAction ( )
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.

void DtFederateTree::multipleItemsSelected ( )
signal

Emitted when multiple items are selected.

void DtFederateTree::nothingSelected ( )
signal

Emitted when selection is cleared.

DtFederateTree& DtFederateTree::operator= ( const DtFederateTree )
private

Assignment operator not implemented – Assignment not allowed!

void DtFederateTree::processInvalidList ( )

Process the list of Invalid federates for automatic removal.

void DtFederateTree::refreshMenus ( )
slot

Refresh the currently available menu options.

virtual void DtFederateTree::removeAllFederateItems ( QTreeWidgetItem fedexItem)
protectedvirtual

Removes all of federate items from the given federation item.

virtual void DtFederateTree::removeAllFederations ( )
virtual

Removes all of the federations from the tree.

virtual bool DtFederateTree::removeFederate ( int  federateHandle,
const QString &  fedexName,
bool  clearedDefunct = false 
)
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.

virtual void DtFederateTree::removeFederateItem ( QTreeWidgetItem fedItem,
QTreeWidgetItem fedexItem,
bool  clearedDefunct = false 
)
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 bool DtFederateTree::removeFederation ( const QString &  name)
virtual

Removes the federation with the given name from the tree.

Returns true if successful.

virtual void DtFederateTree::removeLoadingIndication ( )
virtual

Removes the loading indication messages.

QAction* DtFederateTree::resignFederateAction ( )
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.

void DtFederateTree::setAllColumns ( const std::map< QString, std::pair< int, bool > > &  columns)
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.

void DtFederateTree::showColCustomizeDlg ( )
slot

Displays the column view customize dialog.

void DtFederateTree::showColumns ( )
slot

Updates which columns are shown or hidden.

void DtFederateTree::showContextMenu ( const QPoint &  )
slot

Shows the context menu at the given position.

void DtFederateTree::showFedLatencyTest ( const QString &  ,
int   
)
signal
void DtFederateTree::showLatencyTest ( )
slot

Emits the showFedLatencyTest signal for the selected federate.

void DtFederateTree::signalSelectionChange ( )
slot

Determines what the new selection is and emits the appropriate signal.

virtual QSize DtFederateTree::sizeHint ( ) const
virtual

Returns the recommended size for the widget.

QAction* DtFederateTree::statisticsAction ( )
inline

Returns a pointer to the specific action from the federate menu.

QAction* DtFederateTree::syncPointsAction ( )
inline

Returns a pointer to the specific action from the federate menu.

void DtFederateTree::updateEnableNetworkTestingForSelectedFederations ( )
slot

For each federation selected, enables or disables testing.

virtual bool DtFederateTree::updateFederate ( const DtAssistantFederateInfo federate,
const DtAssistantForwarderInfo forwarderInfo,
const QString &  fedexName,
const std::vector< DtAssistantForwarderInfo > &  peerInfos 
)
virtual

Updates or adds a federate to an existing federation in the tree.

Returns true if a new federation was added.

virtual void DtFederateTree::updateFederateItem ( const DtAssistantFederateInfo federate,
const DtAssistantForwarderInfo forwarderInfo,
const QString &  fedexName,
QTreeWidgetItem fedItem,
const std::vector< DtAssistantForwarderInfo > &  peerInfos 
)
protectedvirtual

Updates the federate item with the given information.

virtual void DtFederateTree::updateFederateItemFromForwarderInformation ( const DtAssistantFederateInfo federate,
const DtAssistantForwarderInfo forwarderInfo,
const QString &  fedexName,
QTreeWidgetItem fedItem,
const std::vector< DtAssistantForwarderInfo > &  peerInfos 
)
protectedvirtual

Updates the federate item with forwarder information.

virtual void DtFederateTree::updateFederateItems ( const DtFederateInfoByHandleMap federates,
const DtAssistantForwarderInfo forwarderInfo,
QTreeWidgetItem fedexItem,
const std::vector< DtAssistantForwarderInfo > &  peerInfos 
)
protectedvirtual

Updates the federate items for the given federation item.

virtual bool DtFederateTree::updateFederation ( const DtAssistantFederationInfo federation,
const DtAssistantForwarderInfo forwarderInfo,
const std::vector< DtAssistantForwarderInfo > &  peerInfos 
)
virtual

Updates or adds a federation to the tree.

Returns true if a new federation was added.

virtual void DtFederateTree::updateFederationColor ( const MAKRti::DtString &  federationName,
const QColor &  color 
)
virtual

Set the color of the specified federation.

Member Data Documentation

const int DtFederateTree::FederateHandleRole
staticprotected
const int DtFederateTree::FederateNameRole
staticprotected
const int DtFederateTree::IsLightweightRole
staticprotected
const int DtFederateTree::IsLocalRole
staticprotected
QAction* DtFederateTree::myChangeFederateIconAction
protected

Federate menu actions.

QIcon DtFederateTree::myCheckIcon
protected

Icons to be used in the federate tree.

QAction* DtFederateTree::myClearAllDeadFederates
protected

Federation menu actions.

QAction* DtFederateTree::myClearCurrDefunctFederate
protected

Federate menu actions.

std::set< std::pair<QString,int> > DtFederateTree::myClearedDefunctFederates
protected

Defunct federates that have been cleared from the display.

QAction* DtFederateTree::myColCustomizeAction
protected
std::vector<QAction*> DtFederateTree::myColDispActions
protected

Column view actions.

std::vector<DtFederateTreeColDescr> DtFederateTree::myColumnDescrs
protected

List of descriptions for each column.

QMenu* DtFederateTree::myColViewMenu
protected

Column view menu.

QMenu* DtFederateTree::myContextMenu
protected

Context Menu.

QIcon DtFederateTree::myContTestIcon
protected

Icons to be used in the federate tree.

std::map<QTreeWidgetItem*, std::pair<MAKRti::DtTime, std::pair<QString,int> > > DtFederateTree::myDefunctFederateTreeWidgets
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

bool DtFederateTree::myDeletionEnabled
protected

Indicates whether or not federate and federation deletion is enabled.

QAction* DtFederateTree::myDestroyFederationAction
protected

Federation menu actions.

QAction* DtFederateTree::myDisplaySyncPointsAction
protected

Federation menu actions.

QIcon DtFederateTree::myDroppedIcon
protected

Icons to be used in the federate tree.

QAction* DtFederateTree::myEnableNetworkTestingAction
protected

Federation menu actions.

QAction* DtFederateTree::myFederateFomAction
protected

Federate menu actions.

QAction* DtFederateTree::myFederateLogAction
protected

Federate menu actions.

QMenu* DtFederateTree::myFederateMenu
protected
float DtFederateTree::myFederateRemovalTime
protected

Time after which defunct federates will automatically be removed from the tree.

QAction* DtFederateTree::myFederateRidParametersAction
protected

Federate menu actions.

std::map<MAKRti::DtString,QColor> DtFederateTree::myFederationColors
protected

Map of federation names to their colors.

QAction* DtFederateTree::myFederationFomAction
protected

Federation menu actions.

QMenu* DtFederateTree::myFederationMenu
protected
std::map<QString,QString> DtFederateTree::myFederationNamesToItemNames
protected

Map of federation names to the names used in the tree.

std::map<QString,QString> DtFederateTree::myItemNamesToFederationNames
protected

Map of federation names to the names used in the tree.

QSize DtFederateTree::myLastVisibleSize
protected

The size of the dialog the last time it was visible.

QAction* DtFederateTree::myLatencyTestAction
protected

Federate menu actions.

QTreeWidgetItem* DtFederateTree::myLoadingIndicationItem
protected

Item that indicates federation information is currently being loaded.

QIcon DtFederateTree::myNoCheckIcon
protected

Icons to be used in the federate tree.

std::map<QTreeWidgetItem*, std::pair<QString,int> > DtFederateTree::myReconnectedFederates
protected

Federates that have successfully reconnected.

std::map<QTreeWidgetItem*, std::pair<QString,int> > DtFederateTree::myReconnectingFederates
protected

Federates that are currently attempting to reconnect.

QIcon DtFederateTree::myRedAttention
protected

Icons to be used in the federate tree.

QAction* DtFederateTree::myResignFederateAction
protected

Federate menu actions.

bool DtFederateTree::myShouldAddShutdownAllToMenu
protected

Determines based on RTI_ASSISTANT_REMOVE_SHUT_DOWN_ALL environment variable whether shut down all, resign, and destroy actions should be visible.

QIcon DtFederateTree::mySingleTestIcon
protected

Icons to be used in the federate tree.

QAction* DtFederateTree::myStatisticsAction
protected

Federate menu actions.

std::set<QTreeWidgetItem*> DtFederateTree::myTestDisabledFederations
protected

Federations that have testing disabled.

QIcon DtFederateTree::myTestIcon
protected

Icons to be used in the federate tree.

MAKRti::DtClock DtFederateTree::myTimer
protected
QIcon DtFederateTree::myWorldWideWeb
protected

Icons to be used in the federate tree.

QIcon DtFederateTree::myYellowAttention
protected

Icons to be used in the federate tree.

const int DtFederateTree::TestEnableRole
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.

const int DtFederateTree::theLastColDefaultedOn
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.


The documentation for this class was generated from the following file:

Document ID: Generated on Mon Sep 7 15:40:32 EDT 2020 from SVN revision 217499
Copyright © 2005-2020 MAK Technologies Inc. All Rights Reserved (www.mak.com)