Public Member Functions | Protected Attributes

wosh::building::AudioBox Class Reference

#include <H:/WOSH/win32_vc2010/src/framework/building/interior/AudioBox.h>

List of all members.

Public Member Functions

 AudioBox ()
 Empty constructor.
 AudioBox (const AudioBox &m)
 Copy constructor.
virtual ~AudioBox ()
 Empty destructor.
virtual int getVolume () const
AudioBox Interface
virtual WRESULT play (const std::string &resource, const SecurityToken *security=NULL)
virtual WRESULT stop (const SecurityToken *security=NULL)
AudioBox Interface - Getters
virtual AUDIOBOX_STATE getAudioBoxState () const
 Get last known audiobox state (opened, closed, unknown)
virtual const
getSwitch () const
getSwitch ()
wosh::interfaces::building::AudioBoxListener * getAudioBoxListener ()
AudioBox Interface - Setters
WRESULT setSwitch (wosh::interfaces::entertainment::PlayerAudio *ptr)
WRESULT setAudioBoxListener (wosh::interfaces::building::AudioBoxListener *ptr)
PlayerAudioListener interface
virtual void changed_PlayState (int state, wosh::interfaces::entertainment::PlayerAudio *source)
virtual void changed_Volume (int volume, bool muted, wosh::interfaces::entertainment::PlayerAudio *source)
virtual void changed_PlayOptions (int crossfade, short repeat, short random, wosh::interfaces::entertainment::PlayerAudio *source)
virtual void changed_PlayItem (const wosh::entertainment::MediaTrack *track, wosh::interfaces::entertainment::PlayerAudio *source)
virtual void changed_PlayList (const wosh::entertainment::MediaList *list, wosh::interfaces::entertainment::PlayerAudio *source)
IPropertiesProviderListener interface
virtual bool updatingProperty (bool &do_update, const Variant &value_proposed, Property &property_current, const PropertiesProvider *source)

Protected Attributes

 level as enum, fade level is saved in Properties[_AudioBox_KEY_Level] and level field

Private Member Functions

Hosted mehods
WRESULT mmDoStop (const SecurityToken *security)

Internal mehods

void initAudioBox ()
virtual void childrenChanged_ ()

Detailed Description

See also:
AudioBox.h 3775 2011-01-01 16:38:17Z alex
Alessandro Polo

Definition at line 49 of file framework/building/interior/AudioBox.h.

Constructor & Destructor Documentation

wosh::building::AudioBox::AudioBox (  )

Empty constructor.

Definition at line 57 of file AudioBox.cpp.

wosh::building::AudioBox::AudioBox ( const AudioBox m )

Copy constructor.

m[in] the source object to be copied

Definition at line 64 of file AudioBox.cpp.

wosh::building::AudioBox::~AudioBox (  ) [virtual]

Empty destructor.

Reimplemented from wosh::interfaces::building::AudioBox.

Definition at line 69 of file AudioBox.cpp.

References wosh::building::BuildingBlock::Log, and wosh::LOG_DEBUG.

Member Function Documentation

virtual AUDIOBOX_STATE wosh::building::AudioBox::getAudioBoxState (  ) const [inline, virtual]

Get last known audiobox state (opened, closed, unknown)

current audiobox state (enum)

Implements wosh::interfaces::building::AudioBox.

Definition at line 100 of file framework/building/interior/AudioBox.h.

References state.

Member Data Documentation

level as enum, fade level is saved in Properties[_AudioBox_KEY_Level] and level field

Definition at line 160 of file framework/building/interior/AudioBox.h.

Referenced by getAudioBoxState().

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

Generated on Tue Feb 8 2011 09:33:33 for WOSH system 0.8.888 [wolf] by Alessandro Polo, using DoxyGen 1.7.2 hosted by WOSH Framework