sound::SoundManager Class Reference

#include <SoundManager.h>

Inheritance diagram for sound::SoundManager:
Inheritance graph
[legend]
Collaboration diagram for sound::SoundManager:
Collaboration graph
[legend]

Public Member Functions

 SoundManager ()
virtual ~SoundManager ()
virtual bool playSound (const std::string &fileName)
virtual void stopSound ()
virtual void switchPlaybackEnabledFlag ()
virtual bool isPlaybackEnabled ()

Private Attributes

SoundPlayer _soundPlayer
bool playbackEnabled
std::string resumingFileNameToBePlayed

Detailed Description

SoundManager implementing class.

Definition at line 9 of file SoundManager.h.


Constructor & Destructor Documentation

sound::SoundManager::SoundManager (  ) 

Main constructor.

virtual sound::SoundManager::~SoundManager (  )  [virtual]

Member Function Documentation

virtual bool sound::SoundManager::isPlaybackEnabled (  )  [inline, virtual]

tachop: Returns if Sound Playback is enabled.

Implements ISoundManager.

Definition at line 39 of file SoundManager.h.

virtual bool sound::SoundManager::playSound ( const std::string fileName  )  [virtual]

greebo: Plays the sound file. Tries to resolve the filename's extension by appending .ogg or .wav and such.

Implements ISoundManager.

virtual void sound::SoundManager::stopSound (  )  [virtual]

greebo: Stops the playback immediately.

Implements ISoundManager.

virtual void sound::SoundManager::switchPlaybackEnabledFlag (  )  [virtual]

tachop: Switches Sound Playback Enabled flag.

Implements ISoundManager.


Field Documentation

Definition at line 7 of file SoundManager.h.

Definition at line 10 of file SoundManager.h.

Definition at line 14 of file SoundManager.h.


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

Generated by  doxygen 1.6.2