MAK RTIspy API Documentation for HLA Evolved
Public Slots | Public Member Functions | Protected Member Functions | Protected Attributes
DtAssistantAddConnDialog Class Reference

Base class for a Dialog that allows a user to enter connection information.d. More...

+ Inheritance diagram for DtAssistantAddConnDialog:
+ Collaboration diagram for DtAssistantAddConnDialog:

List of all members.

Public Slots

virtual void enableDefaultConnName ()
 Enables the construction of the default connection name, instead using user entered name.
virtual void disableDefaultConnName ()
 Disables the construction of the default connection name, instead using user entered name.
void storeNextDefaultConnNum ()
 Saves the next default connection number to be used for the current default connection name.
void clearDefaultConnNum ()
 Saves the next connection number to be used for the current default connection name.

Public Member Functions

 DtAssistantAddConnDialog (DtAssistantConnQueryWidget *parent, Qt::WindowFlags f=0)
 Constructor.
virtual ~DtAssistantAddConnDialog ()
 Destructor.

Protected Member Functions

virtual bool getDefaultRtiexecConnName (QString &name, const QString &host)
 Determines the new default connection name for an rtiexec connection.
virtual bool getDefaultLightweightConnName (QString &name)
 Determines the new default connection name for a lightweight connection.

Protected Attributes

DtAssistantConnQueryWidgetmyParent
 The parent of this dialog.
bool myUseDefaultConnName
 Indicates that no user supplied connection name was specified, so the default should be displayed and used.
std::map< QString, unsigned > myNextDefaultConnNum
 The next number to use to differentiate connections with the same default name, mapped by name.
unsigned myDefaultConnNum
 The default connection name number currently being used.
QString myDefaultConnName
 The base string for the default connection name currently being used.

Detailed Description

Base class for a Dialog that allows a user to enter connection information.d.


Constructor & Destructor Documentation

Constructor.

Destructor.


Member Function Documentation

Enables the construction of the default connection name, instead using user entered name.

References clearDefaultConnNum(), and myUseDefaultConnName.

Referenced by DtAssistantAddRtiexecConnDialog::setData(), and DtAssistantAddLrcConnDialog::setData().

bool DtAssistantAddConnDialog::getDefaultLightweightConnName ( QString &  name) [protected, virtual]

Determines the new default connection name for a lightweight connection.

Returns false if use of the default name has been disabled.

References DtAssistantConnQueryWidget::isConnectionNameInUse(), myDefaultConnName, myDefaultConnNum, myNextDefaultConnNum, myParent, and myUseDefaultConnName.

Referenced by DtAssistantAddLrcConnDialog::udpateDefaultConnName().

bool DtAssistantAddConnDialog::getDefaultRtiexecConnName ( QString &  name,
const QString &  host 
) [protected, virtual]

Determines the new default connection name for an rtiexec connection.

Returns false if use of the default name has been disabled.

References DtAssistantConnQueryWidget::isConnectionNameInUse(), myDefaultConnName, myDefaultConnNum, myNextDefaultConnNum, myParent, and myUseDefaultConnName.

Referenced by DtAssistantAddRtiexecConnDialog::udpateDefaultConnName(), and DtAssistantAddLrcConnDialog::udpateDefaultConnName().

Saves the next default connection number to be used for the current default connection name.

References clearDefaultConnNum(), myDefaultConnName, myDefaultConnNum, and myNextDefaultConnNum.

Referenced by DtAssistantAddLrcConnDialog::DtAssistantAddLrcConnDialog(), and DtAssistantAddRtiexecConnDialog::DtAssistantAddRtiexecConnDialog().


Member Data Documentation

The base string for the default connection name currently being used.

Referenced by clearDefaultConnNum(), getDefaultLightweightConnName(), getDefaultRtiexecConnName(), and storeNextDefaultConnNum().

The default connection name number currently being used.

Referenced by clearDefaultConnNum(), getDefaultLightweightConnName(), getDefaultRtiexecConnName(), and storeNextDefaultConnNum().

std::map<QString, unsigned> DtAssistantAddConnDialog::myNextDefaultConnNum [protected]

The next number to use to differentiate connections with the same default name, mapped by name.

Referenced by getDefaultLightweightConnName(), getDefaultRtiexecConnName(), and storeNextDefaultConnNum().

The parent of this dialog.

Referenced by getDefaultLightweightConnName(), and getDefaultRtiexecConnName().

Indicates that no user supplied connection name was specified, so the default should be displayed and used.

Referenced by disableDefaultConnName(), enableDefaultConnName(), getDefaultLightweightConnName(), and getDefaultRtiexecConnName().


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)