![]() |
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. More... | |
| virtual | ~DtHlaConnectionDialog () |
| DTOR. More... | |
| virtual void | setExerciseName (const QString &exerciseName) |
| Set the exercise name. More... | |
| virtual QString | exerciseName () const |
| virtual void | setFederateType (const QString &federateType) |
| Set the federate type. More... | |
| virtual QString | federateType () const |
| virtual void | setFedFileName (const QString &fedFileName) |
| Set the fed file name. More... | |
| virtual QString | fedFileName () const |
| virtual void | setRPRFomVersion (double fomVersion, int fomRevision) |
| Set the RPR FOM version. More... | |
| virtual double | rprFomVersion () const |
| virtual int | rprFomRevision () const |
| Get the RPR FOM revision. More... | |
| virtual void | setUseMatrexFomMapper (bool enabled) |
| Set the use MATREX fom mapper state. More... | |
| virtual bool | useMatrexFomMapper () const |
| virtual void | setMatrexFomMapperInitString (const QString &fomMapperInitString) |
| Set the fom mapper init string. More... | |
| virtual QString | matrexFomMapperInitString () const |
| virtual void | setCustomFomMapperFileName (const QString &fomMapperFileName) |
| Set the fom mapper file name. More... | |
| virtual QString | fomMapperFileName () const |
| virtual void | setCustomFomMapperInitString (const QString &fomMapperInitString) |
| Set the fom mapper init string. More... | |
| virtual QString | fomMapperInitString () const |
| virtual void | setUseEmptyFomMapper (bool enabled) |
| Set the use generic fom mapper state. More... | |
| virtual bool | useEmptyFomMapper () const |
| virtual void | setIgnoreAdvisories (bool enabled) |
| Set the use advisories state. More... | |
| virtual bool | ignoreAdvisories () const |
| virtual void | setUseExConnConfig (bool enabled) |
| Set the use exercise connection config state. More... | |
| virtual bool | useExConnConfig () const |
| virtual void | setConfigFile (const QString &configFileName) |
| Set/get the exercise connection config file path. More... | |
| virtual QString | configFile () 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... | |
| virtual void | setRadioButtonStyling (int selection) |
| Formatting the inputs that rely on radio button selections. More... | |
| void | configureConnectionButton () |
| , sets the state of the connection button (to "connected" or "disconnected") More... | |
| virtual void | disconnect () |
| disconnects the simulation More... | |
| virtual void | connect () |
| connects the simulation More... | |
| virtual void | connectStatusChanged (bool connected) |
| Process a connection change. More... | |
| virtual void | unableToConnect () |
| process a failed connect action More... | |
| virtual void | reloadConnectionSettings () |
| Reload connection fields based on current Use Exercise Connection Config state. More... | |
| virtual void | updateExerciseConfigHint () |
| Update the exercise-config status hint visibility and text. More... | |
| virtual QString | getOpenFileName (const QString &fileFilter) |
| Browse for a file name using the given filter. 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 | useRprFomRadioButtonClicked () |
| A callback for when the rpr fom mapper radio button is clicked. More... | |
| void | useMatrexFomMapperRadioButtonClicked () |
| A callback for when the matrex fom mapper check box is clicked. More... | |
| void | useCustomFomRadioButtonClicked () |
| A callback for when the custom fom mapper radio button is clicked. More... | |
| void | useEmptyFomMapperRadioButtonClicked () |
| A callback for when the empty fom mapper check box is clicked. More... | |
| virtual void | fedFileBrowse () |
| Browse for fed file. More... | |
| virtual void | fomModuleBrowse () |
| Browse for FOM Module files. More... | |
| virtual void | mimBrowse () |
| Browse for fed file. More... | |
| virtual void | fomMapperBrowse () |
| Browse for Fom Mapper files. More... | |
| virtual void | configFileBrowse () |
| Browse for exercise connection config file. More... | |
| virtual void | configFileEditingFinished () |
| Apply manually edited config file path. More... | |
Protected Member Functions | |
| virtual void | saveChanges () |
| Save configuration changes after a configuration change initiated from the loading a tape. More... | |
| virtual void | applyLgrConfigToDialog (DtLoggerAppConfigLoader *configLoader) |
| Populate the dialog widgets from the lgr-config env defaults held by the given config loader. More... | |
| virtual void | applyExerciseConfigToDialog (DtLoggerAppConfigLoader *configLoader) |
| Populate the dialog widgets from the exercise-conn-config file referenced by the given config loader. More... | |
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 |
| QString | myCurrentFederateName |
| QString | myCurrentMim |
| bool | myCurrentUseExConnConfig |
| QString | myCurrentConfigFile |
| QLabel * | myExerciseConfigHintLabel |
| QLineEdit * | myConfigFileNameString |
| QToolButton * | myConfigFileBrowseButton |
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.
|
protectedvirtual |
Populate the dialog widgets from the exercise-conn-config file referenced by the given config loader.
|
protectedvirtual |
Populate the dialog widgets from the lgr-config env defaults held by the given config loader.
|
virtual |
|
protectedvirtualslot |
Browse for exercise connection config file.
|
protectedvirtualslot |
Apply manually edited config file path.
| 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 |
Reload connection fields based on current Use Exercise Connection Config state.
|
virtual |
Get the RPR FOM revision.
|
virtual |
|
protectedvirtual |
Save configuration changes after a configuration change initiated from the loading a tape.
|
virtual |
Set/get the exercise connection config file path.
|
virtual |
Set the fom mapper file name.
|
virtual |
Set the fom mapper init string.
|
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 |
Formatting the inputs that rely on radio button selections.
|
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 |
Set the RPR FOM version.
|
virtual |
Set the use generic fom mapper state.
|
virtual |
Set the use exercise connection config 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
|
virtual |
Update the exercise-config status hint visibility and text.
|
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 |
|
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 |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |