![]() |
VR-Forces Developer's Guide
|
Logic for controlling the audio settings.

Public Member Functions | |
| DtAudioVolumeLogic (DtDe &de, DtAudioVolumeWidgetInterface &widgetIFace) | |
| virtual | ~DtAudioVolumeLogic () |
Control settings slots. | |
| virtual void | slot_VolumeChanged (int val) |
| virtual void | slot_AudioEnabledChanged (bool val) |
Update GUI slots. | |
| virtual void | slot_VolumeUpdated (double val) |
| virtual void | slot_AudioEnabledUpdated (bool val) |
| virtual void | slot_postInitialize () |
Protected Member Functions | |
| virtual void | sendSettingsToGui () |
Protected Member Functions inherited from makVrv::DtSignalConnectionManager | |
| DtSignalConnectionManager () | |
| virtual | ~DtSignalConnectionManager () |
| void | manageConnection (const boost::signalslib::connection &conn) |
| DtSignalConnectionManager & | operator+= (const boost::signalslib::connection &conn) |
| bool | blockConnections (bool blocked) |
| int | numberOfConnections () const |
| void | disconnectSignals () |
| bool | connectionsBlocked () const |
Protected Attributes | |
| DtDe & | myDe |
| DtAudioVolumeWidgetInterface & | myInterface |
Protected Attributes inherited from makVrv::DtSignalConnectionManager | |
| Connections | myConnections |
| bool | myConnectionsBlocked |
| bool | myIndiviualConnectionedBlocked |
| std::vector < boost::signalslib::shared_connection_block * > | mySharedConnectionsBlockManager |
Additional Inherited Members | |
Protected Types inherited from makVrv::DtSignalConnectionManager | |
| typedef std::vector < boost::signalslib::connection > | Connections |
| 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.