Main Page   Namespace List   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

osgAL::SoundManager::SoundStateFlyWeight Class Reference

Class that handles all the soundstates. See FlyWeight Design pattern. More...

List of all members.

Public Methods

 SoundStateFlyWeight (unsigned int no_states)
virtual ~SoundStateFlyWeight ()
SoundStategetSoundState (SoundState *state)
void releaseSoundState (SoundState *state)
void clean ()

Private Attributes

std::vector< osg::ref_ptr<
SoundState > > 
m_sound_states
std::stack< SoundState * > m_available_states


Detailed Description

Class that handles all the soundstates. See FlyWeight Design pattern.


Constructor & Destructor Documentation

osgAL::SoundManager::SoundStateFlyWeight::SoundStateFlyWeight unsigned int    no_states
 

virtual osgAL::SoundManager::SoundStateFlyWeight::~SoundStateFlyWeight   [virtual]
 


Member Function Documentation

void osgAL::SoundManager::SoundStateFlyWeight::clean   [inline]
 

SoundState* osgAL::SoundManager::SoundStateFlyWeight::getSoundState SoundState   state
 

void osgAL::SoundManager::SoundStateFlyWeight::releaseSoundState SoundState   state
 


Member Data Documentation

std::stack< SoundState *> osgAL::SoundManager::SoundStateFlyWeight::m_available_states [private]
 

std::vector< osg::ref_ptr<SoundState> > osgAL::SoundManager::SoundStateFlyWeight::m_sound_states [private]
 


The documentation for this class was generated from the following file:
Generated on Mon Nov 22 09:27:17 2004 for OpenSceneGraphAudioLibrary(OsgAL) by doxygen1.2.15