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

Public Types

enum  DtFederationsViewHeaderEnum {
  DtFederationsViewProcess = 0, DtFederationsViewIP, DtFederationsViewHandle, DtFederationsViewHostName,
  DtFederationsViewQueueStatus, DtFederationsViewName, DtFederationsViewType, DtFederationsViewPID,
  DtFederationsViewCommandLine
}

Public Slots

void processConnectionSelection (int index, bool ignoreVisibility=false)
 Processes the selection of a new connection.
void showHelpDialog ()
 Shows the help dialog.
void processHelpDialogClose ()
 Handles cleanup of the help dialog after it is closed.
void showEvent (QShowEvent *event)
 Override QWidget's show function so we can display the correct forwarder.
virtual void hideEvent (QHideEvent *event)
 Override hideEvent to store the size of the dialog when it is hidden.
void closeEvent (QCloseEvent *event)
 Override QWidget's close function so we can stop observers.
void keyPressEvent (QKeyEvent *event)
 Handles key press events.
void shutdownCurrentRtiexec ()
 Processes a command to shutdown the current rtiexec.
void shutdownCurrentRtiForwarder ()
 Processes a command to shutdown the current RTI Forwarder.
void updateNetworkMap ()
 Update the Network Map widget.
void changeFederationColor (const QString &federationName, const QColor &newColor)
 Changes the color of the specified federation.
void enableFederationColors (bool enable)
 Enable/disable display of federation colors.
void setFederateIdentifierType (unsigned int fedIdType)
 Change the text type used to identify federates.
void showSyncPointDialog ()
 Shows the sync point dialog for the selected federation.
void showFederateStatsDialog ()
 Shows the federate statistics dialog for the selected federate.
void showFomDialog ()
 Shows the Fom dialog for the selected federate.
void enableOrDisableMenuActions (const DtRtiConnectionInfo &conn)
 Enables or disables menu actions based on selected connection.
void updateFederateRemovalTime (float period)
 Processes an update to the defunct federate removal period.
void clearSelection ()
 Processes unselection.
void updateFederateIcon ()
 Updates the icon for the selected federate to the user chosen image.
void showSelectedFederateRidParams ()
 Handles a request to show the RID parameters for the selected federate.
void showSelectedFederateLog ()
 Handles a request to show the log file for the selected federate.

Signals

void viewedConnectionChanged (const DtRtiConnectionInfo &conn)
 Emitted when the user chooses a different connection to be viewed.
void shutdownRtiexec ()
 Emitted when the currently viewed rtiexec should be shutdown.
void shutdownForwarder ()
 Emitted when the currently viewed RTI Forwarder should be shutdown.
void aboutDialogRequested ()
 Emitted when the RTI about dialog is requested.
void showPopup (const MAKRti::DtString &, const MAKRti::DtString &, const MAKRti::DtString &)
 Emitted when a popup dialog from a remote rtiexec should be displayed.
void forceFederateResign (int, const QString &)
 Emitted when user has requested to resign a federate.
void forceFederationDestroy (const QString &)
 Emitted when user has requested to destroy a federation.
void showRtiexecRidParams ()
 Emitted when RID parameters for the current rtiexec are requested.
void showForwarderRidParams ()
 Emitted when RID parameters for the current RTI Forwarder are requested.
void showFederateRidParams (const MAKRti::DtString &federation, int federateHandle)
 Emitted when RID parameters for the specified federate are requested.
void showRtiexecLog ()
 Emitted to display a local rtiexec's log.
void showForwarderLog ()
 Emitted to display a local forwarder's log.
void showFederateLog (const MAKRti::DtString &federation, int federateHandle)
 Emitted when log file for the specified federate are requested.
void showLatencyTestDialog (const QString &fedexName, int fedHandle)
 Emitted when a latency test is requested.
void enableNetworkTesting (const QString &fedexName)
 Emitted to enable network testing for the given federation.
void disableNetworkTesting (const QString &fedexName)
 Emitted to disable network testing for the given federation.
void saveToLog ()
 Emitted when a user requests to save the currently displayed federation information to a log file.
void showFederationsViewPreferences ()
 Emitted to show the federations view preferences.
void federateSelected (const MAKRti::DtString &federation, int federateHandle)
 Emitted on the selection of a federate.
void rtiexecSelected ()
 Emitted on the selection of an rtiexec.
void forwarderSelected (const MAKRti::DtString &name)
 Emitted on the selection of a central forwarder.
void peerForwarderSelected (const MAKRti::DtString &name)
 Emitted on the selection of a peer forwarder.
void federationSelected (const MAKRti::DtString &name)
 Emitted on the selection of a federation.
void lightweightSelected ()
 Emitted on the selection of the central lightweight node.
void showSyncPointDialog (const MAKRti::DtString &name)
 Emitted to show a sync point dialog for the given federation.
void showFederateStatsDialog (const MAKRti::DtString &federation, int federateHandle)
 Emitted to show the federate statistics dialog for the given federate.
void defunctFederateRemoved (const MAKRti::DtString &federation, int federateHandle)
 Emitted when a defunct federate was removed from the federate tree.
void showFomDialog (const MAKRti::DtString &federation, int federateHandle)
 Emitted to show the fom dialog for the given federate.

Public Member Functions

 DtFederationsViewDialog (const MAKRti::DtFilename &configDir, QWidget *parent=0, Qt::WindowFlags flags=0)
 Constructor.
virtual ~DtFederationsViewDialog ()
 Destructor.
virtual QSize sizeHint () const
 Returns the recommended size for the widget.
virtual void tick ()
 Performs periodic functions.
virtual void setConnectionIsLocal (const MAKRti::DtString &name, bool isLocal)
 Changes the state of whether the given forwarder connection is being used by a local component.
virtual void checkAndAddMainForwarder (const MAKRti::DtString &hostname)
 Makes sure the currently displayed forwarder is up to date.
virtual void checkAndAddLightweight (const MAKRti::DtString &hostname)
 Makes sure the currently displayed lightweight connection is up to date.
virtual void addNetworkMapForwarderNode (const MAKRti::DtString &forwarderName)
 Adds a forwarder node to the network map.
virtual void removeNetworkMapForwarderNode (const MAKRti::DtString &forwarderName)
 Removes a forwarder node from the network map.
virtual void addNetworkMapRtiexecNode ()
 Adds an rtiexec node to the network map.
virtual void removeNetworkMapRtiexecNode ()
 Removes an rtiexec node from the network map.
virtual void addNetworkMapFederateNode (int fedHandle, const MAKRti::DtString &federationName, const MAKRti::DtString &processName, const MAKRti::DtString &fedType, const MAKRti::DtString &fedName, bool notJoined=false, bool isDropped=false)
 Adds a federate node to the network map.
virtual void removeNetworkMapFederateNode (int fedHandle, const MAKRti::DtString &federationName)
 Removes a federate node from the network map.
void updateNetworkMapFederateNode (int fedHandle, const MAKRti::DtString &federationName, int queueStatus, bool disconnected, bool reconnecting, bool inErrorState=false)
 Updates a federate node in the network map.
void refreshNetworkMap ()
 Refreshes the network map. Should be called after any series of updates.
virtual void clearData ()
 clears old data.
virtual void setViewedConnectionDescription (const DtRtiConnectionInfo &conn)
 Set forwarder connection info.
virtual void clearNetworkMap ()
 Clears all data from the connection tree.
virtual void enableCommands (bool enable)
 Enables or disables the rtiexec & forwarder shutdown option.
virtual void enableRtiExecShutdownCommand (bool enable)
 Enables or disables the rtiexec shutdown option.
virtual void enableRtiForwarderShutdownCommand (bool enable)
 Enables or disables the forwarder shutdown option.
virtual void displayLoadingIndication ()
 Displays a message that the current federation information is loading.
virtual void removeLoadingIndication ()
 Removes the loading indication messages.
void saveGuiConfiguration ()
 Saves the current GUI configuration to file.
Ui::FederationsViewDialog getUiImpl () const
virtual int addConnection (const MAKRti::DtString &name, const DtRtiConnectionInfo &conn, bool isLocal)
 Adds a connection to the list of viewable connections.
virtual void removeConnection (const MAKRti::DtString &name)
 Removes an rtiexec from the list of viewable rtiexecs.
virtual void updateFederations (const DtFederationStateByNameMap *federations, const DtAssistantForwarderInfo *forwarderInfo)
 Updates the displayed federation information for the currently displayed connection.
virtual void updateFederation (const DtAssistantFederationInfo *federation, const DtAssistantForwarderInfo *forwarderInfo)
 Updates a federation of the currently displayed connection.
virtual void removeFederation (const MAKRti::DtString &federationName)
 Removes a federation from the currently displayed connection.
virtual void removeAllFederations ()
 Removes all federations from the display.
virtual void updateFederate (const DtAssistantFederateInfo &federate, const DtAssistantForwarderInfo *forwarderInfo, const MAKRti::DtString &federationName)
 Updates a federate in the given federation of the currently displayed connection.
virtual void removeFederate (int federateHandle, const MAKRti::DtString &federationName)
 Removes a federate from the given federation of the currently displayed connection.
void setupFederateTree ()
 Sets up the federate tree, including the initial column display and the View/Column menu actions.
virtual void setFederateIdentifierType (DtFederateIdentifierType fedIdType)
 Change the text type used to identify federates.
void selectFederate (const MAKRti::DtString &federation, int federateHandle, const DtAssistantFederateInfo *fedInfo, const DtAssistantNetworkCompInfo *netCompInfo)
 Processes selection of a federate.
void selectDeadFederate (const MAKRti::DtString &federation, const MAKRti::DtString &federateName, const DtAssistantNetworkCompInfo &newInfo)
 Processes selection of a Dead (Disconnected or Dropped) federate.
void selectRtiexec (const DtAssistantNetworkCompInfo *netCompInfo)
 Processes selection of an rtiexec.
void selectForwarder (const MAKRti::DtString &name)
 Processes selection of a central forwarder.
void selectPeerForwarder (const DtAssistantNetworkCompInfo *netCompInfo)
 Processes selection of a peer forwarder.
void selectFederation (const DtAssistantFederationInfo *)
 Processes selection of a federation.
void selectLightweight ()
 Processes selection of the lightweight connection node.
virtual void initializeQtToolTips ()

Protected Types

enum  DtSelectedNodeType {
  DtForwarderNode, DtRtiexecNode, DtFederateNode, DtFederationNode,
  DtLightweightNode, DtNoSelectedNode
}

Protected Member Functions

void showFederateInfo (const MAKRti::DtString &federation, int federateHandle, const DtAssistantFederateInfo *fedInfo, const DtAssistantNetworkCompInfo *netCompInfo)
 Displays info on the specified federate in the selected node panel.
void showDeadFederateInfo (const MAKRti::DtString &federation, const MAKRti::DtString &federateName, bool isDropped, const DtAssistantNetworkCompInfo &newInfo)
 Displays info on the specified dead federate in the selcted node panel.
void showRtiexecInfo (const DtAssistantNetworkCompInfo *info)
 Displays info on the specified rtiexec in the selected node panel.
void showForwarderInfo (const DtRtiConnectionInfo &info)
 Displays info on the specified forwarder in the selected node panel.
void showPeerForwarderInfo (const DtAssistantNetworkCompInfo *netCompInfo)
 Displays info on the specified peer forwarder.
void showFederationInfo (const DtAssistantFederationInfo *info, bool update)
 Displays info on the specified rtiexec in the selected node panel.
void showLightweightInfo (const DtRtiConnectionInfo &info)
 Displays info on the specified lightweight connection in the selected node panel.
MAKRti::DtString selectedFederateId () const
 Returns the federate identifier to use for the selected federate.
void loadGuiConfiguration ()
 Loads the GUI configuration from a file.
Setup methods
void setupUI ()
 Sets up the Federations View UI.
void setupMenus ()
 Populates the menus with the sub-menus and actions.
void connectSignals ()
 Connects Qt signals and slots.

Protected Attributes

Ui::FederationsViewDialog myUiImpl
bool myRtiExecInCurrentViewedConn
QProcess * myHelpAssistant
 Help application.
QComboBox * myConnectionComboBox
 Combo box for selecting an RTI connection.
QLabelmyRtiForwarderLabel
 Current Connection layout widgets.
QGridLayout * myPropertiesAreaLayout
QWidgetmyPropertiesAreaLayoutWidget
QToolBar * myToolBar
QWidgetmyCentralWidget
QTreeWidgetItemmyExecItem
QTreeWidgetItemmyCurrentViewedItem
QTreeWidgetItemmyLoadingIndicationItem
 Item that indicates information is being loaded.
QString theNoConnectionsAvailableText
 Text displayed in the combo box if there are no known rtiForwarders.
DtNetworkMapWidgetmyNetworkMapWidget
 The network map widget.
QTimer * myNetworkMapTimer
QTime * myNetworkMapTimeDelta
DtRtiSelectedNodeWidgetmySelectedItemWidget
 The selected item widget.
QDockWidget * myNetworkMapDock
 Docking Widgets.
QDockWidget * mySelectedItemDock
DtRtiConnectionInfo myCurrentConnectionInfo
 Details of the selected connection.
DtFederateIconChooserDlgmyFedIconChooser
 The dialog to choose a federate icon.
bool myDisplayingLw
 Indicates whether we are currently displaying a lightweight connection.
MAKRti::DtFilename myConfigDir
 The RTI Assistant configuration directory.
bool myFirstTimeShown
 Indicates that the dialog has not yet been shown.
std::map< QString,
DtRtiConnectionInfo
myConnsByName
 Name to connection info map.
QString myLastViewedConnection
 Name of connection shown last time dialog was displayed.
DtFederateTreemyFederateTree
 Federate tree.
QDockWidget * myFederationsViewDock
 Dock widget for the federations view tree.
DtFederateIdentifierType myFederateIdentifier
 What identifying text should be displayed for federates.
DtSelectedNodeType mySelectedNodeType
 The type of node currently selected.
MAKRti::DtString mySelectedFederation
 Name of the selected federation.
int mySelectedFederate
 Handle of the selected federate.
MAKRti::DtString mySelectedFederateType
 Federate type of selected federate.
MAKRti::DtString mySelectedFederateName
 Federate name of selected federate.
MAKRti::DtFilename mySelectedFederateProcess
 Process name of selected federate.
QSize myLastVisibleSize
 The size of the dialog the last time it was visible.
bool myShouldAddShutdownAllToMenu
 Determines based on RTI_ASSISTANT_REMOVE_SHUT_DOWN_ALL environment variable whether shut down all, resign, and destroy actions should be visible.
Menus and actions
QMenu * myFileMenu
 File menu.
QAction * myCloseAction
 File menu.
QAction * mySaveAction
 File menu.
QMenu * myViewMenu
 View menu.
QAction * myNetworkMapAction
 File menu.
QAction * myNetworkTreeAction
 File menu.
QAction * mySelectedNodeAction
 File menu.
QMenu * myRtiexecMenu
 rtiexec menu
QAction * myRtiexecRidAction
 File menu.
QAction * myRtiexecLogAction
 File menu.
QAction * myShutdownRtiexecAction
 File menu.
QMenu * myForwarderMenu
 Forwarder menu.
QAction * myForwarderRidAction
 File menu.
QAction * myForwarderLogAction
 File menu.
QAction * myShutdownForwarderAction
 File menu.
QMenu * myFederateMenu
 Federate menu.
QAction * myStatisticsAction
 File menu.
QAction * myRunLatencyTestAction
 File menu.
QAction * myFederateRidAction
 File menu.
QAction * myFederateFomAction
 File menu.
QAction * myFederateLogAction
 File menu.
QAction * myChangeFederateIconAction
 File menu.
QAction * myResignFederateAction
 File menu.
QMenu * myFederationMenu
 Federation menu.
QAction * myFederationFomAction
 File menu.
QAction * myDisplaySyncPointsAction
 File menu.
QAction * myDestroyFederationAction
 File menu.
QMenu * myToolsMenu
 Tools menu.
QAction * myOptionsAction
 File menu.
QMenu * myHelpMenu
 Help menu.
QAction * myHelpAction
 File menu.
QAction * myAboutAction
 File menu.
QMenu * myCompColumnMenu
 Component tree column view menu.
QString theRtiexecLogEnabledText
 Text to be displayed for log file viewing actions depending on whether viewing is enabled or disabled.
QString theRtiexecLogDisabledText
 Text to be displayed for log file viewing actions depending on whether viewing is enabled or disabled.
QString theForwarderLogEnabledText
 Text to be displayed for log file viewing actions depending on whether viewing is enabled or disabled.
QString theForwarderLogDisabledText
 Text to be displayed for log file viewing actions depending on whether viewing is enabled or disabled.

Static Protected Attributes

static const QString theLoadingText
 Text displayed when loading information.
static const MAKRti::DtFilename theConfigFilename
 The name of the file where the GUI configuration is stored.

Member Enumeration Documentation

Enumerator:
DtFederationsViewProcess 
DtFederationsViewIP 
DtFederationsViewHandle 
DtFederationsViewHostName 
DtFederationsViewQueueStatus 
DtFederationsViewName 
DtFederationsViewType 
DtFederationsViewPID 
DtFederationsViewCommandLine 
Enumerator:
DtForwarderNode 
DtRtiexecNode 
DtFederateNode 
DtFederationNode 
DtLightweightNode 
DtNoSelectedNode 

Constructor & Destructor Documentation

DtFederationsViewDialog::DtFederationsViewDialog ( const MAKRti::DtFilename &  configDir,
QWidget parent = 0,
Qt::WindowFlags  flags = 0 
)

Constructor.

virtual DtFederationsViewDialog::~DtFederationsViewDialog ( )
virtual

Destructor.

Member Function Documentation

void DtFederationsViewDialog::aboutDialogRequested ( )
signal

Emitted when the RTI about dialog is requested.

virtual int DtFederationsViewDialog::addConnection ( const MAKRti::DtString &  name,
const DtRtiConnectionInfo conn,
bool  isLocal 
)
virtual

Adds a connection to the list of viewable connections.

Returns the index of the new connection (index is only useful internally to this class). If isLocal is true this connection will be identified as a potential default connection to be shown.

virtual void DtFederationsViewDialog::addNetworkMapFederateNode ( int  fedHandle,
const MAKRti::DtString &  federationName,
const MAKRti::DtString &  processName,
const MAKRti::DtString &  fedType,
const MAKRti::DtString &  fedName,
bool  notJoined = false,
bool  isDropped = false 
)
virtual

Adds a federate node to the network map.

virtual void DtFederationsViewDialog::addNetworkMapForwarderNode ( const MAKRti::DtString &  forwarderName)
virtual

Adds a forwarder node to the network map.

virtual void DtFederationsViewDialog::addNetworkMapRtiexecNode ( )
virtual

Adds an rtiexec node to the network map.

void DtFederationsViewDialog::changeFederationColor ( const QString &  federationName,
const QColor &  newColor 
)
slot

Changes the color of the specified federation.

virtual void DtFederationsViewDialog::checkAndAddLightweight ( const MAKRti::DtString &  hostname)
virtual

Makes sure the currently displayed lightweight connection is up to date.

virtual void DtFederationsViewDialog::checkAndAddMainForwarder ( const MAKRti::DtString &  hostname)
virtual

Makes sure the currently displayed forwarder is up to date.

virtual void DtFederationsViewDialog::clearData ( )
virtual

clears old data.

virtual void DtFederationsViewDialog::clearNetworkMap ( )
virtual

Clears all data from the connection tree.

void DtFederationsViewDialog::clearSelection ( )
slot

Processes unselection.

void DtFederationsViewDialog::closeEvent ( QCloseEvent *  event)
slot

Override QWidget's close function so we can stop observers.

void DtFederationsViewDialog::connectSignals ( )
protected

Connects Qt signals and slots.

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

Emitted when a defunct federate was removed from the federate tree.

void DtFederationsViewDialog::disableNetworkTesting ( const QString &  fedexName)
signal

Emitted to disable network testing for the given federation.

virtual void DtFederationsViewDialog::displayLoadingIndication ( )
virtual

Displays a message that the current federation information is loading.

virtual void DtFederationsViewDialog::enableCommands ( bool  enable)
virtual

Enables or disables the rtiexec & forwarder shutdown option.

void DtFederationsViewDialog::enableFederationColors ( bool  enable)
slot

Enable/disable display of federation colors.

void DtFederationsViewDialog::enableNetworkTesting ( const QString &  fedexName)
signal

Emitted to enable network testing for the given federation.

void DtFederationsViewDialog::enableOrDisableMenuActions ( const DtRtiConnectionInfo conn)
slot

Enables or disables menu actions based on selected connection.

virtual void DtFederationsViewDialog::enableRtiExecShutdownCommand ( bool  enable)
virtual

Enables or disables the rtiexec shutdown option.

virtual void DtFederationsViewDialog::enableRtiForwarderShutdownCommand ( bool  enable)
virtual

Enables or disables the forwarder shutdown option.

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

Emitted on the selection of a federate.

void DtFederationsViewDialog::federationSelected ( const MAKRti::DtString &  name)
signal

Emitted on the selection of a federation.

void DtFederationsViewDialog::forceFederateResign ( int  ,
const QString &   
)
signal

Emitted when user has requested to resign a federate.

void DtFederationsViewDialog::forceFederationDestroy ( const QString &  )
signal

Emitted when user has requested to destroy a federation.

void DtFederationsViewDialog::forwarderSelected ( const MAKRti::DtString &  name)
signal

Emitted on the selection of a central forwarder.

Ui::FederationsViewDialog DtFederationsViewDialog::getUiImpl ( ) const
virtual void DtFederationsViewDialog::hideEvent ( QHideEvent *  event)
virtualslot

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

virtual void DtFederationsViewDialog::initializeQtToolTips ( )
virtual
void DtFederationsViewDialog::keyPressEvent ( QKeyEvent *  event)
slot

Handles key press events.

void DtFederationsViewDialog::lightweightSelected ( )
signal

Emitted on the selection of the central lightweight node.

void DtFederationsViewDialog::loadGuiConfiguration ( )
protected

Loads the GUI configuration from a file.

void DtFederationsViewDialog::peerForwarderSelected ( const MAKRti::DtString &  name)
signal

Emitted on the selection of a peer forwarder.

void DtFederationsViewDialog::processConnectionSelection ( int  index,
bool  ignoreVisibility = false 
)
slot

Processes the selection of a new connection.

If ignoreVisibility is set, the selection change will be processed even if the dialog is not visible.

void DtFederationsViewDialog::processHelpDialogClose ( )
slot

Handles cleanup of the help dialog after it is closed.

void DtFederationsViewDialog::refreshNetworkMap ( )

Refreshes the network map. Should be called after any series of updates.

virtual void DtFederationsViewDialog::removeAllFederations ( )
virtual

Removes all federations from the display.

virtual void DtFederationsViewDialog::removeConnection ( const MAKRti::DtString &  name)
virtual

Removes an rtiexec from the list of viewable rtiexecs.

virtual void DtFederationsViewDialog::removeFederate ( int  federateHandle,
const MAKRti::DtString &  federationName 
)
virtual

Removes a federate from the given federation of the currently displayed connection.

virtual void DtFederationsViewDialog::removeFederation ( const MAKRti::DtString &  federationName)
virtual

Removes a federation from the currently displayed connection.

virtual void DtFederationsViewDialog::removeLoadingIndication ( )
virtual

Removes the loading indication messages.

virtual void DtFederationsViewDialog::removeNetworkMapFederateNode ( int  fedHandle,
const MAKRti::DtString &  federationName 
)
virtual

Removes a federate node from the network map.

virtual void DtFederationsViewDialog::removeNetworkMapForwarderNode ( const MAKRti::DtString &  forwarderName)
virtual

Removes a forwarder node from the network map.

virtual void DtFederationsViewDialog::removeNetworkMapRtiexecNode ( )
virtual

Removes an rtiexec node from the network map.

void DtFederationsViewDialog::rtiexecSelected ( )
signal

Emitted on the selection of an rtiexec.

void DtFederationsViewDialog::saveGuiConfiguration ( )

Saves the current GUI configuration to file.

void DtFederationsViewDialog::saveToLog ( )
signal

Emitted when a user requests to save the currently displayed federation information to a log file.

void DtFederationsViewDialog::selectDeadFederate ( const MAKRti::DtString &  federation,
const MAKRti::DtString &  federateName,
const DtAssistantNetworkCompInfo newInfo 
)

Processes selection of a Dead (Disconnected or Dropped) federate.

MAKRti::DtString DtFederationsViewDialog::selectedFederateId ( ) const
protected

Returns the federate identifier to use for the selected federate.

void DtFederationsViewDialog::selectFederate ( const MAKRti::DtString &  federation,
int  federateHandle,
const DtAssistantFederateInfo fedInfo,
const DtAssistantNetworkCompInfo netCompInfo 
)

Processes selection of a federate.

void DtFederationsViewDialog::selectFederation ( const DtAssistantFederationInfo )

Processes selection of a federation.

void DtFederationsViewDialog::selectForwarder ( const MAKRti::DtString &  name)

Processes selection of a central forwarder.

void DtFederationsViewDialog::selectLightweight ( )

Processes selection of the lightweight connection node.

void DtFederationsViewDialog::selectPeerForwarder ( const DtAssistantNetworkCompInfo netCompInfo)

Processes selection of a peer forwarder.

void DtFederationsViewDialog::selectRtiexec ( const DtAssistantNetworkCompInfo netCompInfo)

Processes selection of an rtiexec.

virtual void DtFederationsViewDialog::setConnectionIsLocal ( const MAKRti::DtString &  name,
bool  isLocal 
)
virtual

Changes the state of whether the given forwarder connection is being used by a local component.

virtual void DtFederationsViewDialog::setFederateIdentifierType ( DtFederateIdentifierType  fedIdType)
virtual

Change the text type used to identify federates.

void DtFederationsViewDialog::setFederateIdentifierType ( unsigned int  fedIdType)
slot

Change the text type used to identify federates.

void DtFederationsViewDialog::setupFederateTree ( )

Sets up the federate tree, including the initial column display and the View/Column menu actions.

void DtFederationsViewDialog::setupMenus ( )
protected

Populates the menus with the sub-menus and actions.

void DtFederationsViewDialog::setupUI ( )
protected

Sets up the Federations View UI.

virtual void DtFederationsViewDialog::setViewedConnectionDescription ( const DtRtiConnectionInfo conn)
virtual

Set forwarder connection info.

void DtFederationsViewDialog::showDeadFederateInfo ( const MAKRti::DtString &  federation,
const MAKRti::DtString &  federateName,
bool  isDropped,
const DtAssistantNetworkCompInfo newInfo 
)
protected

Displays info on the specified dead federate in the selcted node panel.

void DtFederationsViewDialog::showEvent ( QShowEvent *  event)
slot

Override QWidget's show function so we can display the correct forwarder.

void DtFederationsViewDialog::showFederateInfo ( const MAKRti::DtString &  federation,
int  federateHandle,
const DtAssistantFederateInfo fedInfo,
const DtAssistantNetworkCompInfo netCompInfo 
)
protected

Displays info on the specified federate in the selected node panel.

void DtFederationsViewDialog::showFederateLog ( const MAKRti::DtString &  federation,
int  federateHandle 
)
signal

Emitted when log file for the specified federate are requested.

void DtFederationsViewDialog::showFederateRidParams ( const MAKRti::DtString &  federation,
int  federateHandle 
)
signal

Emitted when RID parameters for the specified federate are requested.

void DtFederationsViewDialog::showFederateStatsDialog ( )
slot

Shows the federate statistics dialog for the selected federate.

void DtFederationsViewDialog::showFederateStatsDialog ( const MAKRti::DtString &  federation,
int  federateHandle 
)
signal

Emitted to show the federate statistics dialog for the given federate.

void DtFederationsViewDialog::showFederationInfo ( const DtAssistantFederationInfo info,
bool  update 
)
protected

Displays info on the specified rtiexec in the selected node panel.

If update is true, the dialog won't be cleared, just updated with any changed values.

void DtFederationsViewDialog::showFederationsViewPreferences ( )
signal

Emitted to show the federations view preferences.

void DtFederationsViewDialog::showFomDialog ( )
slot

Shows the Fom dialog for the selected federate.

void DtFederationsViewDialog::showFomDialog ( const MAKRti::DtString &  federation,
int  federateHandle 
)
signal

Emitted to show the fom dialog for the given federate.

void DtFederationsViewDialog::showForwarderInfo ( const DtRtiConnectionInfo info)
protected

Displays info on the specified forwarder in the selected node panel.

void DtFederationsViewDialog::showForwarderLog ( )
signal

Emitted to display a local forwarder's log.

void DtFederationsViewDialog::showForwarderRidParams ( )
signal

Emitted when RID parameters for the current RTI Forwarder are requested.

void DtFederationsViewDialog::showHelpDialog ( )
slot

Shows the help dialog.

void DtFederationsViewDialog::showLatencyTestDialog ( const QString &  fedexName,
int  fedHandle 
)
signal

Emitted when a latency test is requested.

void DtFederationsViewDialog::showLightweightInfo ( const DtRtiConnectionInfo info)
protected

Displays info on the specified lightweight connection in the selected node panel.

void DtFederationsViewDialog::showPeerForwarderInfo ( const DtAssistantNetworkCompInfo netCompInfo)
protected

Displays info on the specified peer forwarder.

void DtFederationsViewDialog::showPopup ( const MAKRti::DtString &  ,
const MAKRti::DtString &  ,
const MAKRti::DtString &   
)
signal

Emitted when a popup dialog from a remote rtiexec should be displayed.

void DtFederationsViewDialog::showRtiexecInfo ( const DtAssistantNetworkCompInfo info)
protected

Displays info on the specified rtiexec in the selected node panel.

void DtFederationsViewDialog::showRtiexecLog ( )
signal

Emitted to display a local rtiexec's log.

void DtFederationsViewDialog::showRtiexecRidParams ( )
signal

Emitted when RID parameters for the current rtiexec are requested.

void DtFederationsViewDialog::showSelectedFederateLog ( )
slot

Handles a request to show the log file for the selected federate.

void DtFederationsViewDialog::showSelectedFederateRidParams ( )
slot

Handles a request to show the RID parameters for the selected federate.

void DtFederationsViewDialog::showSyncPointDialog ( )
slot

Shows the sync point dialog for the selected federation.

void DtFederationsViewDialog::showSyncPointDialog ( const MAKRti::DtString &  name)
signal

Emitted to show a sync point dialog for the given federation.

void DtFederationsViewDialog::shutdownCurrentRtiexec ( )
slot

Processes a command to shutdown the current rtiexec.

void DtFederationsViewDialog::shutdownCurrentRtiForwarder ( )
slot

Processes a command to shutdown the current RTI Forwarder.

void DtFederationsViewDialog::shutdownForwarder ( )
signal

Emitted when the currently viewed RTI Forwarder should be shutdown.

void DtFederationsViewDialog::shutdownRtiexec ( )
signal

Emitted when the currently viewed rtiexec should be shutdown.

virtual QSize DtFederationsViewDialog::sizeHint ( ) const
virtual

Returns the recommended size for the widget.

virtual void DtFederationsViewDialog::tick ( )
virtual

Performs periodic functions.

virtual void DtFederationsViewDialog::updateFederate ( const DtAssistantFederateInfo federate,
const DtAssistantForwarderInfo forwarderInfo,
const MAKRti::DtString &  federationName 
)
virtual

Updates a federate in the given federation of the currently displayed connection.

Adds the federate if it does not already exist.

void DtFederationsViewDialog::updateFederateIcon ( )
slot

Updates the icon for the selected federate to the user chosen image.

void DtFederationsViewDialog::updateFederateRemovalTime ( float  period)
slot

Processes an update to the defunct federate removal period.

virtual void DtFederationsViewDialog::updateFederation ( const DtAssistantFederationInfo federation,
const DtAssistantForwarderInfo forwarderInfo 
)
virtual

Updates a federation of the currently displayed connection.

Adds the federation if it does not already exist.

virtual void DtFederationsViewDialog::updateFederations ( const DtFederationStateByNameMap federations,
const DtAssistantForwarderInfo forwarderInfo 
)
virtual

Updates the displayed federation information for the currently displayed connection.

void DtFederationsViewDialog::updateNetworkMap ( )
slot

Update the Network Map widget.

void DtFederationsViewDialog::updateNetworkMapFederateNode ( int  fedHandle,
const MAKRti::DtString &  federationName,
int  queueStatus,
bool  disconnected,
bool  reconnecting,
bool  inErrorState = false 
)

Updates a federate node in the network map.

void DtFederationsViewDialog::viewedConnectionChanged ( const DtRtiConnectionInfo conn)
signal

Emitted when the user chooses a different connection to be viewed.

Member Data Documentation

QAction* DtFederationsViewDialog::myAboutAction
protected

File menu.

QWidget* DtFederationsViewDialog::myCentralWidget
protected
QAction* DtFederationsViewDialog::myChangeFederateIconAction
protected

File menu.

QAction* DtFederationsViewDialog::myCloseAction
protected

File menu.

QMenu* DtFederationsViewDialog::myCompColumnMenu
protected

Component tree column view menu.

MAKRti::DtFilename DtFederationsViewDialog::myConfigDir
protected

The RTI Assistant configuration directory.

QComboBox* DtFederationsViewDialog::myConnectionComboBox
protected

Combo box for selecting an RTI connection.

std::map< QString, DtRtiConnectionInfo > DtFederationsViewDialog::myConnsByName
protected

Name to connection info map.

DtRtiConnectionInfo DtFederationsViewDialog::myCurrentConnectionInfo
protected

Details of the selected connection.

QTreeWidgetItem* DtFederationsViewDialog::myCurrentViewedItem
protected
QAction* DtFederationsViewDialog::myDestroyFederationAction
protected

File menu.

bool DtFederationsViewDialog::myDisplayingLw
protected

Indicates whether we are currently displaying a lightweight connection.

QAction* DtFederationsViewDialog::myDisplaySyncPointsAction
protected

File menu.

QTreeWidgetItem* DtFederationsViewDialog::myExecItem
protected
QAction* DtFederationsViewDialog::myFederateFomAction
protected

File menu.

DtFederateIdentifierType DtFederationsViewDialog::myFederateIdentifier
protected

What identifying text should be displayed for federates.

QAction* DtFederationsViewDialog::myFederateLogAction
protected

File menu.

QMenu* DtFederationsViewDialog::myFederateMenu
protected

Federate menu.

QAction* DtFederationsViewDialog::myFederateRidAction
protected

File menu.

DtFederateTree* DtFederationsViewDialog::myFederateTree
protected

Federate tree.

QAction* DtFederationsViewDialog::myFederationFomAction
protected

File menu.

QMenu* DtFederationsViewDialog::myFederationMenu
protected

Federation menu.

QDockWidget* DtFederationsViewDialog::myFederationsViewDock
protected

Dock widget for the federations view tree.

DtFederateIconChooserDlg* DtFederationsViewDialog::myFedIconChooser
protected

The dialog to choose a federate icon.

QMenu* DtFederationsViewDialog::myFileMenu
protected

File menu.

bool DtFederationsViewDialog::myFirstTimeShown
protected

Indicates that the dialog has not yet been shown.

QAction* DtFederationsViewDialog::myForwarderLogAction
protected

File menu.

QMenu* DtFederationsViewDialog::myForwarderMenu
protected

Forwarder menu.

QAction* DtFederationsViewDialog::myForwarderRidAction
protected

File menu.

QAction* DtFederationsViewDialog::myHelpAction
protected

File menu.

QProcess* DtFederationsViewDialog::myHelpAssistant
protected

Help application.

QMenu* DtFederationsViewDialog::myHelpMenu
protected

Help menu.

QString DtFederationsViewDialog::myLastViewedConnection
protected

Name of connection shown last time dialog was displayed.

QSize DtFederationsViewDialog::myLastVisibleSize
protected

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

QTreeWidgetItem* DtFederationsViewDialog::myLoadingIndicationItem
protected

Item that indicates information is being loaded.

QAction* DtFederationsViewDialog::myNetworkMapAction
protected

File menu.

QDockWidget* DtFederationsViewDialog::myNetworkMapDock
protected

Docking Widgets.

QTime* DtFederationsViewDialog::myNetworkMapTimeDelta
protected
QTimer* DtFederationsViewDialog::myNetworkMapTimer
protected
DtNetworkMapWidget* DtFederationsViewDialog::myNetworkMapWidget
protected

The network map widget.

QAction* DtFederationsViewDialog::myNetworkTreeAction
protected

File menu.

QAction* DtFederationsViewDialog::myOptionsAction
protected

File menu.

QGridLayout* DtFederationsViewDialog::myPropertiesAreaLayout
protected
QWidget* DtFederationsViewDialog::myPropertiesAreaLayoutWidget
protected
QAction* DtFederationsViewDialog::myResignFederateAction
protected

File menu.

bool DtFederationsViewDialog::myRtiExecInCurrentViewedConn
protected
QAction* DtFederationsViewDialog::myRtiexecLogAction
protected

File menu.

QMenu* DtFederationsViewDialog::myRtiexecMenu
protected

rtiexec menu

QAction* DtFederationsViewDialog::myRtiexecRidAction
protected

File menu.

QLabel* DtFederationsViewDialog::myRtiForwarderLabel
protected

Current Connection layout widgets.

QAction* DtFederationsViewDialog::myRunLatencyTestAction
protected

File menu.

QAction* DtFederationsViewDialog::mySaveAction
protected

File menu.

int DtFederationsViewDialog::mySelectedFederate
protected

Handle of the selected federate.

MAKRti::DtString DtFederationsViewDialog::mySelectedFederateName
protected

Federate name of selected federate.

MAKRti::DtFilename DtFederationsViewDialog::mySelectedFederateProcess
protected

Process name of selected federate.

MAKRti::DtString DtFederationsViewDialog::mySelectedFederateType
protected

Federate type of selected federate.

MAKRti::DtString DtFederationsViewDialog::mySelectedFederation
protected

Name of the selected federation.

QDockWidget* DtFederationsViewDialog::mySelectedItemDock
protected
DtRtiSelectedNodeWidget* DtFederationsViewDialog::mySelectedItemWidget
protected

The selected item widget.

QAction* DtFederationsViewDialog::mySelectedNodeAction
protected

File menu.

DtSelectedNodeType DtFederationsViewDialog::mySelectedNodeType
protected

The type of node currently selected.

bool DtFederationsViewDialog::myShouldAddShutdownAllToMenu
protected

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

QAction* DtFederationsViewDialog::myShutdownForwarderAction
protected

File menu.

QAction* DtFederationsViewDialog::myShutdownRtiexecAction
protected

File menu.

QAction* DtFederationsViewDialog::myStatisticsAction
protected

File menu.

QToolBar* DtFederationsViewDialog::myToolBar
protected
QMenu* DtFederationsViewDialog::myToolsMenu
protected

Tools menu.

Ui::FederationsViewDialog DtFederationsViewDialog::myUiImpl
protected
QMenu* DtFederationsViewDialog::myViewMenu
protected

View menu.

const MAKRti::DtFilename DtFederationsViewDialog::theConfigFilename
staticprotected

The name of the file where the GUI configuration is stored.

QString DtFederationsViewDialog::theForwarderLogDisabledText
protected

Text to be displayed for log file viewing actions depending on whether viewing is enabled or disabled.

QString DtFederationsViewDialog::theForwarderLogEnabledText
protected

Text to be displayed for log file viewing actions depending on whether viewing is enabled or disabled.

const QString DtFederationsViewDialog::theLoadingText
staticprotected

Text displayed when loading information.

QString DtFederationsViewDialog::theNoConnectionsAvailableText
protected

Text displayed in the combo box if there are no known rtiForwarders.

QString DtFederationsViewDialog::theRtiexecLogDisabledText
protected

Text to be displayed for log file viewing actions depending on whether viewing is enabled or disabled.

QString DtFederationsViewDialog::theRtiexecLogEnabledText
protected

Text to be displayed for log file viewing actions depending on whether viewing is enabled or disabled.


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

Document ID: Generated on Mon Mar 21 09:41:37 EDT 2016 from SVN revision 163228
Copyright © 2005-2015 VT MÄK Inc. All Rights Reserved (www.mak.com)