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

Public Member Functions | |
| DtAudioSettingsPageLogic (DtDe &de, DtAudioSettingsWidgetInterface &settingsIFace, DtPersistenceControlsInterface &persistenceIFace) | |
| Initializing CTOR. More... | |
| virtual | ~DtAudioSettingsPageLogic () |
| Virtual DTOR. More... | |
Control settings slots. | |
| virtual void | slot_audioEnabledChanged (bool val) |
| Called when the user enables or disables audio. More... | |
| virtual void | slot_volumeChanged (int val) |
| Called when the user changes volume. More... | |
| virtual void | slot_playbackDeviceChanged (const std::string &val) |
| Called when the user changes the playback device. More... | |
| virtual void | slot_captureDeviceChanged (const std::string &val) |
| Called when the user changes the capture device. More... | |
| virtual void | slot_speedOfSoundChanged (double val) |
| Called when the user changes the speed of sound. More... | |
| virtual void | slot_maxVoicesChanged (int val) |
| Called when the user changes the maximum number of voices (sounds that can be played simultaneously). More... | |
| virtual void | slot_maxmimumOutputDecibelCapabilityChanged (double val) |
| Called when the user changes the maximum sound the speakers can generate. More... | |
| virtual void | slot_environmentalProcessingEnabledChanged (bool val) |
| Called when the user changes whether or not to use environmental processing. 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_speedOfSoundUpdated (double val) |
| Called when the speed of sound was changed in the settings. More... | |
| virtual void | slot_playbackDeviceUpdated (const std::string &val) |
| Called when the user changes the playback device. More... | |
| virtual void | slot_captureDeviceUpdated (const std::string &val) |
| Called when the user changes the capture device. More... | |
| virtual void | slot_maxVoicesUpdated (int val) |
| Called when the maximum number of voices (sounds that can be played simultaneously) are changed in the settings. More... | |
| virtual void | slot_maxmimumOutputDecibelCapabilityUpdated (double val) |
| Called when the maximum sound the speakers can generate changes in the settings. More... | |
| virtual void | slot_environmentalProcessingEnabledUpdated (bool val) |
| Called when the environmental processing is changed in the settings. More... | |
| virtual void | slot_environmentalProcessingAvailableUpdated (bool val) |
| Called when the environmental processing is available is changed in the settings. More... | |
Persistence slots. | |
| virtual void | on_saveDefaults () |
| Called when the user saves current settings as defaults. More... | |
| virtual void | on_restoreDefaults () |
| Called when the user reloads the default settings. More... | |
| virtual void | on_import () |
| Called to query the user for the settings file to import. More... | |
| virtual void | on_export () |
| Called to query the user for the settings file to export. More... | |
| virtual void | on_importFilePathChosen (const std::string &filePath) |
| Called when the user selects a settings file to import. More... | |
| virtual void | on_exportFilePathChosen (const std::string &filePath) |
| Called when the user selects a settings file to export. More... | |
| virtual void | on_restoreFactoryDefaults () |
| Called when the user reloads the factory settings. More... | |
Protected Member Functions | |
| virtual void | sendSettingsToGui () |
| Update the GUI with settings. More... | |
Protected Member Functions inherited from makVrv::DtSignalConnectionManager | |
| DtSignalConnectionManager () | |
| CTOR. More... | |
| virtual | ~DtSignalConnectionManager () |
| DTOR. More... | |
| void | manageConnection (const boost::signalslib::connection &conn) |
| Connect a signal. More... | |
| DtSignalConnectionManager & | operator+= (const boost::signalslib::connection &conn) |
| Connect a signal. More... | |
| 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... | |
| DtAudioSettingsWidgetInterface & | myInterface |
| The interface to the graphical widget. More... | |
| DtPersistenceControlsInterface & | myPersistenceControls |
| The interface to the persistence toolbar. More... | |
Protected Attributes inherited from makVrv::DtSignalConnectionManager | |
| Connections | myConnections |
| The connected signals. More... | |
| bool | myConnectionsBlocked |
| bool | myIndiviualConnectionedBlocked |
| std::vector < boost::signalslib::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... | |
Logic for controlling the audio settings.
| makVrv::DtAudioSettingsPageLogic::DtAudioSettingsPageLogic | ( | DtDe & | de, |
| DtAudioSettingsWidgetInterface & | settingsIFace, | ||
| DtPersistenceControlsInterface & | persistenceIFace | ||
| ) |
Initializing CTOR.
| [in] | de | is the display engine used when creating this instance. |
| [in] | settingsIFace | is the interface to the graphical widget. |
| [in] | persistenceIFace | is the interface to the persistence toolbar. |
|
virtual |
Virtual DTOR.
|
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 user changes volume.
| [in] | val | is the new volume setting (0 - 100). |
|
virtual |
Called when the user changes the playback device.
| [in] | val | is the name of the new playback device |
|
virtual |
Called when the user changes the capture device.
| [in] | val | is the name of the new capture device |
|
virtual |
Called when the user changes the speed of sound.
| [in] | val | is the new speed of sound setting (positive, in meters/second). |
|
virtual |
Called when the user changes the maximum number of voices (sounds that can be played simultaneously).
| [in] | val | is the new number of maximum sounds that can be played simultaneously |
|
virtual |
Called when the user changes the maximum sound the speakers can generate.
| [in] | val | is the new maximum sound in decibels |
|
virtual |
Called when the user changes whether or not to use environmental processing.
| [in] | val | is the new setting |
|
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 when the speed of sound was changed in the settings.
| [in] | val | is the new speed of sound setting . |
|
virtual |
Called when the user changes the playback device.
| [in] | val | is the name of the new playback device |
|
virtual |
Called when the user changes the capture device.
| [in] | val | is the name of the new capture device |
|
virtual |
Called when the maximum number of voices (sounds that can be played simultaneously) are changed in the settings.
| [in] | val | is the new number of maximum sounds that can be played simultaneously |
|
virtual |
Called when the maximum sound the speakers can generate changes in the settings.
| [in] | val | is the new maximum sound in decibels |
|
virtual |
Called when the environmental processing is changed in the settings.
| [in] | val | is the new setting |
|
virtual |
Called when the environmental processing is available is changed in the settings.
| [in] | val | is the new setting |
|
virtual |
Called when the user saves current settings as defaults.
|
virtual |
Called when the user reloads the default settings.
|
virtual |
Called to query the user for the settings file to import.
|
virtual |
Called to query the user for the settings file to export.
|
virtual |
Called when the user selects a settings file to import.
| [in] | filePath | is the path to the file the user has selected. |
|
virtual |
Called when the user selects a settings file to export.
| [in] | filePath | is the path to the file the user has selected. |
|
virtual |
Called when the user reloads the factory settings.
|
protectedvirtual |
Update the GUI with settings.
|
protected |
The display engine for this instance.
|
protected |
The interface to the graphical widget.
|
protected |
The interface to the persistence toolbar.