VR-Forces 4.6.1 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Slots | Public Member Functions | Private Attributes
makVrv::DtAudioSettingsWidget Class Reference

This widget provides the contents for the DtAudioSettingsPage. More...

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

Public Slots

virtual void slot_AudioEnabledChanged (int val)
 Called when user enables/disables audio.
virtual void slot_VolumeChanged (int val)
 Called when user changes the volume.
virtual void slot_audioPlaybackDeviceChanged (int val)
 Called when the user changes the playback device.
virtual void slot_audioCaptureDeviceChanged (int val)
 Called when the user changes the capture device.
virtual void slot_SpeedOfSoundChanged (const QString &text)
 Called when user changes the speed of sound.
virtual void slot_MaxVoicesChanged (int val)
 Called when user changes the number of voices.
virtual void slot_MaxmimumOutputDecibelCapability (int val)
 Called when user changes the output capability of the audio system.
virtual void slot_EnvironmentalEnabledChanged (int val)
 Called when user enables/disables environmental processing.
virtual void slot_playbackDeviceChanged (int val)
 Called when the user changes the playback device.
virtual void slot_captureDeviceChanged (int val)
 Called when the user changes the capture device.

Public Member Functions

 DtAudioSettingsWidget (QWidget *parent=0, Qt::WindowFlags f=Qt::Widget)
 CTOR.
virtual ~DtAudioSettingsWidget ()
 DTOR.
virtual void setAudioEnabled (bool enabled)
 Sets audio to be enabled/disabled in the widget.
virtual void setVolume (int vol)
 Sets the audio volume level in the widget.
virtual void setSpeedOfSound (double speed)
 Sets the speed of sound.
virtual void setMaxVoices (int voices)
 Set the max numbers.
virtual void setMaximumOutputDecibelCapability (double decibels)
 Set the sound system output capability.
virtual void setEnvironmentalEnabled (bool enabled)
 Sets environmental processing to be enabled/disabled in the widget.
virtual void setEnvironmentalAvailable (bool enabled)
 Sets whether or not environmental processing is available or not in the widget.
virtual void setAudioPlaybackDevice (const std::string &val)
 Set the device that audio should be played back on.
virtual void setAudioCaptureDevice (const std::string &val)
 Set the device that audio should be captured from.
virtual void setShowAudioCaptureSettings (bool val)
 Set whether or not the capture device selection dialog is present in the audio settings dialog.
virtual void setPlaybackDeviceList (const std::vector< std::string > &devices)
 Sets the list of available playback devices.
virtual void setCaptureDeviceList (const std::vector< std::string > &devices)
 Sets the list of available capture devices.
- Public Member Functions inherited from makVrv::DtAudioSettingsWidgetInterface
 DtAudioSettingsWidgetInterface ()
 Default CTOR.
virtual ~DtAudioSettingsWidgetInterface ()
 Virtual DTOR.

Private Attributes

Ui::DtAudioSettingsWidgetUI myUiImpl
bool myEnvProcessingAvailable
bool myShowCaptureDeviceSettings

Additional Inherited Members

- Public Attributes inherited from makVrv::DtAudioSettingsWidgetInterface
boost::signal< void(bool)> signal_AudioEnabledChanged
 Signal emitted when the user changes the audio enabled checkbox in the widget.
boost::signal< void(int)> signal_VolumeChanged
 Signal emitted when the user changes the main volume in the widget.
boost::signal< void(std::string)> signal_AudioPlaybackDeviceChanged
 Signal emitted when the user changes the audio playback device in the widget.
boost::signal< void(std::string)> signal_AudioCaptureDeviceChanged
 Signal emitted when the user changes the audio capture device in the widget.
boost::signal< void(double)> signal_SpeedOfSoundChanged
 Signal emitted when the user changes the speed of sound in the widget.
boost::signal< void(int)> signal_MaxVoicesChanged
 signal emitted when the user changes the max voices in the widget
boost::signal< void(double)> signal_MaxmimumOutputDecibelCapability
 signal emitted when the user changes the max output of the system in the widget
boost::signal< void(bool)> signal_EnvironmentalProcessingEnabledChanged

Detailed Description

This widget provides the contents for the DtAudioSettingsPage.

Constructor & Destructor Documentation

makVrv::DtAudioSettingsWidget::DtAudioSettingsWidget ( QWidget *  parent = 0,
Qt::WindowFlags  f = Qt::Widget 
)

CTOR.

virtual makVrv::DtAudioSettingsWidget::~DtAudioSettingsWidget ( )
virtual

DTOR.

Member Function Documentation

virtual void makVrv::DtAudioSettingsWidget::setAudioEnabled ( bool  enabled)
virtual

Sets audio to be enabled/disabled in the widget.

Parameters
[in]enabledis the new state of audio.

Implements makVrv::DtAudioSettingsWidgetInterface.

virtual void makVrv::DtAudioSettingsWidget::setVolume ( int  vol)
virtual

Sets the audio volume level in the widget.

Parameters
[in]volis the new volume level.

Implements makVrv::DtAudioSettingsWidgetInterface.

virtual void makVrv::DtAudioSettingsWidget::setSpeedOfSound ( double  speed)
virtual

Sets the speed of sound.

Default is the speed of sound in air at STP

Parameters
[in]volis the new speed of sound

Implements makVrv::DtAudioSettingsWidgetInterface.

virtual void makVrv::DtAudioSettingsWidget::setMaxVoices ( int  voices)
virtual

Set the max numbers.

Parameters
[in]volis the new number of simultaneous sounds

Implements makVrv::DtAudioSettingsWidgetInterface.

virtual void makVrv::DtAudioSettingsWidget::setMaximumOutputDecibelCapability ( double  decibels)
virtual

Set the sound system output capability.

Parameters
[in]volis the new sound level capable of being produced by the attached speakers

Implements makVrv::DtAudioSettingsWidgetInterface.

virtual void makVrv::DtAudioSettingsWidget::setEnvironmentalEnabled ( bool  enabled)
virtual

Sets environmental processing to be enabled/disabled in the widget.

Parameters
[in]enabledis the new state of environmental processing.

Implements makVrv::DtAudioSettingsWidgetInterface.

virtual void makVrv::DtAudioSettingsWidget::setEnvironmentalAvailable ( bool  enabled)
virtual

Sets whether or not environmental processing is available or not in the widget.

Parameters
[in]enabledis the new state of environmental processing.

Implements makVrv::DtAudioSettingsWidgetInterface.

virtual void makVrv::DtAudioSettingsWidget::setAudioPlaybackDevice ( const std::string &  val)
virtual

Set the device that audio should be played back on.

Parameters
[in]deviceNameis the name of the device that should be used for audio playback

Implements makVrv::DtAudioSettingsWidgetInterface.

virtual void makVrv::DtAudioSettingsWidget::setAudioCaptureDevice ( const std::string &  val)
virtual

Set the device that audio should be captured from.

Parameters
[in]deviceNameis the name of the device that should be used for audio capture

Implements makVrv::DtAudioSettingsWidgetInterface.

virtual void makVrv::DtAudioSettingsWidget::setShowAudioCaptureSettings ( bool  val)
virtual

Set whether or not the capture device selection dialog is present in the audio settings dialog.

Parameters
[in]valis the new enabled state: true for on, false for off.

Implements makVrv::DtAudioSettingsWidgetInterface.

virtual void makVrv::DtAudioSettingsWidget::setPlaybackDeviceList ( const std::vector< std::string > &  devices)
virtual

Sets the list of available playback devices.

Parameters
[in]thelist of device names to use in the widget

Implements makVrv::DtAudioSettingsWidgetInterface.

virtual void makVrv::DtAudioSettingsWidget::setCaptureDeviceList ( const std::vector< std::string > &  devices)
virtual

Sets the list of available capture devices.

Parameters
[in]thelist of device names to use in the widget

Implements makVrv::DtAudioSettingsWidgetInterface.

virtual void makVrv::DtAudioSettingsWidget::slot_AudioEnabledChanged ( int  val)
virtualslot

Called when user enables/disables audio.

virtual void makVrv::DtAudioSettingsWidget::slot_VolumeChanged ( int  val)
virtualslot

Called when user changes the volume.

virtual void makVrv::DtAudioSettingsWidget::slot_audioPlaybackDeviceChanged ( int  val)
virtualslot

Called when the user changes the playback device.

virtual void makVrv::DtAudioSettingsWidget::slot_audioCaptureDeviceChanged ( int  val)
virtualslot

Called when the user changes the capture device.

virtual void makVrv::DtAudioSettingsWidget::slot_SpeedOfSoundChanged ( const QString &  text)
virtualslot

Called when user changes the speed of sound.

virtual void makVrv::DtAudioSettingsWidget::slot_MaxVoicesChanged ( int  val)
virtualslot

Called when user changes the number of voices.

virtual void makVrv::DtAudioSettingsWidget::slot_MaxmimumOutputDecibelCapability ( int  val)
virtualslot

Called when user changes the output capability of the audio system.

virtual void makVrv::DtAudioSettingsWidget::slot_EnvironmentalEnabledChanged ( int  val)
virtualslot

Called when user enables/disables environmental processing.

virtual void makVrv::DtAudioSettingsWidget::slot_playbackDeviceChanged ( int  val)
virtualslot

Called when the user changes the playback device.

virtual void makVrv::DtAudioSettingsWidget::slot_captureDeviceChanged ( int  val)
virtualslot

Called when the user changes the capture device.

Member Data Documentation

Ui::DtAudioSettingsWidgetUI makVrv::DtAudioSettingsWidget::myUiImpl
private
bool makVrv::DtAudioSettingsWidget::myEnvProcessingAvailable
private
bool makVrv::DtAudioSettingsWidget::myShowCaptureDeviceSettings
private

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

Document ID: Generated on Wed Jul 25 16:57:45 EDT 2018 from SVN revision 190790
Copyright © 2005-2018 VT MÄK. All Rights Reserved (www.mak.com)