Pyrogenesis  13997
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes | List of all members
CSoundManagerWorker Class Reference

Public Member Functions

 CSoundManagerWorker ()
 
 ~CSoundManagerWorker ()
 
void SetEnabled (bool enabled)
 
bool Shutdown ()
 
void addItem (ISoundItem *anItem)
 
void CleanupItems ()
 

Private Member Functions

 NONCOPYABLE (CSoundManagerWorker)
 
void Run ()
 
bool GetEnabled ()
 
bool GetShutdown ()
 
 CSoundManagerWorker (ISoundManager *other)
 

Static Private Member Functions

static void * RunThread (void *data)
 

Private Attributes

pthread_t m_WorkerThread
 
CMutex m_WorkerMutex
 
CMutex m_DeadItemsMutex
 
ItemsListm_Items
 
ItemsListm_DeadItems
 
bool m_Enabled
 
bool m_Shutdown
 

Detailed Description

Definition at line 40 of file SoundManager.cpp.

Constructor & Destructor Documentation

CSoundManagerWorker::CSoundManagerWorker ( )
inline

Definition at line 45 of file SoundManager.cpp.

CSoundManagerWorker::~CSoundManagerWorker ( )
inline

Definition at line 56 of file SoundManager.cpp.

CSoundManagerWorker::CSoundManagerWorker ( ISoundManager other)
inlineprivate

Definition at line 208 of file SoundManager.cpp.

Member Function Documentation

void CSoundManagerWorker::addItem ( ISoundItem anItem)
inline

Definition at line 94 of file SoundManager.cpp.

void CSoundManagerWorker::CleanupItems ( )
inline

Definition at line 100 of file SoundManager.cpp.

bool CSoundManagerWorker::GetEnabled ( )
inlineprivate

Definition at line 180 of file SoundManager.cpp.

bool CSoundManagerWorker::GetShutdown ( )
inlineprivate

Definition at line 186 of file SoundManager.cpp.

CSoundManagerWorker::NONCOPYABLE ( CSoundManagerWorker  )
private
void CSoundManagerWorker::Run ( )
inlineprivate

Definition at line 126 of file SoundManager.cpp.

static void* CSoundManagerWorker::RunThread ( void *  data)
inlinestaticprivate

Definition at line 116 of file SoundManager.cpp.

void CSoundManagerWorker::SetEnabled ( bool  enabled)
inline

Definition at line 63 of file SoundManager.cpp.

bool CSoundManagerWorker::Shutdown ( void  )
inline

Definition at line 72 of file SoundManager.cpp.

Member Data Documentation

ItemsList* CSoundManagerWorker::m_DeadItems
private

Definition at line 203 of file SoundManager.cpp.

CMutex CSoundManagerWorker::m_DeadItemsMutex
private

Definition at line 198 of file SoundManager.cpp.

bool CSoundManagerWorker::m_Enabled
private

Definition at line 205 of file SoundManager.cpp.

ItemsList* CSoundManagerWorker::m_Items
private

Definition at line 202 of file SoundManager.cpp.

bool CSoundManagerWorker::m_Shutdown
private

Definition at line 206 of file SoundManager.cpp.

CMutex CSoundManagerWorker::m_WorkerMutex
private

Definition at line 197 of file SoundManager.cpp.

pthread_t CSoundManagerWorker::m_WorkerThread
private

Definition at line 196 of file SoundManager.cpp.


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