![]() |
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, DtLgrDisSimMenus *menu, QWidget *parent) | |
| CTOR. More... | |
| virtual | ~DtDisConnectionDialog () |
| DTOR. More... | |
| virtual void | setSiteId (const int val) |
| Set the Site ID. More... | |
| 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, bool setInitial=true) |
| virtual QString | destAddrString () const |
| virtual void | setNetmask (const QString &val) |
| virtual void | setNetmask (DtU32 netMask) |
| 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 | registerConnectStatusChangeSlot () |
| Register slots associated with connection status. More... | |
| virtual void | setWaitOnLoadReconnect () |
| Set flag to wait on tape load reconnect. More... | |
| virtual void | setReadOnlyProperties (bool state) |
| Set the property for Qt widgets in order to use dynamic formatting. More... | |
| virtual void | setReadOnly (bool state) |
| Freeze or unfreeze the interface based on the state parameter. More... | |
| void | configureConnectionButton () |
| , sets the state of the connection button (to "connected" or "disconnected") More... | |
| virtual void | disconnect () |
| disconnects the simulation More... | |
| 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? More... | |
| virtual void | connectStatusChanged (bool connected) |
| Process a connection change. More... | |
| virtual void | unableToConnect () |
| process a failed connect action More... | |
Public Member Functions inherited from MAKLogger::DtLgrConnectionDialog | |
| DtLgrConnectionDialog (QWidget *parent) | |
| virtual | ~DtLgrConnectionDialog () |
Protected Slots | |
| void | connectButtonPressed () |
| A callback for when the connect button is pressed. More... | |
| void | deviceAddressChanged (const QString &devAddr) |
| A callback for when the device address is changed to update dependent fields (e.g., dest addr, netmask) More... | |
Protected Member Functions | |
| virtual void | saveChanges () |
| Save configuration changes after a configuration change initiated from the loading a tape. More... | |
Protected Attributes | |
| DtLoggerApplication & | myApplication |
| DtLgrDisSimMenus * | myMenu |
| bool | myWaitingForConnect |
| bool | myWaitingForDisconnect |
| bool | myWaitOnLoadReconnect |
| bool | myHasChangedSinceSave |
| int | myCurrentSiteId |
| int | myCurrentPort |
| int | myCurrentAppNum |
| int | myCurrentExerciseId |
| int | myCurrentSendBufferSize |
| int | myCurrentRecvBufferSize |
| int | myCurrentMulticastTtl |
| bool | myCurrentUseAsyncIO |
| QString | myCurrentDestAddr |
| QString | myCurrentNetMask |
| QString | myCurrentDeviceAddr |
| QString | myCurrentMcastAddresses |
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, |
| DtLgrDisSimMenus * | menu, | ||
| 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 |
|
protectedslot |
A callback for when the device address is changed to update dependent fields (e.g., dest addr, netmask)
|
virtual |
|
virtual |
disconnects the simulation
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
Register slots associated with connection status.
Implements MAKLogger::DtLgrConnectionDialog.
|
protectedvirtual |
Save configuration changes after a configuration change initiated from the loading a tape.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
Freeze or unfreeze the interface based on the state parameter.
|
virtual |
Set the property for Qt widgets in order to use dynamic formatting.
|
virtual |
|
virtual |
|
virtual |
Set the Site ID.
|
virtual |
|
virtual |
Set flag to wait on tape load reconnect.
Implements MAKLogger::DtLgrConnectionDialog.
|
virtual |
|
virtual |
process a failed connect action
|
virtual |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |