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

List of all members.

Public Slots

virtual void selectNetworkInterfaceAddrForHost (int hostIndex)
 Selects the known good network interface address for the host selection.
virtual void udpateDefaultConnName ()
 Updates the default connection name, if in use.
void useRtiExecClicked (bool)
 toggles between showing advanced options and not.
void toggleAdvanced ()
 Toggles between showing and hiding advanced config options.

Public Member Functions

 DtAssistantAddLrcConnDialog (DtAssistantConnQueryWidget *parent, Qt::WindowFlags f=0)
 Constructor.
virtual ~DtAssistantAddLrcConnDialog ()
 Destructor.
virtual void setNetworkInterfaceAddrs (const QStringList &addrs)
 Sets the list of possible network interface addresses to use.
virtual void setAvailableHosts (const DtHostInterfaceAddrList &hosts)
 Sets the list of known hosts and their network interface addresses.
virtual void setData (bool useRtiexec, const QString &host, int bestEffortPort, int reliablePort, const QString &bestEffortIp, const QString &networkInterfaceAddr, int forwarderPort, const QString &additionalForwarderToConnectTo)
 Sets the data in the dialog.
virtual void setName (const QString &connName)
 Sets the name for the connection in the dialog.
virtual void getData (bool &useRtiexec, QString &connName, QString &host, int &bestEffortPort, int &reliablePort, QString &bestEffortIp, QString &networkInterfaceAddr, int &forwarderPort, QString &additionalForwarderToConnectTo)
 Gets the data in the dialog.

Protected Member Functions

virtual void redraw ()
 Redraw the display hiding and showing things as necessary.

Protected Attributes

Ui::AddLrcConnectionDialog myUiImpl
 The GUI implementation of the widget.
bool myShowingAdvanced
 Whether or not the advanced options are currently shown.
bool myShowingExecOptions
 Whether or not the exec options are being shown .
DtAssistantAdvancedForwarderOptionsWidgetmyAdvancedOptionsWidget
 Widget which displays advanced forwarder options.
DtHostInterfaceAddrList myHosts
 This keeps a list of hostname and network device detected pairs.
QRegExpValidator * myBestEffortIpValidator
 Validators to check the input of the line edit boxes.
QIntValidator * myPortValidator
 Validators to check the input of the line edit boxes.
QRegExpValidator * myConnectionNameValidator
 Validators to check the input of the line edit boxes.

Detailed Description

Dialog that allows a user to enter connection information.


Constructor & Destructor Documentation

Destructor.


Member Function Documentation

void DtAssistantAddLrcConnDialog::getData ( bool useRtiexec,
QString &  connName,
QString &  host,
int &  bestEffortPort,
int &  reliablePort,
QString &  bestEffortIp,
QString &  networkInterfaceAddr,
int &  forwarderPort,
QString &  additionalForwarderToConnectTo 
) [virtual]
void DtAssistantAddLrcConnDialog::redraw ( ) [protected, virtual]

Redraw the display hiding and showing things as necessary.

References myAdvancedOptionsWidget, myShowingAdvanced, myShowingExecOptions, and myUiImpl.

Referenced by toggleAdvanced(), and useRtiExecClicked().

void DtAssistantAddLrcConnDialog::selectNetworkInterfaceAddrForHost ( int  hostIndex) [virtual, slot]

Selects the known good network interface address for the host selection.

References myHosts, and myUiImpl.

Referenced by DtAssistantAddLrcConnDialog().

Sets the list of known hosts and their network interface addresses.

A host is only added if its network interface address was set in setNetworkInterfaceAddrs().

References myHosts, and myUiImpl.

Referenced by DtAssistantLrcConnQueryWidget::promptUserForConnInfo().

void DtAssistantAddLrcConnDialog::setData ( bool  useRtiexec,
const QString &  host,
int  bestEffortPort,
int  reliablePort,
const QString &  bestEffortIp,
const QString &  networkInterfaceAddr,
int  forwarderPort,
const QString &  additionalForwarderToConnectTo 
) [virtual]
void DtAssistantAddLrcConnDialog::setName ( const QString &  connName) [virtual]

Sets the name for the connection in the dialog.

References DtAssistantAddConnDialog::disableDefaultConnName(), and myUiImpl.

Referenced by DtAssistantLrcConnQueryWidget::promptUserForConnInfo().

void DtAssistantAddLrcConnDialog::setNetworkInterfaceAddrs ( const QStringList &  addrs) [virtual]

Sets the list of possible network interface addresses to use.

References myUiImpl.

Referenced by DtAssistantLrcConnQueryWidget::loadLocalInterfaceList().

Toggles between showing and hiding advanced config options.

References myShowingAdvanced, and redraw().

Referenced by DtAssistantAddLrcConnDialog().

toggles between showing advanced options and not.

References myShowingExecOptions, redraw(), and useRtiExec.

Referenced by DtAssistantAddLrcConnDialog().


Member Data Documentation

Widget which displays advanced forwarder options.

Referenced by DtAssistantAddLrcConnDialog(), getData(), redraw(), and setData().

Validators to check the input of the line edit boxes.

Referenced by DtAssistantAddLrcConnDialog().

Validators to check the input of the line edit boxes.

Referenced by DtAssistantAddLrcConnDialog().

This keeps a list of hostname and network device detected pairs.

Referenced by selectNetworkInterfaceAddrForHost(), and setAvailableHosts().

Validators to check the input of the line edit boxes.

Referenced by DtAssistantAddLrcConnDialog().

Whether or not the advanced options are currently shown.

Referenced by redraw(), and toggleAdvanced().

Whether or not the exec options are being shown .

Referenced by redraw(), and useRtiExecClicked().

Ui::AddLrcConnectionDialog DtAssistantAddLrcConnDialog::myUiImpl [protected]

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)