#include <SoundStream.h>

Public Member Functions | |
| SoundStream (const std::string &fileName) | |
| ~SoundStream () | |
| void | vPlay () |
| void | vPause () |
| void | vStop () |
Private Member Functions | |
| void | DoDispatchEvent (tSoundAction action) |
Private Attributes | |
| std::string | mFileName |
Definition at line 40 of file SoundStream.h.
| pcce::SoundStream::SoundStream | ( | const std::string & | fileName | ) |
| SoundStream::~SoundStream | ( | ) |
Definition at line 41 of file SoundStream.cpp.
References DoDispatchEvent(), and pcce::saReleaseSource.
00041 { 00042 DoDispatchEvent(saReleaseSource); 00043 }
| void SoundStream::vPlay | ( | ) | [virtual] |
Implements pcce::ISound.
Definition at line 45 of file SoundStream.cpp.
References DoDispatchEvent(), and pcce::saPlay.
00045 { 00046 DoDispatchEvent(saPlay); 00047 }
| void SoundStream::vPause | ( | ) | [virtual] |
Implements pcce::ISound.
Definition at line 49 of file SoundStream.cpp.
References DoDispatchEvent(), and pcce::saPause.
00049 { 00050 DoDispatchEvent(saPause); 00051 }
| void SoundStream::vStop | ( | ) | [virtual] |
Implements pcce::ISound.
Definition at line 53 of file SoundStream.cpp.
References DoDispatchEvent(), and pcce::saStop.
00053 { 00054 DoDispatchEvent(saStop); 00055 }
| void SoundStream::DoDispatchEvent | ( | tSoundAction | action | ) | [private] |
Definition at line 57 of file SoundStream.cpp.
References pcce::Singleton< T >::Get(), pcce::ISound::GetID(), and mFileName.
Referenced by vPause(), vPlay(), vStop(), and ~SoundStream().
00057 { 00058 tIEventPtr e(new SoundStreamEvent(mFileName, GetID(), action)); 00059 00060 EventSystemSingleton::Get()->DispatchEvent(e); 00061 }
std::string pcce::SoundStream::mFileName [private] |
1.5.5