VR-Forces 4.3 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Member Functions | Protected Attributes
makVrv::DtAudioSettingsPageLogic Class Reference

Logic for controlling the audio settings. More...

Inheritance diagram for makVrv::DtAudioSettingsPageLogic:
Inheritance graph
[legend]

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

DtPersistenceControlsInterfacemyPersistenceControls
 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.

Detailed Description

Logic for controlling the audio settings.

Constructor & Destructor Documentation

makVrv::DtAudioSettingsPageLogic::DtAudioSettingsPageLogic ( DtDe de,
DtAudioSettingsWidgetInterface settingsIFace,
DtPersistenceControlsInterface persistenceIFace 
)

Initializing CTOR.

Parameters
[in]deis the display engine used when creating this instance.
[in]settingsIFaceis the interface to the graphical widget.
[in]persistenceIFaceis the interface to the persistence toolbar.
virtual makVrv::DtAudioSettingsPageLogic::~DtAudioSettingsPageLogic ( )
virtual

Virtual DTOR.

Member Function Documentation

virtual void makVrv::DtAudioSettingsPageLogic::slot_SoundRangeEnabledChanged ( bool  val)
virtual

Called when the user enables or disables the audio range.

Parameters
[in]valis the new audio range enabled setting (true=enabled, false=disabled).
virtual void makVrv::DtAudioSettingsPageLogic::slot_SoundRangeChanged ( int  val)
virtual

Called when the user changes the audio range.

Parameters
[in]valis the new audio range setting (positive, in meters).
virtual void makVrv::DtAudioSettingsPageLogic::slot_SoundRangeUpdated ( double  val)
virtual

Called when the sound range was changed in the settings.

Parameters
[in]valis the new sound range setting (0.0 - 1.0).
virtual void makVrv::DtAudioSettingsPageLogic::slot_SoundRangeEnabledUpdated ( bool  val)
virtual

Called when sound range is enabled or disabled in the settings.

Parameters
[in]valis the new sound range enabled setting (true=enabled, false=disabled).
virtual void makVrv::DtAudioSettingsPageLogic::on_saveDefaults ( )
virtual

Called when the user saves current settings as defaults.

virtual void makVrv::DtAudioSettingsPageLogic::on_restoreDefaults ( )
virtual

Called when the user reloads the default settings.

virtual void makVrv::DtAudioSettingsPageLogic::on_import ( )
virtual

Called to query the user for the settings file to import.

virtual void makVrv::DtAudioSettingsPageLogic::on_export ( )
virtual

Called to query the user for the settings file to export.

virtual void makVrv::DtAudioSettingsPageLogic::on_importFilePathChosen ( const std::string &  filePath)
virtual

Called when the user selects a settings file to import.

Parameters
[in]filePathis the path to the file the user has selected.
virtual void makVrv::DtAudioSettingsPageLogic::on_exportFilePathChosen ( const std::string &  filePath)
virtual

Called when the user selects a settings file to export.

Parameters
[in]filePathis the path to the file the user has selected.
virtual void makVrv::DtAudioSettingsPageLogic::on_restoreFactoryDefaults ( )
virtual

Called when the user reloads the factory settings.

virtual void makVrv::DtAudioSettingsPageLogic::slot_entitySettingsRestored ( const DtSettingsBackup s)
virtual

Called when settings are restored.

virtual void makVrv::DtAudioSettingsPageLogic::sendSettingsToGui ( )
protectedvirtual

Update the GUI with settings.

Member Data Documentation

DtPersistenceControlsInterface& makVrv::DtAudioSettingsPageLogic::myPersistenceControls
protected

The interface to the persistence toolbar.


The documentation for this class was generated from the following file:

Document ID: Generated on Wed Mar 11 21:20:57 EDT 2015 from SVN revision 150940
Copyright © 2005-2014 VT MÄK. All Rights Reserved (www.mak.com)