Tinman  1.0
Public Types | Public Member Functions | Private Member Functions | List of all members
Sound Class Reference

#include <sound.h>

Public Types

typedef std::shared_ptr< Soundshared
 

Public Member Functions

 Sound ()
 
 ~Sound ()
 
void play (const std::string &fileName) const
 
void pause ()
 
void stop ()
 

Private Member Functions

void init_audio_device ()
 
bool is_paused () const
 
bool is_stopped () const
 
bool is_playing () const
 
bool in_error_state () const
 

Member Typedef Documentation

typedef std::shared_ptr<Sound> Sound::shared

Constructor & Destructor Documentation

Sound::Sound ( )
Sound::~Sound ( )

Member Function Documentation

bool Sound::in_error_state ( ) const
private
void Sound::init_audio_device ( )
private
bool Sound::is_paused ( ) const
private
bool Sound::is_playing ( ) const
private
bool Sound::is_stopped ( ) const
private
void Sound::pause ( )
void Sound::play ( const std::string &  fileName) const
void Sound::stop ( )

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