VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties 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.

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

Public Member Functions

 DtAudioSettingsPageLogic (DtDe &de, DtAudioSettingsWidgetInterface &settingsIFace, DtPersistenceControlsInterface &persistenceIFace)
 
virtual ~DtAudioSettingsPageLogic ()
 
Control settings slots.
virtual void slot_audioEnabledChanged (bool val)
 
virtual void slot_volumeChanged (int val)
 
virtual void slot_playbackDeviceChanged (const std::string &val)
 
virtual void slot_captureDeviceChanged (const std::string &val)
 
virtual void slot_speedOfSoundChanged (double val)
 
virtual void slot_maxVoicesChanged (int val)
 
virtual void slot_maxmimumOutputDecibelCapabilityChanged (double val)
 
virtual void slot_environmentalProcessingEnabledChanged (bool val)
 
Update GUI slots.
virtual void slot_volumeUpdated (double val)
 
virtual void slot_audioEnabledUpdated (bool val)
 
virtual void slot_speedOfSoundUpdated (double val)
 
virtual void slot_playbackDeviceUpdated (const std::string &val)
 
virtual void slot_captureDeviceUpdated (const std::string &val)
 
virtual void slot_maxVoicesUpdated (int val)
 
virtual void slot_maxmimumOutputDecibelCapabilityUpdated (double val)
 
virtual void slot_environmentalProcessingEnabledUpdated (bool val)
 
virtual void slot_environmentalProcessingAvailableUpdated (bool val)
 
Persistence slots.
virtual void on_saveDefaults ()
 
virtual void on_restoreDefaults ()
 
virtual void on_import ()
 
virtual void on_export ()
 
virtual void on_importFilePathChosen (const std::string &filePath)
 
virtual void on_exportFilePathChosen (const std::string &filePath)
 
virtual void on_restoreFactoryDefaults ()
 

Protected Member Functions

virtual void sendSettingsToGui ()
 
- Protected Member Functions inherited from makVrv::DtSignalConnectionManager
 DtSignalConnectionManager ()
 
virtual ~DtSignalConnectionManager ()
 
void manageConnection (const boost::signalslib::connection &conn)
 
DtSignalConnectionManageroperator+= (const boost::signalslib::connection &conn)
 
bool blockConnections (bool blocked)
 
int numberOfConnections () const
 
void disconnectSignals ()
 
bool connectionsBlocked () const
 

Protected Attributes

DtDemyDe
 
DtAudioSettingsWidgetInterfacemyInterface
 
DtPersistenceControlsInterfacemyPersistenceControls
 
- 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
 

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_audioEnabledChanged ( bool  val)
virtual

Called when the user enables or disables audio.

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

Called when the user changes volume.

Parameters
[in]valis the new volume setting (0 - 100).
virtual void makVrv::DtAudioSettingsPageLogic::slot_playbackDeviceChanged ( const std::string &  val)
virtual

Called when the user changes the playback device.

Parameters
[in]valis the name of the new playback device
virtual void makVrv::DtAudioSettingsPageLogic::slot_captureDeviceChanged ( const std::string &  val)
virtual

Called when the user changes the capture device.

Parameters
[in]valis the name of the new capture device
virtual void makVrv::DtAudioSettingsPageLogic::slot_speedOfSoundChanged ( double  val)
virtual

Called when the user changes the speed of sound.

Parameters
[in]valis the new speed of sound setting (positive, in meters/second).
virtual void makVrv::DtAudioSettingsPageLogic::slot_maxVoicesChanged ( int  val)
virtual

Called when the user changes the maximum number of voices (sounds that can be played simultaneously).

Parameters
[in]valis the new number of maximum sounds that can be played simultaneously
virtual void makVrv::DtAudioSettingsPageLogic::slot_maxmimumOutputDecibelCapabilityChanged ( double  val)
virtual

Called when the user changes the maximum sound the speakers can generate.

Parameters
[in]valis the new maximum sound in decibels
virtual void makVrv::DtAudioSettingsPageLogic::slot_environmentalProcessingEnabledChanged ( bool  val)
virtual

Called when the user changes whether or not to use environmental processing.

Parameters
[in]valis the new setting
virtual void makVrv::DtAudioSettingsPageLogic::slot_volumeUpdated ( double  val)
virtual

Called when the volume was changed in the settings.

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

Called when audio is enabled or disabled in the settings.

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

Called when the speed of sound was changed in the settings.

Parameters
[in]valis the new speed of sound setting .
virtual void makVrv::DtAudioSettingsPageLogic::slot_playbackDeviceUpdated ( const std::string &  val)
virtual

Called when the user changes the playback device.

Parameters
[in]valis the name of the new playback device
virtual void makVrv::DtAudioSettingsPageLogic::slot_captureDeviceUpdated ( const std::string &  val)
virtual

Called when the user changes the capture device.

Parameters
[in]valis the name of the new capture device
virtual void makVrv::DtAudioSettingsPageLogic::slot_maxVoicesUpdated ( int  val)
virtual

Called when the maximum number of voices (sounds that can be played simultaneously) are changed in the settings.

Parameters
[in]valis the new number of maximum sounds that can be played simultaneously
virtual void makVrv::DtAudioSettingsPageLogic::slot_maxmimumOutputDecibelCapabilityUpdated ( double  val)
virtual

Called when the maximum sound the speakers can generate changes in the settings.

Parameters
[in]valis the new maximum sound in decibels
virtual void makVrv::DtAudioSettingsPageLogic::slot_environmentalProcessingEnabledUpdated ( bool  val)
virtual

Called when the environmental processing is changed in the settings.

Parameters
[in]valis the new setting
virtual void makVrv::DtAudioSettingsPageLogic::slot_environmentalProcessingAvailableUpdated ( bool  val)
virtual

Called when the environmental processing is available is changed in the settings.

Parameters
[in]valis the new setting
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::sendSettingsToGui ( )
protectedvirtual

Update the GUI with settings.

Member Data Documentation

DtDe& makVrv::DtAudioSettingsPageLogic::myDe
protected

The display engine for this instance.

DtAudioSettingsWidgetInterface& makVrv::DtAudioSettingsPageLogic::myInterface
protected

The interface to the graphical widget.

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 Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)