MAK RTIspy API Documentation for HLA 1516
 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
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:

Public Slots

virtual void ipV4Clicked (bool isChecked)
 Enforce IP V4 if checked.
virtual void ipV6Clicked (bool isChecked)
 Enforce IP V6 if checked.
virtual void resetNetworkInterfaces (int hostIndex)
 Reset the network interfaces for the selected host.
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.

Public Member Functions

 DtAssistantAddConnDialog (DtAssistantConnQueryWidget *parent, Qt::WindowFlags f=0)
 Constructor.
virtual ~DtAssistantAddConnDialog ()
 Destructor.
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.
virtual void storeNextDefaultConnNum ()
 Saves the next default connection number to be used for the current default connection name.
virtual void clearDefaultConnNum ()
 Saves the next connection number to be used for the current default connection name.
virtual bool isLoopbackAddress (const QString &address) const
 Returns true if the given IP address is a loopback address.
virtual bool isIpv6Address (const QString &address) const
 Returns true if the given IP address is an IPv6 address.
virtual bool isLoopbackDestination (const QString &address) const
 Returns true if the given destination IP address is a loopback multicast, broadcast, or unicast address.
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.
virtual void removeAssistantHost (const DtAssistantInfo &assistant)
 Remove the host name of the given assistant from the host name combo box.

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.
virtual void setNetworkInterfaceAddrs (const QStringList &networkInterfaceAddrs)
 Set the network interfaces in the appropriate UI combo boxes.
virtual int compatibleUdpInterface (const QString &udpDestinationAddress, QComboBox *comboBox)
 Return the index to a compatible UDP interface.

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.
bool myUseIPv4
 Specify which family of addresses to use (if not IPv4 then IPv6)
bool myInitializeHosts
 Indicates host names are being initialized.
bool myNetworkIfIsLoopback
 Stores whether the previous network interface was a loopback address.
std::vector< QComboBox * > myAddressComboBoxes
 The network interface combo boxes.
QComboBox * myHostNameComboBox
 The host name combo box.
QLineEdit * myUdpAddressLineEdit
 The UDP address line edit.
QComboBox * myUdpInterfaceComboBox
 The UDP interface combo box.
DtIndexToAssistantInfoMap myComboBoxIndexToAssistantInfos

Static Protected Attributes

static const QString theDefaultIpv4LoopbackMcastAddr
 Default multicast addresses for loopback and non-loopback interfaces.
static const QString theDefaultIpv4NonLoopbackMcastAddr
 Default multicast addresses for loopback and non-loopback interfaces.
static const QString theDefaultIpv6LoopbackMcastAddr
 Default multicast addresses for loopback and non-loopback interfaces.
static const QString theDefaultIpv6NonLoopbackMcastAddr
 Default multicast addresses for loopback and non-loopback interfaces.

Detailed Description

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

Constructor & Destructor Documentation

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

Constructor.

virtual DtAssistantAddConnDialog::~DtAssistantAddConnDialog ( )
virtual

Destructor.

Member Function Documentation

virtual int DtAssistantAddConnDialog::addAssistantHost ( const DtAssistantInfo assistant)
virtual

Add the host name of the given assistant to the host name combo box Return the index of the added host name.

virtual void DtAssistantAddConnDialog::clearDefaultConnNum ( )
virtual

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

virtual int DtAssistantAddConnDialog::compatibleUdpInterface ( const QString &  udpDestinationAddress,
QComboBox *  comboBox 
)
protectedvirtual

Return the index to a compatible UDP interface.

virtual void DtAssistantAddConnDialog::disableDefaultConnName ( )
virtual

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

virtual void DtAssistantAddConnDialog::enableDefaultConnName ( )
virtual

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

virtual bool DtAssistantAddConnDialog::getDefaultLightweightConnName ( QString &  name)
protectedvirtual

Determines the new default connection name for a lightweight connection.

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

virtual bool DtAssistantAddConnDialog::getDefaultRtiexecConnName ( QString &  name,
const QString &  host 
)
protectedvirtual

Determines the new default connection name for an rtiexec connection.

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

virtual void DtAssistantAddConnDialog::ipV4Clicked ( bool  isChecked)
virtualslot

Enforce IP V4 if checked.

virtual void DtAssistantAddConnDialog::ipV6Clicked ( bool  isChecked)
virtualslot

Enforce IP V6 if checked.

virtual bool DtAssistantAddConnDialog::isIpv6Address ( const QString &  address) const
virtual

Returns true if the given IP address is an IPv6 address.

virtual bool DtAssistantAddConnDialog::isLoopbackAddress ( const QString &  address) const
virtual

Returns true if the given IP address is a loopback address.

virtual bool DtAssistantAddConnDialog::isLoopbackDestination ( const QString &  address) const
virtual

Returns true if the given destination IP address is a loopback multicast, broadcast, or unicast address.

virtual void DtAssistantAddConnDialog::removeAssistantHost ( const DtAssistantInfo assistant)
virtual

Remove the host name of the given assistant from the host name combo box.

virtual void DtAssistantAddConnDialog::resetNetworkInterfaces ( int  hostIndex)
virtualslot

Reset the network interfaces for the selected host.

virtual void DtAssistantAddConnDialog::selectUdpInterface ( int  intfIndex)
virtualslot

Decides if a new value should be set for the UDP destination address based on a change to the UDP interface address.

virtual void DtAssistantAddConnDialog::setNetworkInterfaceAddrs ( const QStringList &  networkInterfaceAddrs)
protectedvirtual

Set the network interfaces in the appropriate UI combo boxes.

virtual void DtAssistantAddConnDialog::storeNextDefaultConnNum ( )
virtual

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

Member Data Documentation

std::vector<QComboBox*> DtAssistantAddConnDialog::myAddressComboBoxes
protected

The network interface combo boxes.

DtIndexToAssistantInfoMap DtAssistantAddConnDialog::myComboBoxIndexToAssistantInfos
protected
QString DtAssistantAddConnDialog::myDefaultConnName
protected

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

unsigned DtAssistantAddConnDialog::myDefaultConnNum
protected

The default connection name number currently being used.

QComboBox* DtAssistantAddConnDialog::myHostNameComboBox
protected

The host name combo box.

bool DtAssistantAddConnDialog::myInitializeHosts
protected

Indicates host names are being initialized.

bool DtAssistantAddConnDialog::myNetworkIfIsLoopback
protected

Stores whether the previous network interface was a loopback address.

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

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

DtAssistantConnQueryWidget* DtAssistantAddConnDialog::myParent
protected

The parent of this dialog.

QLineEdit* DtAssistantAddConnDialog::myUdpAddressLineEdit
protected

The UDP address line edit.

QComboBox* DtAssistantAddConnDialog::myUdpInterfaceComboBox
protected

The UDP interface combo box.

bool DtAssistantAddConnDialog::myUseDefaultConnName
protected

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

bool DtAssistantAddConnDialog::myUseIPv4
protected

Specify which family of addresses to use (if not IPv4 then IPv6)

const QString DtAssistantAddConnDialog::theDefaultIpv4LoopbackMcastAddr
staticprotected

Default multicast addresses for loopback and non-loopback interfaces.

const QString DtAssistantAddConnDialog::theDefaultIpv4NonLoopbackMcastAddr
staticprotected

Default multicast addresses for loopback and non-loopback interfaces.

const QString DtAssistantAddConnDialog::theDefaultIpv6LoopbackMcastAddr
staticprotected

Default multicast addresses for loopback and non-loopback interfaces.

const QString DtAssistantAddConnDialog::theDefaultIpv6NonLoopbackMcastAddr
staticprotected

Default multicast addresses for loopback and non-loopback interfaces.


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

Document ID: Generated on Mon Jul 9 10:30:41 EDT 2018 from SVN revision 190224
Copyright © 2005-2018 VT MÄK Inc. All Rights Reserved (www.mak.com)