clan::SoundCache Class Reference - ClanLib SDK
Description: clan::SoundCache Class Reference

Public Member Functions | Static Public Member Functions | List of all members
clan::SoundCache Class Referenceabstract
clanSound Resources

`#include <sound_cache.h>`

## Public Member Functions
virtual | ~SoundCache ()
virtual Resource< SoundBuffer > | get_sound (const std::string &id)=0

## Static Public Member Functions
static SoundCache & | get (const ResourceManager &resources)
static void | set (ResourceManager &resources, const std::shared_ptr< SoundCache > &cache)

## Constructor & Destructor Documentation

## ◆ ~SoundCache()

virtual clan::SoundCache::~SoundCache | ( |  | ) |
| inlinevirtual

## Member Function Documentation

## ◆ get()

static SoundCache & clan::SoundCache::get | ( | const ResourceManager & | resources | ) |
| static

## ◆ get_sound()

virtual Resource< SoundBuffer > clan::SoundCache::get_sound | ( | const std::string & | id | ) |
| pure virtual

## ◆ set()

static void clan::SoundCache::set | ( | ResourceManager & | resources,
|  | const std::shared_ptr< SoundCache > & | cache )
| static

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

- sound_cache.h