# Home    # nevrax.com   
Nevrax
Nevrax.org
#News
#Mailing-list
#Documentation
#CVS
#Bugs
#License
Docs
 
Documentation  
Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages   Search  

NLSOUND::CAsyncFileManagerSound Class Reference

CAsyncFileManagerSound is a class that manage sound file loading in a seperate thread This class mostly depend on the CAsyncFileManager class for serializing async file loas request. More...

#include <async_file_manager_sound.h>

List of all members.

Public Methods

void terminate ()
void loadWavFile (IBuffer *pdestBuffer, const std::string &filename)
void cancelLoadWaveFile (const std::string &filename)
void loadFile (const std::string &fileName, uint8 **pPtr)
void loadFiles (const std::vector< std::string > &vFileNames, const std::vector< uint8 ** > &vPtrs)
void signal (bool *pSgn)
void cancelSignal (bool *pSgn)

Static Public Methods

CAsyncFileManagerSound & getInstance ()

Private Methods

 CAsyncFileManagerSound ()
 Constructor. More...


Static Private Attributes

CAsyncFileManagerSound * _Singleton
 Singleton instance. More...


Friends

class CCancelLoadWavFile
 A non exported class for load canceling purpose. More...


Detailed Description

CAsyncFileManagerSound is a class that manage sound file loading in a seperate thread This class mostly depend on the CAsyncFileManager class for serializing async file loas request.

Author:
Boris Boucher , Nevrax France
Date:
2002

Definition at line 40 of file async_file_manager_sound.h.


Constructor & Destructor Documentation

NLSOUND::CAsyncFileManagerSound::CAsyncFileManagerSound   [inline, private]
 

Constructor.

Definition at line 59 of file async_file_manager_sound.h.

Referenced by getInstance.


Member Function Documentation

void NLSOUND::CAsyncFileManagerSound::cancelLoadWaveFile const std::string &    filename
 

Definition at line 86 of file async_file_manager_sound.cpp.

void NLSOUND::CAsyncFileManagerSound::cancelSignal bool *    pSgn
 

Definition at line 108 of file async_file_manager_sound.cpp.

CAsyncFileManagerSound & NLSOUND::CAsyncFileManagerSound::getInstance   [static]
 

Definition at line 39 of file async_file_manager_sound.cpp.

References _Singleton, and CAsyncFileManagerSound.

Referenced by terminate.

void NLSOUND::CAsyncFileManagerSound::loadFile const std::string &    fileName,
uint8 **    pPtr
 

Definition at line 93 of file async_file_manager_sound.cpp.

void NLSOUND::CAsyncFileManagerSound::loadFiles const std::vector< std::string > &    vFileNames,
const std::vector< uint8 ** > &    vPtrs
 

Definition at line 98 of file async_file_manager_sound.cpp.

void NLSOUND::CAsyncFileManagerSound::loadWavFile IBuffer   pdestBuffer,
const std::string &    filename
 

Definition at line 58 of file async_file_manager_sound.cpp.

void NLSOUND::CAsyncFileManagerSound::signal bool *    pSgn
 

Definition at line 103 of file async_file_manager_sound.cpp.

void NLSOUND::CAsyncFileManagerSound::terminate  
 

Definition at line 49 of file async_file_manager_sound.cpp.

References _Singleton, and getInstance.


Friends And Related Function Documentation

friend class CCancelLoadWavFile [friend]
 

A non exported class for load canceling purpose.

Definition at line 66 of file async_file_manager_sound.h.


Member Data Documentation

CAsyncFileManagerSound * NLSOUND::CAsyncFileManagerSound::_Singleton [static, private]
 

Singleton instance.

Definition at line 36 of file async_file_manager_sound.cpp.

Referenced by getInstance, and terminate.


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