![]() |
VR-Forces 4.6 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_SoundRangeEnabledChanged (bool val) |
| Called when the user enables or disables the audio range. | |
| virtual void | slot_SoundRangeChanged (int val) |
| Called when the user changes the audio range. | |
Update GUI slots. | |
| virtual void | slot_SoundRangeUpdated (double val) |
| Called when the sound range was changed in the settings. | |
| virtual void | slot_SoundRangeEnabledUpdated (bool val) |
| Called when sound range is enabled or disabled 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 Attributes | |
| DtPersistenceControlsInterface & | myPersistenceControls |
| The interface to the persistence toolbar. | |
Additional Inherited Members | |
Private Member Functions inherited from makVrv::DtAudioVolumeLogic | |
| DtAudioVolumeLogic (DtDe &de, DtAudioVolumeWidgetInterface &widgetIFace) | |
| Initializing CTOR. | |
| virtual | ~DtAudioVolumeLogic () |
| Virtual DTOR. | |
| virtual void | slot_VolumeChanged (int val) |
| Called when the user changes volume. | |
| virtual void | slot_AudioEnabledChanged (bool val) |
| Called when the user enables or disables audio. | |
| 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_postInitialize () |
| Called at initialization to update the state of the GUI. | |
| virtual void | sendSettingsToGui () |
| Update the GUI with settings. | |
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 the audio range.
| [in] | val | is the new audio range enabled setting (true=enabled, false=disabled). |
|
virtual |
Called when the user changes the audio range.
| [in] | val | is the new audio range setting (positive, in meters). |
|
virtual |
Called when the sound range was changed in the settings.
| [in] | val | is the new sound range setting (0.0 - 1.0). |
|
virtual |
Called when sound range is enabled or disabled in the settings.
| [in] | val | is the new sound range enabled setting (true=enabled, false=disabled). |
|
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 interface to the persistence toolbar.