#include <sound_play.h>
Public Member Functions | |
void | play () |
Play the Sound. | |
void | repeat () |
Play the Sound repeatedly. | |
void | stop () |
Stop Sound playback. | |
Private Member Functions | |
Sound (SoundClient *sc, int snd, const std::string &arg) | |
Private Attributes | |
std::string | arg_ |
SoundClient * | client_ |
int | snd_ |
Friends | |
class | SoundClient |
Definition at line 46 of file sound_play.h.
sound_play::SoundClient::Sound::Sound | ( | SoundClient * | sc, | |
int | snd, | |||
const std::string & | arg | |||
) | [inline, private] |
Definition at line 51 of file sound_play.h.
void sound_play::SoundClient::Sound::play | ( | ) | [inline] |
Play the Sound.
This method causes the Sound to be played once.
Definition at line 65 of file sound_play.h.
void sound_play::SoundClient::Sound::repeat | ( | ) | [inline] |
Play the Sound repeatedly.
This method causes the Sound to be played repeatedly until stop() is called.
Definition at line 77 of file sound_play.h.
void sound_play::SoundClient::Sound::stop | ( | ) | [inline] |
Stop Sound playback.
This method causes the Sound to stop playing.
Definition at line 88 of file sound_play.h.
friend class SoundClient [friend] |
Definition at line 45 of file sound_play.h.
std::string sound_play::SoundClient::Sound::arg_ [private] |
Definition at line 48 of file sound_play.h.
Definition at line 49 of file sound_play.h.
int sound_play::SoundClient::Sound::snd_ [private] |
Definition at line 47 of file sound_play.h.