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

Public Member Functions | |
| DtDisConnectionWidget (DtDe &de, QWidget *parent) | |
| CTOR. | |
| virtual | ~DtDisConnectionWidget () |
| Virtual DTOR. | |
| virtual void | setPort (int port) |
| Set the exercise port. | |
| virtual void | setExerciseId (int exerciseId) |
| Set the exercise id. | |
| virtual void | setApplicationNumber (int appNumber) |
| Set the application number. | |
| virtual void | setSiteId (int siteId) |
| Set the site id. | |
| virtual void | useAsynchronousIO (bool asynchIO) |
| Set whether or not to use Async I/O. | |
| virtual void | setDisVersion (int version) |
| Set the version of DIS to use. | |
| virtual void | setDestinationAddress (const std::string &address) |
| Set the destination address. | |
| virtual void | setDeviceAddress (const std::string &address) |
| Set the Device address. | |
| virtual void | setDeviceAddresses (const std::vector< std::string > &address) |
| Set the available device addresses. | |
| virtual void | setMulticastAddresses (const std::string &addresses) |
| Set the multicast addresses. | |
| virtual void | setSendBufferSize (int sendBufferSize) |
| Set the buffer size to use for sending. | |
| virtual void | setReceiveBufferSize (int receiveBufferSize) |
| Set the buffer size to use for receiving. | |
| virtual void | setMulticastTTL (int ttl) |
| Set the multicast TTL. | |
| virtual void | setPublishObserver (bool isPublished) |
| Set whether or not to publish observers. | |
| virtual void | setSelfReflect (bool selfReflect) |
| Set self-reflect state in GUI. | |
| virtual void | setViewControl (bool isEnabled) |
| Set whether or not view controls are enabled. | |
| virtual void | setConnectionStatus (DtDisConnectionInterface::ConnectionStatus status) |
| Set the connection status. | |
| virtual void | setAutoConnectEnabled (bool enabled) |
| Set whether the auto connect button can be enabled. | |
| virtual void | reportError (const DtUnicode &errorMessage) |
| Report an error to the GUI. | |
Protected Slots | |
| void | onPortSpinBox_valueChanged (int) |
| void | onAppNumSpinBox_valueChanged (int) |
| void | onExerciseIdSpinBox_valueChanged (int) |
| void | onSiteIdSpinBox_valueChanged (int) |
| void | onDisVersionSpinBox_valueChanged (int) |
| void | onDeviceAddrsComboBox_activated (QString) |
| void | onMulticastAddrString_textChanged (QString) |
| void | onSendBufferSizeSpinBox_valueChanged (int) |
| void | onReceiveBufferSizeSpinBox_valueChanged (int) |
| void | onMulticastTtlSpinBox_valueChanged (int) |
| void | onUseAsyncIoCheckBox_stateChanged (int) |
| void | onPublishObserversCheckBox_stateChanged (int) |
| void | onListenForViewControlsCheckBox_stateChanged (int) |
| void | onSelfReflect_checkChanged (int) |
| void | onConnectButton_clicked () |
| void | onMakeAutoButton_clicked () |
| void | onDestAddrString_editingFinished () |
| void | onAdvancedButton_togled (bool checked) |
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 | populateDeviceAddresses () |
| Populates the device addresses combo box. | |
| void | connectToWidgetSignals () |
| Connects slots to widgets' modification signals. | |
Protected Attributes | |
| Ui::DisConnectionConfigurationLayout | myDisConfigurationLayout |
| DtDisConnectionInterface::ConnectionStatus | myStatus |
| DtDisConnectionLogic * | myLogic |
| DtDe & | myDe |
| QVBoxLayout * | myDataLayout |
| QPushButton * | myConnectButton |
| QPushButton * | myMakeAutoButton |
Widget for DIS connection.
| makVrv::DtDisConnectionWidget::DtDisConnectionWidget | ( | DtDe & | de, |
| QWidget * | parent | ||
| ) |
CTOR.
| virtual makVrv::DtDisConnectionWidget::~DtDisConnectionWidget | ( | ) | [virtual] |
Virtual DTOR.
| virtual void makVrv::DtDisConnectionWidget::setPort | ( | int | port | ) | [virtual] |
Set the exercise port.
Implements makVrv::DtDisConnectionInterface.
| virtual void makVrv::DtDisConnectionWidget::setExerciseId | ( | int | exerciseId | ) | [virtual] |
Set the exercise id.
Implements makVrv::DtDisConnectionInterface.
| virtual void makVrv::DtDisConnectionWidget::setApplicationNumber | ( | int | appNumber | ) | [virtual] |
Set the application number.
Implements makVrv::DtDisConnectionInterface.
| virtual void makVrv::DtDisConnectionWidget::setSiteId | ( | int | siteId | ) | [virtual] |
Set the site id.
Implements makVrv::DtDisConnectionInterface.
| virtual void makVrv::DtDisConnectionWidget::useAsynchronousIO | ( | bool | asynchIO | ) | [virtual] |
Set whether or not to use Async I/O.
Implements makVrv::DtDisConnectionInterface.
| virtual void makVrv::DtDisConnectionWidget::setDisVersion | ( | int | version | ) | [virtual] |
Set the version of DIS to use.
Implements makVrv::DtDisConnectionInterface.
| virtual void makVrv::DtDisConnectionWidget::setDestinationAddress | ( | const std::string & | address | ) | [virtual] |
Set the destination address.
Implements makVrv::DtDisConnectionInterface.
| virtual void makVrv::DtDisConnectionWidget::setDeviceAddress | ( | const std::string & | address | ) | [virtual] |
Set the Device address.
Implements makVrv::DtDisConnectionInterface.
| virtual void makVrv::DtDisConnectionWidget::setDeviceAddresses | ( | const std::vector< std::string > & | address | ) | [virtual] |
Set the available device addresses.
Implements makVrv::DtDisConnectionInterface.
| virtual void makVrv::DtDisConnectionWidget::setMulticastAddresses | ( | const std::string & | addresses | ) | [virtual] |
Set the multicast addresses.
Implements makVrv::DtDisConnectionInterface.
| virtual void makVrv::DtDisConnectionWidget::setSendBufferSize | ( | int | sendBufferSize | ) | [virtual] |
Set the buffer size to use for sending.
Implements makVrv::DtDisConnectionInterface.
| virtual void makVrv::DtDisConnectionWidget::setReceiveBufferSize | ( | int | receiveBufferSize | ) | [virtual] |
Set the buffer size to use for receiving.
Implements makVrv::DtDisConnectionInterface.
| virtual void makVrv::DtDisConnectionWidget::setMulticastTTL | ( | int | ttl | ) | [virtual] |
Set the multicast TTL.
Implements makVrv::DtDisConnectionInterface.
| virtual void makVrv::DtDisConnectionWidget::setPublishObserver | ( | bool | isPublished | ) | [virtual] |
Set whether or not to publish observers.
Implements makVrv::DtDisConnectionInterface.
| virtual void makVrv::DtDisConnectionWidget::setSelfReflect | ( | bool | selfReflect | ) | [virtual] |
Set self-reflect state in GUI.
Implements makVrv::DtDisConnectionInterface.
| virtual void makVrv::DtDisConnectionWidget::setViewControl | ( | bool | isEnabled | ) | [virtual] |
Set whether or not view controls are enabled.
Implements makVrv::DtDisConnectionInterface.
| virtual void makVrv::DtDisConnectionWidget::setConnectionStatus | ( | DtDisConnectionInterface::ConnectionStatus | status | ) | [virtual] |
Set the connection status.
Implements makVrv::DtDisConnectionInterface.
| virtual void makVrv::DtDisConnectionWidget::setAutoConnectEnabled | ( | bool | enabled | ) | [virtual] |
Set whether the auto connect button can be enabled.
Implements makVrv::DtDisConnectionInterface.
| virtual void makVrv::DtDisConnectionWidget::reportError | ( | const DtUnicode & | errorMessage | ) | [virtual] |
Report an error to the GUI.
Implements makVrv::DtDisConnectionInterface.
| void makVrv::DtDisConnectionWidget::setupGui | ( | ) | [protected] |
Initializes the widget's widgets and layout.
Non-virtual because this method is called from the constructor.
| QVBoxLayout* makVrv::DtDisConnectionWidget::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::DtDisConnectionWidget::populateDeviceAddresses | ( | ) | [protected] |
Populates the device addresses combo box.
Determines the available devide addresses and populates the combo box. Non-virtual because this method is called from the constructor.
| void makVrv::DtDisConnectionWidget::connectToWidgetSignals | ( | ) | [protected] |
Connects slots to widgets' modification signals.
Non-virtual because this method is called from the constructor.
| void makVrv::DtDisConnectionWidget::onPortSpinBox_valueChanged | ( | int | ) | [protected, slot] |
| void makVrv::DtDisConnectionWidget::onAppNumSpinBox_valueChanged | ( | int | ) | [protected, slot] |
| void makVrv::DtDisConnectionWidget::onExerciseIdSpinBox_valueChanged | ( | int | ) | [protected, slot] |
| void makVrv::DtDisConnectionWidget::onSiteIdSpinBox_valueChanged | ( | int | ) | [protected, slot] |
| void makVrv::DtDisConnectionWidget::onDisVersionSpinBox_valueChanged | ( | int | ) | [protected, slot] |
| void makVrv::DtDisConnectionWidget::onDeviceAddrsComboBox_activated | ( | QString | ) | [protected, slot] |
| void makVrv::DtDisConnectionWidget::onMulticastAddrString_textChanged | ( | QString | ) | [protected, slot] |
| void makVrv::DtDisConnectionWidget::onSendBufferSizeSpinBox_valueChanged | ( | int | ) | [protected, slot] |
| void makVrv::DtDisConnectionWidget::onReceiveBufferSizeSpinBox_valueChanged | ( | int | ) | [protected, slot] |
| void makVrv::DtDisConnectionWidget::onMulticastTtlSpinBox_valueChanged | ( | int | ) | [protected, slot] |
| void makVrv::DtDisConnectionWidget::onUseAsyncIoCheckBox_stateChanged | ( | int | ) | [protected, slot] |
| void makVrv::DtDisConnectionWidget::onPublishObserversCheckBox_stateChanged | ( | int | ) | [protected, slot] |
| void makVrv::DtDisConnectionWidget::onListenForViewControlsCheckBox_stateChanged | ( | int | ) | [protected, slot] |
| void makVrv::DtDisConnectionWidget::onSelfReflect_checkChanged | ( | int | ) | [protected, slot] |
| void makVrv::DtDisConnectionWidget::onConnectButton_clicked | ( | ) | [protected, slot] |
| void makVrv::DtDisConnectionWidget::onMakeAutoButton_clicked | ( | ) | [protected, slot] |
| void makVrv::DtDisConnectionWidget::onDestAddrString_editingFinished | ( | ) | [protected, slot] |
| void makVrv::DtDisConnectionWidget::onAdvancedButton_togled | ( | bool | checked | ) | [protected, slot] |
Ui::DisConnectionConfigurationLayout makVrv::DtDisConnectionWidget::myDisConfigurationLayout [protected] |
DtDe& makVrv::DtDisConnectionWidget::myDe [protected] |
QVBoxLayout* makVrv::DtDisConnectionWidget::myDataLayout [protected] |