DummySoundSource Class Reference

Inherits SoundSource.

List of all members.

Public Member Functions

 DummySoundSource ()
virtual ~DummySoundSource ()
virtual void play ()
virtual void stop ()
virtual bool playing ()
virtual void set_looping (bool)
virtual void set_relative (bool)
virtual void set_gain (float)
 Set volume (0.0 is silent, 1.0 is normal).
virtual void set_pitch (float)
virtual void set_position (const Vector &)
virtual void set_velocity (const Vector &)
virtual void set_reference_distance (float)

Private Attributes

bool is_playing


Detailed Description

Definition at line 19 of file dummy_sound_source.cpp.


Constructor & Destructor Documentation

DummySoundSource::DummySoundSource (  )  [inline]

Definition at line 22 of file dummy_sound_source.cpp.

00022                      :
00023     is_playing()
00024   {}
  virtual ~DummySoundSource()

virtual DummySoundSource::~DummySoundSource (  )  [inline, virtual]

Definition at line 25 of file dummy_sound_source.cpp.

00026   {}


Member Function Documentation

virtual void DummySoundSource::play (  )  [inline, virtual]

Implements SoundSource.

Definition at line 28 of file dummy_sound_source.cpp.

References is_playing.

00029   {
00030     is_playing = true;
00031   }

virtual void DummySoundSource::stop (  )  [inline, virtual]

Implements SoundSource.

Definition at line 33 of file dummy_sound_source.cpp.

References is_playing.

00034   {
00035     is_playing = false;
00036   }

virtual bool DummySoundSource::playing (  )  [inline, virtual]

Implements SoundSource.

Definition at line 38 of file dummy_sound_source.cpp.

References is_playing.

00039   {
00040     return is_playing;
00041   }

virtual void DummySoundSource::set_looping ( bool   )  [inline, virtual]

Implements SoundSource.

Definition at line 43 of file dummy_sound_source.cpp.

00044   {
00045   }

virtual void DummySoundSource::set_relative ( bool   )  [inline, virtual]

Implements SoundSource.

Definition at line 47 of file dummy_sound_source.cpp.

00048   {
00049   }

virtual void DummySoundSource::set_gain ( float   )  [inline, virtual]

Set volume (0.0 is silent, 1.0 is normal).

Implements SoundSource.

Definition at line 51 of file dummy_sound_source.cpp.

00052   {
00053   }

virtual void DummySoundSource::set_pitch ( float   )  [inline, virtual]

Implements SoundSource.

Definition at line 55 of file dummy_sound_source.cpp.

00056   {
00057   }

virtual void DummySoundSource::set_position ( const Vector  )  [inline, virtual]

Implements SoundSource.

Definition at line 59 of file dummy_sound_source.cpp.

00060   {
00061   }

virtual void DummySoundSource::set_velocity ( const Vector  )  [inline, virtual]

Implements SoundSource.

Definition at line 63 of file dummy_sound_source.cpp.

00064   {
00065   }

virtual void DummySoundSource::set_reference_distance ( float   )  [inline, virtual]

Implements SoundSource.

Definition at line 67 of file dummy_sound_source.cpp.

00068   {
00069   }


Member Data Documentation

bool DummySoundSource::is_playing [private]

Definition at line 72 of file dummy_sound_source.cpp.

Referenced by play(), playing(), and stop().


The documentation for this class was generated from the following file:
Generated on Mon Jun 9 03:38:30 2014 for SuperTux by  doxygen 1.5.1