VR-Forces 4.8 Class Documentation
 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::DtAudioVolumeLogic Class Reference

Logic for controlling the audio settings. More...

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

Public Member Functions

 DtAudioVolumeLogic (DtDe &de, DtAudioVolumeWidgetInterface &widgetIFace)
 Initializing CTOR. More...
 
virtual ~DtAudioVolumeLogic ()
 Virtual DTOR. More...
 
Control settings slots.
virtual void slot_VolumeChanged (int val)
 Called when the user changes volume. More...
 
virtual void slot_AudioEnabledChanged (bool val)
 Called when the user enables or disables audio. More...
 
Update GUI slots.
virtual void slot_VolumeUpdated (double val)
 Called when the volume was changed in the settings. More...
 
virtual void slot_AudioEnabledUpdated (bool val)
 Called when audio is enabled or disabled in the settings. More...
 
virtual void slot_postInitialize ()
 Called at initialization to update the state of the GUI. More...
 

Protected Member Functions

virtual void sendSettingsToGui ()
 Update the GUI with settings. More...
 
- Protected Member Functions inherited from makVrv::DtSignalConnectionManager
bool blockConnection (int index, bool blocked)
 Blocks/unblocks connections. More...
 
bool connectionBlocked (int index) const
 check whether connections are blocked. More...
 
 DtSignalConnectionManager ()
 CTOR. More...
 
virtual ~DtSignalConnectionManager ()
 DTOR. More...
 
void manageConnection (const boost::signalslib::connection &conn)
 Connect a signal. More...
 
void manageConnection (const boost::signalslib2::connection &conn)
 
DtSignalConnectionManageroperator+= (const boost::signalslib::connection &conn)
 Connect a signal. More...
 
DtSignalConnectionManageroperator+= (const boost::signalslib2::connection &conn)
 
bool blockConnections (bool blocked)
 Blocks/unblocks connections. More...
 
int numberOfConnections () const
 Get the number of connections. More...
 
void disconnectSignals ()
 Disconnect all signals. More...
 
bool connectionsBlocked () const
 check whether connections are blocked. More...
 

Protected Attributes

DtDemyDe
 The display engine for this instance. More...
 
DtAudioVolumeWidgetInterfacemyInterface
 The interface to the graphical widget. More...
 
- Protected Attributes inherited from makVrv::DtSignalConnectionManager
Connections myConnections
 The connected signals. More...
 
Connections2 myConnections2
 
bool myConnectionsBlocked
 
bool myIndiviualConnectionedBlocked
 
std::vector
< boost::signalslib2::shared_connection_block * > 
mySharedConnectionsBlockManager
 blocking Connections manager for signal2 connection More...
 

Additional Inherited Members

- Protected Types inherited from makVrv::DtSignalConnectionManager
typedef std::vector
< boost::signalslib::connection > 
Connections
 A collection of signals. More...
 
typedef std::vector
< boost::signalslib2::connection > 
Connections2
 

Detailed Description

Logic for controlling the audio settings.

Constructor & Destructor Documentation

makVrv::DtAudioVolumeLogic::DtAudioVolumeLogic ( DtDe de,
DtAudioVolumeWidgetInterface widgetIFace 
)

Initializing CTOR.

Parameters
[in]deis the display engine used when creating this instance.
[in]widgetIFaceis the interface to the graphical widget.
virtual makVrv::DtAudioVolumeLogic::~DtAudioVolumeLogic ( )
virtual

Virtual DTOR.

Member Function Documentation

virtual void makVrv::DtAudioVolumeLogic::slot_VolumeChanged ( int  val)
virtual

Called when the user changes volume.

Parameters
[in]valis the new volume setting (0 - 100).
virtual void makVrv::DtAudioVolumeLogic::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::DtAudioVolumeLogic::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::DtAudioVolumeLogic::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::DtAudioVolumeLogic::slot_postInitialize ( )
virtual

Called at initialization to update the state of the GUI.

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

Update the GUI with settings.

Member Data Documentation

DtDe& makVrv::DtAudioVolumeLogic::myDe
protected

The display engine for this instance.

DtAudioVolumeWidgetInterface& makVrv::DtAudioVolumeLogic::myInterface
protected

The interface to the graphical widget.


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

Document ID: Generated on Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)