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

Public Member Functions | |
| DtHla13ConnectionWidget (DtDe &de, QWidget *parent) | |
| CTOR. | |
| virtual | ~DtHla13ConnectionWidget () |
| 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 | 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 | setAppNumber (int appNumber) |
| Set the application number in the GUI. | |
| virtual void | setSiteId (int siteId) |
| Set the site id in the GUI. | |
| 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 (DtHla13ConnectionInterface::ConnectionStatus status) |
| Set the connection status. | |
| virtual void | setAutoConnectEnabled (bool enabled) |
| Set whether the auto connect button can be enabled. | |
Protected Slots | |
| void | onFederationNameString_textChanged (QString) |
| void | onFedFileNameString_textChanged (QString) |
| void | onFedFileBrowseButton_released () |
| void | onFederateTypeString_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 | onConnectButton_clicked () |
| void | onMakeAutoButton_clicked () |
| void | onAdvancedButton_checkChanged (bool checked) |
| void | onSiteId_changed (int val) |
| void | onAppNumber_changed (int val) |
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 |
| DtHla13ConnectionInterface::ConnectionStatus | myStatus |
| DtHla13ConnectionLogic * | myLogic |
| DtDe & | myDe |
| QVBoxLayout * | myDataLayout |
| QPushButton * | myConnectButton |
| QPushButton * | myMakeAutoButton |
Widget for HLA 1.3 connection.
| makVrv::DtHla13ConnectionWidget::DtHla13ConnectionWidget | ( | DtDe & | de, |
| QWidget * | parent | ||
| ) |
CTOR.
| virtual makVrv::DtHla13ConnectionWidget::~DtHla13ConnectionWidget | ( | ) | [virtual] |
Virtual DTOR.
| virtual void makVrv::DtHla13ConnectionWidget::setExerciseName | ( | const std::string & | exerciseName | ) | [virtual] |
Set the exercise name.
Implements makVrv::DtHla13ConnectionInterface.
| virtual void makVrv::DtHla13ConnectionWidget::setFederateType | ( | const std::string & | federateType | ) | [virtual] |
Set the federate type.
Implements makVrv::DtHla13ConnectionInterface.
| virtual void makVrv::DtHla13ConnectionWidget::setFedFileName | ( | const std::string & | fedFileName | ) | [virtual] |
Set the fed file name.
Implements makVrv::DtHla13ConnectionInterface.
| virtual void makVrv::DtHla13ConnectionWidget::setRPRFomVersion | ( | double | rprFomVersion, |
| int | rprFomRevision = 1 |
||
| ) | [virtual] |
Set the RPR FOM version.
Implements makVrv::DtHla13ConnectionInterface.
| virtual void makVrv::DtHla13ConnectionWidget::setFomMapperFileName | ( | const std::string & | fomMapperFileName | ) | [virtual] |
Set the fom mapper file name.
Implements makVrv::DtHla13ConnectionInterface.
| virtual void makVrv::DtHla13ConnectionWidget::setFomMapperInitString | ( | const std::string & | fomMapperInitString | ) | [virtual] |
Set the fom mapper init string.
Implements makVrv::DtHla13ConnectionInterface.
| virtual void makVrv::DtHla13ConnectionWidget::setAppNumber | ( | int | appNumber | ) | [virtual] |
Set the application number in the GUI.
Implements makVrv::DtHla13ConnectionInterface.
| virtual void makVrv::DtHla13ConnectionWidget::setSiteId | ( | int | siteId | ) | [virtual] |
Set the site id in the GUI.
Implements makVrv::DtHla13ConnectionInterface.
| virtual void makVrv::DtHla13ConnectionWidget::setDdmEnabled | ( | bool | enabled | ) | [virtual] |
Set the ddm enabled state.
Implements makVrv::DtHla13ConnectionInterface.
| virtual void makVrv::DtHla13ConnectionWidget::setUseAdvisories | ( | bool | enabled | ) | [virtual] |
Set the use advisories state.
Implements makVrv::DtHla13ConnectionInterface.
| virtual void makVrv::DtHla13ConnectionWidget::setPublishObserver | ( | bool | isPublished | ) | [virtual] |
Set the observer to be published.
Implements makVrv::DtHla13ConnectionInterface.
| virtual void makVrv::DtHla13ConnectionWidget::setViewControl | ( | bool | isEnabled | ) | [virtual] |
Set the view control state.
Implements makVrv::DtHla13ConnectionInterface.
| virtual void makVrv::DtHla13ConnectionWidget::setConnectionStatus | ( | DtHla13ConnectionInterface::ConnectionStatus | status | ) | [virtual] |
Set the connection status.
Implements makVrv::DtHla13ConnectionInterface.
| virtual void makVrv::DtHla13ConnectionWidget::setAutoConnectEnabled | ( | bool | enabled | ) | [virtual] |
Set whether the auto connect button can be enabled.
Implements makVrv::DtHla13ConnectionInterface.
| void makVrv::DtHla13ConnectionWidget::setupGui | ( | ) | [protected] |
Initializes the widget's widgets and layout.
Non-virtual because this method is called from the constructor.
| QVBoxLayout* makVrv::DtHla13ConnectionWidget::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::DtHla13ConnectionWidget::connectToWidgetSignals | ( | ) | [protected] |
Connects slots to widgets' modification signals.
Non-virtual because this method is called from the constructor.
| virtual bool makVrv::DtHla13ConnectionWidget::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::DtHla13ConnectionWidget::onFederationNameString_textChanged | ( | QString | ) | [protected, slot] |
| void makVrv::DtHla13ConnectionWidget::onFedFileNameString_textChanged | ( | QString | ) | [protected, slot] |
| void makVrv::DtHla13ConnectionWidget::onFedFileBrowseButton_released | ( | ) | [protected, slot] |
| void makVrv::DtHla13ConnectionWidget::onFederateTypeString_textChanged | ( | QString | ) | [protected, slot] |
| void makVrv::DtHla13ConnectionWidget::onIgnoreAdvisoriesCheckBox_stateChanged | ( | int | ) | [protected, slot] |
| void makVrv::DtHla13ConnectionWidget::onImplicitGeographicDdmCheckBox_stateChanged | ( | int | ) | [protected, slot] |
| void makVrv::DtHla13ConnectionWidget::onRprFomRadioButton_toggled | ( | bool | ) | [protected, slot] |
| void makVrv::DtHla13ConnectionWidget::onRprFomVersionComboBox_activated | ( | QString | ) | [protected, slot] |
| void makVrv::DtHla13ConnectionWidget::onCustomFomRadioButton_toggled | ( | bool | ) | [protected, slot] |
| void makVrv::DtHla13ConnectionWidget::onFomMapperLibraryName_textChanged | ( | QString | ) | [protected, slot] |
| void makVrv::DtHla13ConnectionWidget::onFomMapperInitString_textChanged | ( | QString | ) | [protected, slot] |
| void makVrv::DtHla13ConnectionWidget::onPublishObserversCheckBox_stateChanged | ( | int | ) | [protected, slot] |
| void makVrv::DtHla13ConnectionWidget::onListenForViewControlsCheckBox_stateChanged | ( | int | ) | [protected, slot] |
| void makVrv::DtHla13ConnectionWidget::onConnectButton_clicked | ( | ) | [protected, slot] |
| void makVrv::DtHla13ConnectionWidget::onMakeAutoButton_clicked | ( | ) | [protected, slot] |
| void makVrv::DtHla13ConnectionWidget::onAdvancedButton_checkChanged | ( | bool | checked | ) | [protected, slot] |
| void makVrv::DtHla13ConnectionWidget::onSiteId_changed | ( | int | val | ) | [protected, slot] |
| void makVrv::DtHla13ConnectionWidget::onAppNumber_changed | ( | int | val | ) | [protected, slot] |
Ui::HlaConnectionConfigurationLayout makVrv::DtHla13ConnectionWidget::myHlaConfigurationLayout [protected] |
DtDe& makVrv::DtHla13ConnectionWidget::myDe [protected] |
QVBoxLayout* makVrv::DtHla13ConnectionWidget::myDataLayout [protected] |