![]() |
MAK Data Logger API Documentation for DIS
|
The DIS connection dialog interface. More...
Inheritance diagram for MAKLogger::DtDisConnectionDialog:
Collaboration diagram for MAKLogger::DtDisConnectionDialog: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? | |
| virtual void | connectStatusChanged (bool connected) |
| Process a connection change. | |
| virtual void | unableToConnect () |
| process a failed connect action | |
Protected Slots | |
| void | connectButtonPressed () |
| A callback for when the connect button is pressed. | |
Protected Attributes | |
| DtLoggerApplication & | myApplication |
| bool | myWaitingForConnect |
| bool | myWaitingForDisconnect |
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.
| MAKLogger::DtDisConnectionDialog::DtDisConnectionDialog | ( | DtLoggerApplication & | app, |
| QWidget * | parent | ||
| ) |
CTOR.
|
virtual |
DTOR.
|
virtual |
| void MAKLogger::DtDisConnectionDialog::configureConnectionButton | ( | ) |
, sets the state of the connection button (to "connected" or "disconnected")
|
virtual |
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?
|
protectedslot |
A callback for when the connect button is pressed.
The connect button is used for both connection and disconnection. Its text changes.
|
virtual |
Process a connection change.
|
virtual |
|
virtual |
|
virtual |
disconnects the simulation
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
Freeze or unfreeze the interface based on the state parameter.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
Set the Site ID.
|
virtual |
|
virtual |
|
virtual |
process a failed connect action
|
virtual |
|
protected |
|
protected |
|
protected |