Hummingbird Framework
 All Classes Functions Variables Modules Pages
hb::SoundBuffer Class Reference
Inheritance diagram for hb::SoundBuffer:
Collaboration diagram for hb::SoundBuffer:

Public Member Functions

 SoundBuffer (const sf::SoundBuffer &buffer, const std::string &id)
 
 SoundBuffer (const std::string &id)
 
Time getDuration () const
 
- Public Member Functions inherited from hb::Resource< sf::SoundBuffer, std::string, SoundManager >
 Resource (const sf::SoundBuffer &resource, const std::string &id)
 Class constructor. More...
 
 Resource (const std::string &id)
 Class constructor. Used for getting an already loaded resource. More...
 
 Resource (const Resource &other)
 Copy constructor. More...
 
Resourceoperator= (const Resource &other)
 Copy assignment. More...
 
 ~Resource ()
 Class destructor. More...
 
const sf::SoundBuffer & get () const
 Get the resource. More...
 
sf::SoundBuffer & get ()
 Get the resource. More...
 
const std::string & id () const
 Get the resource id.
 

Static Public Member Functions

static SoundBuffer loadFromFile (const std::string &path)
 

Additional Inherited Members

- Protected Attributes inherited from hb::Resource< sf::SoundBuffer, std::string, SoundManager >
int m_id
 

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