Public Member Functions | Private Member Functions | Private Attributes | Friends
sound_play::SoundClient::Sound Class Reference

#include <sound_play.h>

List of all members.

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, const std::string arg2=std::string())

Private Attributes

std::string arg2_
std::string arg_
SoundClientclient_
int snd_

Friends

class SoundClient

Detailed Description

Definition at line 65 of file sound_play.h.


Constructor & Destructor Documentation

sound_play::SoundClient::Sound::Sound ( SoundClient sc,
int  snd,
const std::string &  arg,
const std::string  arg2 = std::string() 
) [inline, private]

Definition at line 74 of file sound_play.h.


Member Function Documentation

Play the Sound.

This method causes the Sound to be played once.

Definition at line 89 of file sound_play.h.

Play the Sound repeatedly.

This method causes the Sound to be played repeatedly until stop() is called.

Definition at line 101 of file sound_play.h.

Stop Sound playback.

This method causes the Sound to stop playing.

Definition at line 112 of file sound_play.h.


Friends And Related Function Documentation

friend class SoundClient [friend]

Definition at line 67 of file sound_play.h.


Member Data Documentation

Definition at line 71 of file sound_play.h.

std::string sound_play::SoundClient::Sound::arg_ [private]

Definition at line 70 of file sound_play.h.

Definition at line 72 of file sound_play.h.

Definition at line 69 of file sound_play.h.


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


sound_play
Author(s): Blaise Gassend
autogenerated on Wed Sep 2 2015 01:21:46