The HLA Connection Dialog interface. More...
Inheritance diagram for MAKLogger::DtHlaConnectionDialog:
Collaboration diagram for MAKLogger::DtHlaConnectionDialog:Public Member Functions | |
| DtHlaConnectionDialog (DtLoggerApplication &app, QWidget *parent) | |
| CTOR. | |
| virtual | ~DtHlaConnectionDialog () |
| DTOR. | |
| virtual void | setExerciseName (const QString &exerciseName) |
| Set the exercise name. | |
| virtual QString | exerciseName () const |
| virtual void | setFederateName (const QString &federateName) |
| Set the federate name. | |
| virtual QString | federateName () 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 |
| Set the RPR FOM revision. | |
| 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 | 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 | |
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 | 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. | |
Protected Attributes | |
| DtLoggerApplication & | myApplication |
| QString | myFedFile |
| QString | myFomFilter |
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.
| void MAKLogger::DtHlaConnectionDialog::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.