VR-Forces 4.1 Class Documentation
List of all members | Public Member Functions
makVrv::DtAudioVolumeWidgetInterface Class Reference

The interface for controlling the audio volume gui. More...

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

Public Member Functions

 DtAudioVolumeWidgetInterface ()
 Default CTOR.
virtual ~DtAudioVolumeWidgetInterface ()
 Virtual DTOR.
virtual void setAudioEnabled (bool enabled)=0
 Sets audio to be enabled/disabled in the widget.
virtual void setVolume (int vol)=0
 Sets the audio volume level in the widget.

Public Attributes

Audio settings signals.
boost::signal< void(bool)> signal_AudioEnabledChanged
 Signals emitted when the user changes the data in the widget.
boost::signal< void(int)> signal_VolumeChanged
 Signals emitted when the user changes the data in the widget.

Detailed Description

The interface for controlling the audio volume gui.

Constructor & Destructor Documentation

makVrv::DtAudioVolumeWidgetInterface::DtAudioVolumeWidgetInterface ( )

Default CTOR.

virtual makVrv::DtAudioVolumeWidgetInterface::~DtAudioVolumeWidgetInterface ( )
virtual

Virtual DTOR.

Member Function Documentation

virtual void makVrv::DtAudioVolumeWidgetInterface::setAudioEnabled ( bool  enabled)
pure virtual

Sets audio to be enabled/disabled in the widget.

Parameters
[in]enabledis the new state of audio.

Implemented in makVrv::DtAudioVolumeWidget, and makVrv::DtAudioSettingsWidget.

virtual void makVrv::DtAudioVolumeWidgetInterface::setVolume ( int  vol)
pure virtual

Sets the audio volume level in the widget.

Parameters
[in]volis the new volume level.

Implemented in makVrv::DtAudioVolumeWidget, and makVrv::DtAudioSettingsWidget.

Member Data Documentation

boost::signal<void (bool)> makVrv::DtAudioVolumeWidgetInterface::signal_AudioEnabledChanged

Signals emitted when the user changes the data in the widget.

Connected to a slot in the logic.

boost::signal<void (int)> makVrv::DtAudioVolumeWidgetInterface::signal_VolumeChanged

Signals emitted when the user changes the data in the widget.

Connected to a slot in the logic.


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

Document ID: Generated on Tue Jan 29 18:21:16 EST 2013 from SVN revision 123193
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (www.mak.com)