Public Member Functions | Protected Slots | Protected Attributes
MAKLogger::DtDisConnectionDialog Class Reference

The DIS connection dialog interface. More...

+ Inheritance diagram for MAKLogger::DtDisConnectionDialog:
+ Collaboration diagram for MAKLogger::DtDisConnectionDialog:

List of all members.

Public Member Functions

 DtDisConnectionDialog (DtLoggerApplication &app, QWidget *parent)
 CTOR.
virtual ~DtDisConnectionDialog ()
 DTOR.
virtual void setSiteId (const int val)
 Set the Site ID.
virtual int siteId () const
virtual void setPort (const int val)
virtual int port () const
virtual void setAppNum (const int val)
virtual int appNum () const
virtual void setExerciseId (const int val)
virtual int exerciseId () const
virtual void setSendBufferSize (const int val)
virtual int sendBufferSize () const
virtual void setRecvBufferSize (const int val)
virtual int recvBufferSize () const
virtual void setMulticastTtl (const int val)
virtual int multicastTtl () const
virtual void setUseAsyncIO (bool val)
virtual bool useAsyncIO () const
virtual void setDestAddrString (const QString &val)
virtual QString destAddrString () const
virtual void setNetmask (const QString &val)
virtual QString netmaskString () const
virtual void setDeviceAddrStrings (const QStringList &deviceAddrs)
virtual QString deviceAddrString () const
virtual void setMcastAddresses (const QString &val)
virtual QString mcastAddresses () const
virtual void setEditable (bool state)
 Freeze or unfreeze the interface based on the state parameter.
void configureConnectionButton ()
 , sets the state of the connection button (to "connected" or "disconnected")
virtual void disconnect ()
 disconnects the simulation
virtual bool connect ()
 connects the simulation An initial check of the data (e.g., valid ip addresses) is made and the connection is not made if the data is invalid Returns bool: Initial check of data was valid and connect command sent?

Protected Slots

void connectButtonPressed ()
 A callback for when the connect button is pressed.

Protected Attributes

DtLoggerApplicationmyApplication

Detailed Description

The DIS connection dialog interface.

This wraps the Ui_DtDisConnectionDialog created by QT Designer with useful methods for manipulation. This class knows how to connect itself and disconnect itself, as well as the current state of the connection. However, it only knows the current state of the connection from the SimManager, which may be off for several seconds after the connection state has changed.


Member Function Documentation

void MAKLogger::DtDisConnectionDialog::connectButtonPressed ( ) [protected, slot]

A callback for when the connect button is pressed.

The connect button is used for both connection and disconnection. Its text changes.


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

Document ID: Generated on Tue Oct 11 19:41:03 EDT 2011 from SVN revision 107422
Copyright © 2005-2011 VT MÄK Inc. All Rights Reserved (www.mak.com)