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

Public Member Functions | |
| DtAudioSettingsPageLogic (DtDe &de, DtAudioSettingsWidgetInterface &settingsIFace, DtPersistenceControlsInterface &persistenceIFace) | |
| Initializing CTOR. | |
| virtual | ~DtAudioSettingsPageLogic () |
| Virtual DTOR. | |
Control settings slots. | |
| virtual void | slot_AudioEnabledChanged (bool val) |
| Called when the user enables or disables audio. | |
| virtual void | slot_VolumeChanged (int val) |
| Called when the user changes volume. | |
| virtual void | slot_playbackDeviceChanged (const std::string &val) |
| Called when the user changes the playback device. | |
| virtual void | slot_captureDeviceChanged (const std::string &val) |
| Called when the user changes the capture device. | |
| virtual void | slot_SpeedOfSoundChanged (double val) |
| Called when the user changes the speed of sound. | |
| virtual void | slot_MaxVoicesChanged (int val) |
| Called when the user changes the maximum number of voices (sounds that can be played simultaneously). | |
| virtual void | slot_MaxmimumOutputDecibelCapabilityChanged (double val) |
| Called when the user changes the maximum sound the speakers can generate. | |
| virtual void | slot_EnvironmentalProcessingEnabledChanged (bool val) |
| Called when the user changes whether or not to use environmental processing. | |
Update GUI slots. | |
| virtual void | slot_VolumeUpdated (double val) |
| Called when the volume was changed in the settings. | |
| virtual void | slot_AudioEnabledUpdated (bool val) |
| Called when audio is enabled or disabled in the settings. | |
| virtual void | slot_SpeedOfSoundUpdated (double val) |
| Called when the speed of sound was changed in the settings. | |
| virtual void | slot_playbackDeviceUpdated (const std::string &val) |
| Called when the user changes the playback device. | |
| virtual void | slot_captureDeviceUpdated (const std::string &val) |
| Called when the user changes the capture device. | |
| virtual void | slot_MaxVoicesUpdated (int val) |
| Called when the maximum number of voices (sounds that can be played simultaneously) are changed in the settings. | |
| virtual void | slot_MaxmimumOutputDecibelCapabilityUpdated (double val) |
| Called when the maximum sound the speakers can generate changes in the settings. | |
| virtual void | slot_EnvironmentalProcessingEnabledUpdated (bool val) |
| Called when the environmental processing is changed in the settings. | |
| virtual void | slot_EnvironmentalProcessingAvailableUpdated (bool val) |
| Called when the environmental processing is available is changed in the settings. | |
Persistence slots. | |
| virtual void | on_saveDefaults () |
| Called when the user saves current settings as defaults. | |
| virtual void | on_restoreDefaults () |
| Called when the user reloads the default settings. | |
| virtual void | on_import () |
| Called to query the user for the settings file to import. | |
| virtual void | on_export () |
| Called to query the user for the settings file to export. | |
| virtual void | on_importFilePathChosen (const std::string &filePath) |
| Called when the user selects a settings file to import. | |
| virtual void | on_exportFilePathChosen (const std::string &filePath) |
| Called when the user selects a settings file to export. | |
| virtual void | on_restoreFactoryDefaults () |
| Called when the user reloads the factory settings. | |
| virtual void | slot_entitySettingsRestored (const DtSettingsBackup *s) |
| Called when settings are restored. | |
Protected Member Functions | |
| virtual void | sendSettingsToGui () |
| Update the GUI with settings. | |
Protected Member Functions inherited from makVrv::DtSignalConnectionManager | |
| DtSignalConnectionManager () | |
| CTOR. | |
| virtual | ~DtSignalConnectionManager () |
| DTOR. | |
| void | manageConnection (const boost::signalslib::connection &conn) |
| Connect a signal. | |
| DtSignalConnectionManager & | operator+= (const boost::signalslib::connection &conn) |
| Connect a signal. | |
| int | numberOfConnections () const |
| Get the number of connections. | |
| void | disconnectSignals () |
| Disconnect all signals. | |
| bool | blockConnections (bool blocked) |
| Blocks/unblocks connections. | |
| bool | blockConnection (int index, bool blocked) |
| Blocks/unblocks connections. | |
| bool | connectionsBlocked () const |
| check whether connections are blocked. | |
| bool | connectionBlocked (int index) const |
| check whether connections are blocked. | |
Protected Attributes | |
| DtDe & | myDe |
| The display engine for this instance. | |
| DtAudioSettingsWidgetInterface & | myInterface |
| The interface to the graphical widget. | |
| DtPersistenceControlsInterface & | myPersistenceControls |
| The interface to the persistence toolbar. | |
Additional Inherited Members |
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.
|
virtual |
Called when settings are restored.
|
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.