![]() |
VR-Forces 4.0.4 Class Documentation
|
Widget for HLA 1516e connection. More...

Public Member Functions | |
| DtHla1516eConnectionWidget (DtDe &de, QWidget *parent) | |
| CTOR. | |
| virtual | ~DtHla1516eConnectionWidget () |
| Virtual DTOR. | |
| virtual void | setExerciseName (const std::string &exerciseName) |
| Set the exercise name. | |
| virtual void | setFederateType (const std::string &federateType) |
| Set the federate type. | |
| virtual void | setFederateName (const std::string &federateName) |
| Set the federate name. | |
| virtual void | setFedFileName (const std::string &fedFileName) |
| Set the fed file name. | |
| virtual void | setRPRFomVersion (double rprFomVersion, int rprFomRevision=1) |
| Set the RPR FOM version. | |
| virtual void | setFomMapperFileName (const std::string &fomMapperFileName) |
| Set the fom mapper file name. | |
| virtual void | setFomMapperInitString (const std::string &fomMapperInitString) |
| Set the fom mapper init string. | |
| virtual void | setDdmEnabled (bool enabled) |
| Set the ddm enabled state. | |
| virtual void | setUseAdvisories (bool enabled) |
| Set the use advisories state. | |
| virtual void | setPublishObserver (bool isPublished) |
| Set the observer to be published. | |
| virtual void | setViewControl (bool isEnabled) |
| Set the view control state. | |
| virtual void | setConnectionStatus (DtHla1516eConnectionInterface::ConnectionStatus status) |
| Set the connection status. | |
| virtual void | setAutoConnectEnabled (bool enabled) |
| Set whether the auto connect button can be enabled. | |
| virtual void | setAppNumber (int appNumber) |
| Set the application number in the GUI. | |
| virtual void | setSiteId (int siteId) |
| Set the site id in the GUI. | |
| virtual void | addFomModule (const std::string &) |
| add a new fom module | |
| virtual void | removeFomModule (const std::string &) |
| remove a fom module | |
| virtual void | clearFomModules () |
| Clears fom module list box. | |
Protected Slots | |
| void | onFederationNameString_textChanged (QString) |
| void | onFedFileNameString_textChanged (QString) |
| void | onFedFileBrowseButton_released () |
| void | onFederateTypeString_textChanged (QString) |
| void | onFederateNameString_textChanged (QString) |
| void | onIgnoreAdvisoriesCheckBox_stateChanged (int) |
| void | onImplicitGeographicDdmCheckBox_stateChanged (int) |
| void | onRprFomRadioButton_toggled (bool) |
| void | onRprFomVersionComboBox_activated (QString) |
| void | onCustomFomRadioButton_toggled (bool) |
| void | onFomMapperLibraryName_textChanged (QString) |
| void | onFomMapperInitString_textChanged (QString) |
| void | onPublishObserversCheckBox_stateChanged (int) |
| void | onListenForViewControlsCheckBox_stateChanged (int) |
| void | onAdvancedButton_checkChanged (bool checked) |
| void | onSiteId_changed (int val) |
| void | onAppNumber_changed (int val) |
| void | onAddFomModuleButton_released () |
| void | onRemoveFomModuleButtonClicked () |
| virtual void | onFomItemSelectionChanged () |
| void | onConnectButton_clicked () |
| void | onMakeAutoButton_clicked () |
Protected Member Functions | |
| void | setupGui () |
| Initializes the widget's widgets and layout. | |
| QVBoxLayout * | createButtonLayout () |
| Creates the button layout for the right side of the widget. | |
| void | connectToWidgetSignals () |
| Connects slots to widgets' modification signals. | |
| virtual bool | parseFomVerRev (const QString &verRevStr, double &version, int &revision) |
| Determines the version and revision given a combined string. | |
Protected Attributes | |
| Ui::HlaConnectionConfigurationLayout | myHlaConfigurationLayout |
| DtHla1516eConnectionInterface::ConnectionStatus | myStatus |
| DtHla1516eConnectionLogic * | myLogic |
| DtDe & | myDe |
| QVBoxLayout * | myDataLayout |
| QPushButton * | myConnectButton |
| QPushButton * | myMakeAutoButton |
Widget for HLA 1516e connection.
| makVrv::DtHla1516eConnectionWidget::DtHla1516eConnectionWidget | ( | DtDe & | de, |
| QWidget * | parent | ||
| ) |
CTOR.
| virtual makVrv::DtHla1516eConnectionWidget::~DtHla1516eConnectionWidget | ( | ) | [virtual] |
Virtual DTOR.
| virtual void makVrv::DtHla1516eConnectionWidget::setExerciseName | ( | const std::string & | exerciseName | ) | [virtual] |
Set the exercise name.
Implements makVrv::DtHla1516eConnectionInterface.
| virtual void makVrv::DtHla1516eConnectionWidget::setFederateType | ( | const std::string & | federateType | ) | [virtual] |
Set the federate type.
Implements makVrv::DtHla1516eConnectionInterface.
| virtual void makVrv::DtHla1516eConnectionWidget::setFederateName | ( | const std::string & | federateName | ) | [virtual] |
Set the federate name.
Implements makVrv::DtHla1516eConnectionInterface.
| virtual void makVrv::DtHla1516eConnectionWidget::setFedFileName | ( | const std::string & | fedFileName | ) | [virtual] |
Set the fed file name.
Implements makVrv::DtHla1516eConnectionInterface.
| virtual void makVrv::DtHla1516eConnectionWidget::setRPRFomVersion | ( | double | rprFomVersion, |
| int | rprFomRevision = 1 |
||
| ) | [virtual] |
Set the RPR FOM version.
Implements makVrv::DtHla1516eConnectionInterface.
| virtual void makVrv::DtHla1516eConnectionWidget::setFomMapperFileName | ( | const std::string & | fomMapperFileName | ) | [virtual] |
Set the fom mapper file name.
Implements makVrv::DtHla1516eConnectionInterface.
| virtual void makVrv::DtHla1516eConnectionWidget::setFomMapperInitString | ( | const std::string & | fomMapperInitString | ) | [virtual] |
Set the fom mapper init string.
Implements makVrv::DtHla1516eConnectionInterface.
| virtual void makVrv::DtHla1516eConnectionWidget::setDdmEnabled | ( | bool | enabled | ) | [virtual] |
Set the ddm enabled state.
Implements makVrv::DtHla1516eConnectionInterface.
| virtual void makVrv::DtHla1516eConnectionWidget::setUseAdvisories | ( | bool | enabled | ) | [virtual] |
Set the use advisories state.
Implements makVrv::DtHla1516eConnectionInterface.
| virtual void makVrv::DtHla1516eConnectionWidget::setPublishObserver | ( | bool | isPublished | ) | [virtual] |
Set the observer to be published.
Implements makVrv::DtHla1516eConnectionInterface.
| virtual void makVrv::DtHla1516eConnectionWidget::setViewControl | ( | bool | isEnabled | ) | [virtual] |
Set the view control state.
Implements makVrv::DtHla1516eConnectionInterface.
| virtual void makVrv::DtHla1516eConnectionWidget::setConnectionStatus | ( | DtHla1516eConnectionInterface::ConnectionStatus | status | ) | [virtual] |
Set the connection status.
Implements makVrv::DtHla1516eConnectionInterface.
| virtual void makVrv::DtHla1516eConnectionWidget::setAutoConnectEnabled | ( | bool | enabled | ) | [virtual] |
Set whether the auto connect button can be enabled.
Implements makVrv::DtHla1516eConnectionInterface.
| virtual void makVrv::DtHla1516eConnectionWidget::setAppNumber | ( | int | appNumber | ) | [virtual] |
Set the application number in the GUI.
Implements makVrv::DtHla1516eConnectionInterface.
| virtual void makVrv::DtHla1516eConnectionWidget::setSiteId | ( | int | siteId | ) | [virtual] |
Set the site id in the GUI.
Implements makVrv::DtHla1516eConnectionInterface.
| virtual void makVrv::DtHla1516eConnectionWidget::addFomModule | ( | const std::string & | ) | [virtual] |
add a new fom module
Implements makVrv::DtHla1516eConnectionInterface.
| virtual void makVrv::DtHla1516eConnectionWidget::removeFomModule | ( | const std::string & | ) | [virtual] |
remove a fom module
Implements makVrv::DtHla1516eConnectionInterface.
| virtual void makVrv::DtHla1516eConnectionWidget::clearFomModules | ( | ) | [virtual] |
Clears fom module list box.
Implements makVrv::DtHla1516eConnectionInterface.
| void makVrv::DtHla1516eConnectionWidget::setupGui | ( | ) | [protected] |
Initializes the widget's widgets and layout.
Non-virtual because this method is called from the constructor.
| QVBoxLayout* makVrv::DtHla1516eConnectionWidget::createButtonLayout | ( | ) | [protected] |
Creates the button layout for the right side of the widget.
Non-virtual because this method is called from the constructor.
| void makVrv::DtHla1516eConnectionWidget::connectToWidgetSignals | ( | ) | [protected] |
Connects slots to widgets' modification signals.
Non-virtual because this method is called from the constructor.
| virtual bool makVrv::DtHla1516eConnectionWidget::parseFomVerRev | ( | const QString & | verRevStr, |
| double & | version, | ||
| int & | revision | ||
| ) | [protected, virtual] |
Determines the version and revision given a combined string.
Given a version-revision string ( eg. 2.0017-2 ), stores the version and revision in the argument references for use independently. If the version and/or revision could not be converted to a float / int, the return value is false, and no values are written to the storage reference parameters.
| verRevStr | the hyphenated version-revision string |
| version | reference to storage for the version part |
| revision | reference to storage for the revision part |
| void makVrv::DtHla1516eConnectionWidget::onFederationNameString_textChanged | ( | QString | ) | [protected, slot] |
| void makVrv::DtHla1516eConnectionWidget::onFedFileNameString_textChanged | ( | QString | ) | [protected, slot] |
| void makVrv::DtHla1516eConnectionWidget::onFedFileBrowseButton_released | ( | ) | [protected, slot] |
| void makVrv::DtHla1516eConnectionWidget::onFederateTypeString_textChanged | ( | QString | ) | [protected, slot] |
| void makVrv::DtHla1516eConnectionWidget::onFederateNameString_textChanged | ( | QString | ) | [protected, slot] |
| void makVrv::DtHla1516eConnectionWidget::onIgnoreAdvisoriesCheckBox_stateChanged | ( | int | ) | [protected, slot] |
| void makVrv::DtHla1516eConnectionWidget::onImplicitGeographicDdmCheckBox_stateChanged | ( | int | ) | [protected, slot] |
| void makVrv::DtHla1516eConnectionWidget::onRprFomRadioButton_toggled | ( | bool | ) | [protected, slot] |
| void makVrv::DtHla1516eConnectionWidget::onRprFomVersionComboBox_activated | ( | QString | ) | [protected, slot] |
| void makVrv::DtHla1516eConnectionWidget::onCustomFomRadioButton_toggled | ( | bool | ) | [protected, slot] |
| void makVrv::DtHla1516eConnectionWidget::onFomMapperLibraryName_textChanged | ( | QString | ) | [protected, slot] |
| void makVrv::DtHla1516eConnectionWidget::onFomMapperInitString_textChanged | ( | QString | ) | [protected, slot] |
| void makVrv::DtHla1516eConnectionWidget::onPublishObserversCheckBox_stateChanged | ( | int | ) | [protected, slot] |
| void makVrv::DtHla1516eConnectionWidget::onListenForViewControlsCheckBox_stateChanged | ( | int | ) | [protected, slot] |
| void makVrv::DtHla1516eConnectionWidget::onAdvancedButton_checkChanged | ( | bool | checked | ) | [protected, slot] |
| void makVrv::DtHla1516eConnectionWidget::onSiteId_changed | ( | int | val | ) | [protected, slot] |
| void makVrv::DtHla1516eConnectionWidget::onAppNumber_changed | ( | int | val | ) | [protected, slot] |
| void makVrv::DtHla1516eConnectionWidget::onAddFomModuleButton_released | ( | ) | [protected, slot] |
| void makVrv::DtHla1516eConnectionWidget::onRemoveFomModuleButtonClicked | ( | ) | [protected, slot] |
| virtual void makVrv::DtHla1516eConnectionWidget::onFomItemSelectionChanged | ( | ) | [protected, virtual, slot] |
| void makVrv::DtHla1516eConnectionWidget::onConnectButton_clicked | ( | ) | [protected, slot] |
| void makVrv::DtHla1516eConnectionWidget::onMakeAutoButton_clicked | ( | ) | [protected, slot] |
Ui::HlaConnectionConfigurationLayout makVrv::DtHla1516eConnectionWidget::myHlaConfigurationLayout [protected] |
DtHla1516eConnectionInterface::ConnectionStatus makVrv::DtHla1516eConnectionWidget::myStatus [protected] |
DtDe& makVrv::DtHla1516eConnectionWidget::myDe [protected] |
QVBoxLayout* makVrv::DtHla1516eConnectionWidget::myDataLayout [protected] |