![]() |
MAK Data Logger API Documentation for HLA
|
The HLA Connection Dialog interface. More...
Inheritance diagram for MAKLogger::DtHlaConnectionDialog:
Collaboration diagram for MAKLogger::DtHlaConnectionDialog:Public Member Functions | |
| DtHlaConnectionDialog (DtLoggerApplication &app, DtLgrHlaSimMenus *menu, QWidget *parent) | |
| CTOR. | |
| virtual | ~DtHlaConnectionDialog () |
| DTOR. | |
| virtual void | setExerciseName (const QString &exerciseName) |
| Set the exercise name. | |
| virtual QString | exerciseName () const |
| virtual void | setFederateType (const QString &federateType) |
| Set the federate type. | |
| virtual QString | federateType () const |
| virtual void | setFedFileName (const QString &fedFileName) |
| Set the fed file name. | |
| virtual QString | fedFileName () const |
| virtual void | setRPRFomVersion (double fomVersion, int fomRevision) |
| Set the RPR FOM version. | |
| virtual double | rprFomVersion () const |
| virtual int | rprFomRevision () const |
| Get the RPR FOM revision. | |
| virtual void | setUseMatrexFomMapper (bool enabled) |
| Set the use MATREX fom mapper state. | |
| virtual bool | useMatrexFomMapper () const |
| virtual void | setMatrexFomMapperInitString (const QString &fomMapperInitString) |
| Set the fom mapper init string. | |
| virtual QString | matrexFomMapperInitString () const |
| virtual void | setCustomFomMapperFileName (const QString &fomMapperFileName) |
| Set the fom mapper file name. | |
| virtual QString | fomMapperFileName () const |
| virtual void | setCustomFomMapperInitString (const QString &fomMapperInitString) |
| Set the fom mapper init string. | |
| virtual QString | fomMapperInitString () const |
| virtual void | setUseEmptyFomMapper (bool enabled) |
| Set the use generic fom mapper state. | |
| virtual bool | useEmptyFomMapper () const |
| virtual void | setIgnoreAdvisories (bool enabled) |
| Set the use advisories state. | |
| virtual bool | ignoreAdvisories () const |
| virtual void | registerConnectStatusChangeSlot () |
| Register slots associated with connection status. | |
| virtual void | setWaitOnLoadReconnect () |
| Set flag to wait on tape load reconnect. | |
| 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 void | connect () |
| connects the simulation | |
| virtual void | connectStatusChanged (bool connected) |
| Process a connection change. | |
| virtual void | unableToConnect () |
| process a failed connect action | |
| virtual QString | getOpenFileName (const QString &fileFilter) |
| Browse for a file name using the given filter. | |
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. | |
| void | useRprFomRadioButtonClicked () |
| A callback for when the rpr fom mapper radio button is clicked. | |
| void | useMatrexFomMapperRadioButtonClicked () |
| A callback for when the matrex fom mapper check box is clicked. | |
| void | useCustomFomRadioButtonClicked () |
| A callback for when the custom fom mapper radio button is clicked. | |
| void | useEmptyFomMapperRadioButtonClicked () |
| A callback for when the empty fom mapper check box is clicked. | |
| virtual void | fedFileBrowse () |
| Browse for fed file. | |
| virtual void | fomModuleBrowse () |
| Browse for FOM Module files. | |
| virtual void | mimBrowse () |
| Browse for fed file. | |
| virtual void | fomMapperBrowse () |
| Browse for Fom Mapper files. | |
Protected Member Functions | |
| virtual void | saveChanges () |
| Save configuration changes after a configuration change initiated from the loading a tape. | |
Protected Attributes | |
| DtLoggerApplication & | myApplication |
| DtLgrHlaSimMenus * | myMenu |
| bool | myWaitingForConnect |
| bool | myWaitingForDisconnect |
| bool | myWaitOnLoadReconnect |
| QString | myFomFilter |
| QString | myMapperFilter |
| bool | myHasChangedSinceSave |
| QString | myCurrentExerciseName |
| QString | myCurrentFederateType |
| QString | myCurrentFedFileName |
| QString | myCurrentMatrexFomMapperInitString |
| QString | myCurrentFomMapperFileName |
| QString | myCurrentFomMapperInitString |
| double | myCurrentRprFomVersion |
| int | myCurrentRprFomRevision |
| bool | myCurrentUseMatrexFomMapper |
| bool | myCurrentUseEmptyFomMapper |
| bool | myCurrentIgnoreAdvisories |
The HLA Connection Dialog interface.
This wraps the Ui_DtHlaConnectionDialog 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::DtHlaConnectionDialog::DtHlaConnectionDialog | ( | DtLoggerApplication & | app, |
| DtLgrHlaSimMenus * | menu, | ||
| QWidget * | parent | ||
| ) |
CTOR.
|
virtual |
DTOR.
| void MAKLogger::DtHlaConnectionDialog::configureConnectionButton | ( | ) |
, sets the state of the connection button (to "connected" or "disconnected")
|
virtual |
connects the simulation
|
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 |
disconnects the simulation
|
virtual |
|
virtual |
|
protectedvirtualslot |
Browse for fed file.
|
virtual |
|
protectedvirtualslot |
Browse for Fom Mapper files.
|
virtual |
|
virtual |
|
protectedvirtualslot |
Browse for FOM Module files.
|
virtual |
Browse for a file name using the given filter.
Return just the file name if it is in the working dir; otherwise; return the full path.
|
virtual |
|
virtual |
|
protectedvirtualslot |
Browse for fed file.
|
virtual |
Register slots associated with connection status.
Implements MAKLogger::DtLgrConnectionDialog.
|
virtual |
Get the RPR FOM revision.
|
virtual |
|
protectedvirtual |
Save configuration changes after a configuration change initiated from the loading a tape.
|
virtual |
Set the fom mapper file name.
|
virtual |
Set the fom mapper init string.
|
virtual |
Freeze or unfreeze the interface based on the state parameter.
|
virtual |
Set the exercise name.
|
virtual |
Set the federate type.
|
virtual |
Set the fed file name.
|
virtual |
Set the use advisories state.
|
virtual |
Set the fom mapper init string.
|
virtual |
Set the RPR FOM version.
|
virtual |
Set the use generic fom mapper state.
|
virtual |
Set the use MATREX fom mapper state.
|
virtual |
Set flag to wait on tape load reconnect.
Implements MAKLogger::DtLgrConnectionDialog.
|
virtual |
process a failed connect action
|
protectedslot |
A callback for when the custom fom mapper radio button is clicked.
|
virtual |
|
protectedslot |
A callback for when the empty fom mapper check box is clicked.
|
virtual |
|
protectedslot |
A callback for when the matrex fom mapper check box is clicked.
|
protectedslot |
A callback for when the rpr fom mapper radio button is clicked.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |