![]() |
VR-Forces 4.8 Class Documentation
|
Logic for controlling the audio settings. More...

Public Member Functions | |
| DtAudioVolumeLogic (DtDe &de, DtAudioVolumeWidgetInterface &widgetIFace) | |
| Initializing CTOR. More... | |
| virtual | ~DtAudioVolumeLogic () |
| Virtual DTOR. More... | |
Control settings slots. | |
| virtual void | slot_VolumeChanged (int val) |
| Called when the user changes volume. More... | |
| virtual void | slot_AudioEnabledChanged (bool val) |
| Called when the user enables or disables audio. More... | |
Update GUI slots. | |
| virtual void | slot_VolumeUpdated (double val) |
| Called when the volume was changed in the settings. More... | |
| virtual void | slot_AudioEnabledUpdated (bool val) |
| Called when audio is enabled or disabled in the settings. More... | |
| virtual void | slot_postInitialize () |
| Called at initialization to update the state of the GUI. More... | |
Protected Member Functions | |
| virtual void | sendSettingsToGui () |
| Update the GUI with settings. More... | |
Protected Member Functions inherited from makVrv::DtSignalConnectionManager | |
| bool | blockConnection (int index, bool blocked) |
| Blocks/unblocks connections. More... | |
| bool | connectionBlocked (int index) const |
| check whether connections are blocked. More... | |
| DtSignalConnectionManager () | |
| CTOR. More... | |
| virtual | ~DtSignalConnectionManager () |
| DTOR. More... | |
| void | manageConnection (const boost::signalslib::connection &conn) |
| Connect a signal. More... | |
| void | manageConnection (const boost::signalslib2::connection &conn) |
| DtSignalConnectionManager & | operator+= (const boost::signalslib::connection &conn) |
| Connect a signal. More... | |
| DtSignalConnectionManager & | operator+= (const boost::signalslib2::connection &conn) |
| bool | blockConnections (bool blocked) |
| Blocks/unblocks connections. More... | |
| int | numberOfConnections () const |
| Get the number of connections. More... | |
| void | disconnectSignals () |
| Disconnect all signals. More... | |
| bool | connectionsBlocked () const |
| check whether connections are blocked. More... | |
Protected Attributes | |
| DtDe & | myDe |
| The display engine for this instance. More... | |
| DtAudioVolumeWidgetInterface & | myInterface |
| The interface to the graphical widget. More... | |
Protected Attributes inherited from makVrv::DtSignalConnectionManager | |
| Connections | myConnections |
| The connected signals. More... | |
| Connections2 | myConnections2 |
| bool | myConnectionsBlocked |
| bool | myIndiviualConnectionedBlocked |
| std::vector < boost::signalslib2::shared_connection_block * > | mySharedConnectionsBlockManager |
| blocking Connections manager for signal2 connection More... | |
Additional Inherited Members | |
Protected Types inherited from makVrv::DtSignalConnectionManager | |
| typedef std::vector < boost::signalslib::connection > | Connections |
| A collection of signals. More... | |
| typedef std::vector < boost::signalslib2::connection > | Connections2 |
Logic for controlling the audio settings.
| makVrv::DtAudioVolumeLogic::DtAudioVolumeLogic | ( | DtDe & | de, |
| DtAudioVolumeWidgetInterface & | widgetIFace | ||
| ) |
Initializing CTOR.
| [in] | de | is the display engine used when creating this instance. |
| [in] | widgetIFace | is the interface to the graphical widget. |
|
virtual |
Virtual DTOR.
|
virtual |
Called when the user changes volume.
| [in] | val | is the new volume setting (0 - 100). |
|
virtual |
Called when the user enables or disables audio.
| [in] | val | is the new audio enabled setting (true=enabled, false=disabled). |
|
virtual |
Called when the volume was changed in the settings.
| [in] | val | is the new volume setting (0.0 - 1.0). |
|
virtual |
Called when audio is enabled or disabled in the settings.
| [in] | val | is the new audio enabled setting (true=enabled, false=disabled). |
|
virtual |
Called at initialization to update the state of the GUI.
|
protectedvirtual |
Update the GUI with settings.
|
protected |
The display engine for this instance.
|
protected |
The interface to the graphical widget.