SoundMusic_Empty Class Reference

#include <sound_empty.h>

Inherits ISoundMusic.

Inheritance diagram for SoundMusic_Empty:

Inheritance graph
[legend]
Collaboration diagram for SoundMusic_Empty:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 SoundMusic_Empty ()
 ~SoundMusic_Empty ()
virtual void play (const char *file, bool loop)
virtual void stop ()
 Stop playing music.
virtual bool isPlaying ()
 Get music status.

Protected Attributes

bool mPlaying

Detailed Description

Definition at line 14 of file sound_empty.h.


Constructor & Destructor Documentation

SoundMusic_Empty::SoundMusic_Empty  )  [inline]
 

Definition at line 18 of file sound_empty.h.

References mPlaying.

SoundMusic_Empty::~SoundMusic_Empty  )  [inline]
 

Definition at line 23 of file sound_empty.h.


Member Function Documentation

virtual bool SoundMusic_Empty::isPlaying  )  [inline, virtual]
 

Get music status.

Returns:
true if the music is playing.

Implements ISoundMusic.

Definition at line 38 of file sound_empty.h.

References mPlaying.

virtual void SoundMusic_Empty::play const char *  file,
bool  loop
[inline, virtual]
 

Start sample

Implements ISoundMusic.

Definition at line 28 of file sound_empty.h.

References mPlaying.

virtual void SoundMusic_Empty::stop  )  [inline, virtual]
 

Stop playing music.

Implements ISoundMusic.

Definition at line 33 of file sound_empty.h.

References mPlaying.


Member Data Documentation

bool SoundMusic_Empty::mPlaying [protected]
 

Definition at line 45 of file sound_empty.h.

Referenced by isPlaying(), play(), SoundMusic_Empty(), and stop().


The documentation for this class was generated from the following file:
Generated on Wed Apr 12 14:23:41 2006 for bjs by  doxygen 1.4.5