MAK RTIspy API Documentation for HLA 4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Slots | Public Member Functions | Protected Member Functions | Protected Attributes
DtAssistantAddLrcConnDialog Class Reference

Dialog that allows a user to enter connection information. More...

+ Inheritance diagram for DtAssistantAddLrcConnDialog:
+ Collaboration diagram for DtAssistantAddLrcConnDialog:

Public Slots

virtual void udpateDefaultConnName ()
 Updates the default connection name, if in use. More...
 
void useRtiExecClicked (bool)
 toggles between showing advanced options and not. More...
 
void toggleAdvanced ()
 Toggles between showing and hiding advanced config options. More...
 
- Public Slots inherited from DtAssistantAddConnDialog
virtual void ipV4Clicked (bool isChecked)
 Enforce IP V4 if checked. More...
 
virtual void ipV6Clicked (bool isChecked)
 Enforce IP V6 if checked. More...
 
virtual void resetNetworkInterfaces (int hostIndex)
 Reset the network interfaces for the selected host. More...
 
virtual void selectUdpInterface (int intfIndex)
 Decides if a new value should be set for the UDP destination address based on a change to the UDP interface address. More...
 

Public Member Functions

 DtAssistantAddLrcConnDialog (DtAssistantConnQueryWidget *parent, Qt::WindowFlags f=0)
 Constructor. More...
 
virtual ~DtAssistantAddLrcConnDialog ()
 Destructor. More...
 
virtual void setData (const QString &hostName, const QString &tcpAddress, int tcpPort, const QString &udpAddress, int udpPort, const QString &udpInterface, const QString &additionalForwarderToConnectTo, int forwarderPort, bool useRtiexec, bool isIPv4)
 Sets the data in the dialog. More...
 
virtual void setName (const QString &connName)
 Sets the name for the connection in the dialog. More...
 
virtual void getData (QString &connName, QString &hostName, QString &tcpAddress, int &tcpPort, QString &udpAddress, int &udpPort, QString &udpInterface, QString &additionalForwarderToConnectTo, int &forwarderPort, bool &useRtiexec)
 Gets the data in the dialog. More...
 
- Public Member Functions inherited from DtAssistantAddConnDialog
 DtAssistantAddConnDialog (DtAssistantConnQueryWidget *parent, Qt::WindowFlags f=0)
 Constructor. More...
 
virtual ~DtAssistantAddConnDialog ()
 Destructor. More...
 
virtual void enableDefaultConnName ()
 Enables the construction of the default connection name, instead using user entered name. More...
 
virtual void disableDefaultConnName ()
 Disables the construction of the default connection name, instead using user entered name. More...
 
virtual void storeNextDefaultConnNum ()
 Saves the next default connection number to be used for the current default connection name. More...
 
virtual void clearDefaultConnNum ()
 Saves the next connection number to be used for the current default connection name. More...
 
virtual bool isLoopbackAddress (const QString &address) const
 Returns true if the given IP address is a loopback address. More...
 
virtual bool isIpv6Address (const QString &address) const
 Returns true if the given IP address is an IPv6 address. More...
 
virtual bool isLoopbackDestination (const QString &address) const
 Returns true if the given destination IP address is a loopback multicast, broadcast, or unicast address. More...
 
virtual int addAssistantHost (const DtAssistantInfo &assistant)
 Add the host name of the given assistant to the host name combo box Return the index of the added host name. More...
 
virtual void removeAssistantHost (const DtAssistantInfo &assistant)
 Remove the host name of the given assistant from the host name combo box. More...
 

Protected Member Functions

virtual void redraw ()
 Redraw the display hiding and showing things as necessary. More...
 
- Protected Member Functions inherited from DtAssistantAddConnDialog
virtual bool getDefaultRtiexecConnName (QString &name, const QString &host)
 Determines the new default connection name for an rtiexec connection. More...
 
virtual bool getDefaultLightweightConnName (QString &name)
 Determines the new default connection name for a lightweight connection. More...
 
virtual void setNetworkInterfaceAddrs (const QStringList &networkInterfaceAddrs)
 Set the network interfaces in the appropriate UI combo boxes. More...
 
virtual int compatibleUdpInterface (const QString &udpDestinationAddress, QComboBox *comboBox)
 Return the index to a compatible UDP interface. More...
 

Protected Attributes

Ui::AddLrcConnectionDialog myUiImpl
 The GUI implementation of the widget. More...
 
bool myShowingAdvanced
 Whether or not the advanced options are currently shown. More...
 
bool myShowingExecOptions
 Whether or not the exec options are being shown. More...
 
DtAssistantAdvancedForwarderOptionsWidgetmyAdvancedOptionsWidget
 Widget which displays advanced forwarder options. More...
 
QRegExpValidator * myBestEffortIpValidator
 Validators to check the input of the line edit boxes. More...
 
QIntValidator * myPortValidator
 Validators to check the input of the line edit boxes. More...
 
QRegExpValidator * myConnectionNameValidator
 Validators to check the input of the line edit boxes. More...
 
- Protected Attributes inherited from DtAssistantAddConnDialog
DtAssistantConnQueryWidgetmyParent
 The parent of this dialog. More...
 
bool myUseDefaultConnName
 Indicates that no user supplied connection name was specified, so the default should be displayed and used. More...
 
std::map< QString, unsigned > myNextDefaultConnNum
 The next number to use to differentiate connections with the same default name, mapped by name. More...
 
unsigned myDefaultConnNum
 The default connection name number currently being used. More...
 
QString myDefaultConnName
 The base string for the default connection name currently being used. More...
 
bool myUseIPv4
 Specify which family of addresses to use (if not IPv4 then IPv6) More...
 
bool myInitializeHosts
 Indicates host names are being initialized. More...
 
bool myNetworkIfIsLoopback
 Stores whether the previous network interface was a loopback address. More...
 
std::vector< QComboBox * > myAddressComboBoxes
 The network interface combo boxes. More...
 
QComboBox * myHostNameComboBox
 The host name combo box. More...
 
QLineEdit * myUdpAddressLineEdit
 The UDP address line edit. More...
 
QComboBox * myUdpInterfaceComboBox
 The UDP interface combo box. More...
 
DtIndexToAssistantInfoMap myComboBoxIndexToAssistantInfos
 

Additional Inherited Members

- Static Protected Attributes inherited from DtAssistantAddConnDialog
static const QString theDefaultIpv4LoopbackMcastAddr
 Default multicast addresses for loopback and non-loopback interfaces. More...
 
static const QString theDefaultIpv4NonLoopbackMcastAddr
 Default multicast addresses for loopback and non-loopback interfaces. More...
 
static const QString theDefaultIpv6LoopbackMcastAddr
 Default multicast addresses for loopback and non-loopback interfaces. More...
 
static const QString theDefaultIpv6NonLoopbackMcastAddr
 Default multicast addresses for loopback and non-loopback interfaces. More...
 

Detailed Description

Dialog that allows a user to enter connection information.

Constructor & Destructor Documentation

DtAssistantAddLrcConnDialog::DtAssistantAddLrcConnDialog ( DtAssistantConnQueryWidget parent,
Qt::WindowFlags  f = 0 
)

Constructor.

virtual DtAssistantAddLrcConnDialog::~DtAssistantAddLrcConnDialog ( )
virtual

Destructor.

Member Function Documentation

virtual void DtAssistantAddLrcConnDialog::getData ( QString &  connName,
QString &  hostName,
QString &  tcpAddress,
int &  tcpPort,
QString &  udpAddress,
int &  udpPort,
QString &  udpInterface,
QString &  additionalForwarderToConnectTo,
int &  forwarderPort,
bool &  useRtiexec 
)
virtual

Gets the data in the dialog.

virtual void DtAssistantAddLrcConnDialog::redraw ( )
protectedvirtual

Redraw the display hiding and showing things as necessary.

virtual void DtAssistantAddLrcConnDialog::setData ( const QString &  hostName,
const QString &  tcpAddress,
int  tcpPort,
const QString &  udpAddress,
int  udpPort,
const QString &  udpInterface,
const QString &  additionalForwarderToConnectTo,
int  forwarderPort,
bool  useRtiexec,
bool  isIPv4 
)
virtual

Sets the data in the dialog.

virtual void DtAssistantAddLrcConnDialog::setName ( const QString &  connName)
virtual

Sets the name for the connection in the dialog.

void DtAssistantAddLrcConnDialog::toggleAdvanced ( )
slot

Toggles between showing and hiding advanced config options.

virtual void DtAssistantAddLrcConnDialog::udpateDefaultConnName ( )
virtualslot

Updates the default connection name, if in use.

void DtAssistantAddLrcConnDialog::useRtiExecClicked ( bool  )
slot

toggles between showing advanced options and not.

Member Data Documentation

DtAssistantAdvancedForwarderOptionsWidget* DtAssistantAddLrcConnDialog::myAdvancedOptionsWidget
protected

Widget which displays advanced forwarder options.

QRegExpValidator* DtAssistantAddLrcConnDialog::myBestEffortIpValidator
protected

Validators to check the input of the line edit boxes.

QRegExpValidator* DtAssistantAddLrcConnDialog::myConnectionNameValidator
protected

Validators to check the input of the line edit boxes.

QIntValidator* DtAssistantAddLrcConnDialog::myPortValidator
protected

Validators to check the input of the line edit boxes.

bool DtAssistantAddLrcConnDialog::myShowingAdvanced
protected

Whether or not the advanced options are currently shown.

bool DtAssistantAddLrcConnDialog::myShowingExecOptions
protected

Whether or not the exec options are being shown.

Ui::AddLrcConnectionDialog DtAssistantAddLrcConnDialog::myUiImpl
protected

The GUI implementation of the widget.


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

Document ID: Generated on Sun Jul 20 16:15:30 EDT 2025 from SVN revision 277985
Copyright © 2005-2025 MAK Technologies Inc. All Rights Reserved (www.mak.com)