MAK RTIspy API Documentation for HLA 1.3
Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions
DtAssistantRtiexecConnQueryWidget Class Reference

Widget used to request the user to provide new connection parameters when an rtiexec cannot establish an RTI connection. More...

+ Inheritance diagram for DtAssistantRtiexecConnQueryWidget:
+ Collaboration diagram for DtAssistantRtiexecConnQueryWidget:

List of all members.

Public Member Functions

 DtAssistantRtiexecConnQueryWidget (QWidget *parent=0, Qt::WindowFlags f=0)
 Constructor.
virtual ~DtAssistantRtiexecConnQueryWidget ()
 Destructor.
virtual void setQueryMode (DtAssistantComponentType type)
 sets whether the connection query dialog is handling a forwarder connection or an rtiExec connection.

Protected Member Functions

virtual bool addConnection (const DtRtiConnectionInfoDataPair &conn, const DtRtiConfigurationInfoDataPair &config, DtNameToConnInfoMap::iterator &connIter)
 Adds an available connection to the list.
virtual void removeConnection (const DtRtiConnectionInfoDataPair &conn)
 Removes an available connection from the list.
virtual void clearAllConnections ()
 Clears the entire connection list.
virtual void updateDisplayedConnection (const QString &name, const DtRtiConnectionInfoDataPair &updatedConn, QTreeWidgetItem *connItem)
 Depending on the type of our current query connection, we update connItem based on updatedConn.
virtual QTreeWidgetItem * findConnInTree (const DtRtiConnectionInfo &conn, DtNameToConnInfoMap::iterator &connIter)
 Finds the connection item in the tree.
virtual void getConnStatusText (const QTreeWidgetItem *item, const DtRtiConnectionInfoDataPair &conn, const DtRtiConfigurationInfoDataPair &, QString &text)
 Gets the connection status text for the given connection.
virtual void loadLocalInterfaceList ()
 Reloads the list of local network interfaces which can be selected for new connections.
virtual void showEvent (QShowEvent *event)
 Prepare the widget to be shown.
virtual bool promptUserForNewConnInfo (DtRtiConnectionInfoDataPair &conn)
 Prompts the user for new connection info.
virtual bool promptUserToEditConnInfo (DtRtiConnectionInfoDataPair &conn)
 Prompts the user to edit connection info.
virtual bool promptUserForConnInfo (DtRtiConnectionInfoDataPair &conn, const QString &dialogTitle, bool useNameOfGivenConn)
 Prompts the user for connection info.
virtual void setAcceptEnabledBasedOnConn (const DtRtiConnectionInfoDataPair *conn)
 Enables or disables the accept button based on the state of the given currently selected connection.

Protected Attributes

DtAssistantAddRtiexecConnDialogmyAddConnDialog
 Dialog used to set information for a new connection.
DtAssistantComponentType myCurrentType
 The type of the current querying component (rtiexec or forwarder).

Private Member Functions

 DtAssistantRtiexecConnQueryWidget (DtAssistantRtiexecConnQueryWidget const &)
 Copy constructor not implemented.
DtAssistantRtiexecConnQueryWidgetoperator= (DtAssistantRtiexecConnQueryWidget const &)
 Assignment operator not implemented.

Detailed Description

Widget used to request the user to provide new connection parameters when an rtiexec cannot establish an RTI connection.


Constructor & Destructor Documentation

Constructor.

References DtAssistantConnQueryWidget::myUiImpl.

Destructor.

Copy constructor not implemented.


Member Function Documentation

bool DtAssistantRtiexecConnQueryWidget::addConnection ( const DtRtiConnectionInfoDataPair conn,
const DtRtiConfigurationInfoDataPair config,
DtNameToConnInfoMap::iterator &  connIter 
) [protected, virtual]
QTreeWidgetItem * DtAssistantRtiexecConnQueryWidget::findConnInTree ( const DtRtiConnectionInfo conn,
DtNameToConnInfoMap::iterator &  connIter 
) [protected, virtual]

Finds the connection item in the tree.

Returns a pointer to the tree item as well as an iterator to its location in the map.

References DtAssistantConnQueryWidget::ConnectionNameCol, DtAssistantConnQueryWidget::myConnectionInfo, and DtAssistantConnQueryWidget::myUiImpl.

Referenced by addConnection(), and removeConnection().

void DtAssistantRtiexecConnQueryWidget::getConnStatusText ( const QTreeWidgetItem *  item,
const DtRtiConnectionInfoDataPair conn,
const DtRtiConfigurationInfoDataPair ,
QString &  text 
) [protected, virtual]
DtAssistantRtiexecConnQueryWidget& DtAssistantRtiexecConnQueryWidget::operator= ( DtAssistantRtiexecConnQueryWidget const &  ) [private]

Assignment operator not implemented.

bool DtAssistantRtiexecConnQueryWidget::promptUserForConnInfo ( DtRtiConnectionInfoDataPair conn,
const QString &  dialogTitle,
bool  useNameOfGivenConn 
) [protected, virtual]

Prompts the user for new connection info.

Implements DtAssistantConnQueryWidget.

References promptUserForConnInfo().

Prompts the user to edit connection info.

Implements DtAssistantConnQueryWidget.

References promptUserForConnInfo().

Enables or disables the accept button based on the state of the given currently selected connection.

Implements DtAssistantConnQueryWidget.

References DtAssistantForwarderComponent, DtAssistantRtiexecComponent, myCurrentType, and DtAssistantConnQueryWidget::setAcceptEnabled().

sets whether the connection query dialog is handling a forwarder connection or an rtiExec connection.

References myCurrentType.

void DtAssistantRtiexecConnQueryWidget::showEvent ( QShowEvent *  event) [protected, virtual]
void DtAssistantRtiexecConnQueryWidget::updateDisplayedConnection ( const QString &  name,
const DtRtiConnectionInfoDataPair updatedConn,
QTreeWidgetItem *  connItem 
) [protected, virtual]

Member Data Documentation

Dialog used to set information for a new connection.

Referenced by loadLocalInterfaceList(), and promptUserForConnInfo().

The type of the current querying component (rtiexec or forwarder).

Referenced by getConnStatusText(), setAcceptEnabledBasedOnConn(), setQueryMode(), showEvent(), and updateDisplayedConnection().


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

Document ID: Generated on Thu Jun 14 14:15:04 EDT 2012 from SVN revision 116116
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)