flimEngine
VoiceFactory Class Reference

#include <VoiceFactory.h>

Collaboration diagram for VoiceFactory:
Collaboration graph

Public Member Functions

 VoiceFactory ()=delete
 
 VoiceFactory (const VoiceFactory &)=delete
 
VoiceFactoryoperator= (VoiceFactory &)=delete
 
 VoiceFactory (WAVEFORMATEXTENSIBLE &wfx)
 
 ~VoiceFactory ()
 
snd_err GetVoice (Track *&out, int priority, Sound *sound)
 
snd_err ReturnVoice (Track *&in)
 

Private Member Functions

snd_err AuditTracks (Track *&out, int priority, Sound *sound)
 

Private Attributes

WAVEFORMATEXTENSIBLE & format
 
std::list< Track * > activePool
 
std::set< Track * > inactivePool
 

Constructor & Destructor Documentation

◆ VoiceFactory() [1/3]

VoiceFactory::VoiceFactory ( )
delete

◆ VoiceFactory() [2/3]

VoiceFactory::VoiceFactory ( const VoiceFactory )
delete

◆ VoiceFactory() [3/3]

VoiceFactory::VoiceFactory ( WAVEFORMATEXTENSIBLE &  wfx)

◆ ~VoiceFactory()

VoiceFactory::~VoiceFactory ( )

Member Function Documentation

◆ AuditTracks()

snd_err VoiceFactory::AuditTracks ( Track *&  out,
int  priority,
Sound sound 
)
private

◆ GetVoice()

snd_err VoiceFactory::GetVoice ( Track *&  out,
int  priority,
Sound sound 
)

◆ operator=()

VoiceFactory& VoiceFactory::operator= ( VoiceFactory )
delete

◆ ReturnVoice()

snd_err VoiceFactory::ReturnVoice ( Track *&  in)

Member Data Documentation

◆ activePool

std::list<Track*> VoiceFactory::activePool
private

◆ format

WAVEFORMATEXTENSIBLE& VoiceFactory::format
private

◆ inactivePool

std::set<Track*> VoiceFactory::inactivePool
private

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