# 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  

NL3D::CAsyncFileManager Class Reference

CAsyncFileManager is a class that manage file loading in a seperate thread. More...

#include <async_file_manager.h>

Inheritance diagram for NL3D::CAsyncFileManager:

NLMISC::CTaskManager NLMISC::IRunnable List of all members.

Public Methods

void loadMesh (const std::string &sMeshName, IShape **ppShp, IDriver *pDriver)
bool cancelLoadMesh (const std::string &sMeshName)
void loadIG (const std::string &igName, CInstanceGroup **ppIG)
void loadIGUser (const std::string &igName, UInstanceGroup **ppIG)
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

CAsyncFileManager & getInstance ()
void terminate ()

Private Methods

 CAsyncFileManager ()

Static Private Attributes

CAsyncFileManager * _Singleton = NULL

Detailed Description

CAsyncFileManager is a class that manage file loading in a seperate thread.

Author:
Matthieu Besson , Nevrax France
Date:
2002

Definition at line 47 of file async_file_manager.h.


Constructor & Destructor Documentation

NL3D::CAsyncFileManager::CAsyncFileManager   [private]
 

Definition at line 50 of file async_file_manager.cpp.

Referenced by getInstance.


Member Function Documentation

bool NL3D::CAsyncFileManager::cancelLoadMesh const std::string &    sMeshName
 

Definition at line 85 of file async_file_manager.cpp.

References NLMISC::CTaskManager::_TaskQueue.

void NL3D::CAsyncFileManager::cancelSignal bool *    pSgn
 

Definition at line 147 of file async_file_manager.cpp.

References NLMISC::CTaskManager::_TaskQueue.

CAsyncFileManager & NL3D::CAsyncFileManager::getInstance   [static]
 

Definition at line 56 of file async_file_manager.cpp.

References _Singleton, and CAsyncFileManager.

Referenced by terminate.

void NL3D::CAsyncFileManager::loadFile const std::string &    fileName,
uint8 **    pPtr
 

Definition at line 126 of file async_file_manager.cpp.

References NLMISC::CTaskManager::addTask, and uint8.

void NL3D::CAsyncFileManager::loadFiles const std::vector< std::string > &    vFileNames,
const std::vector< uint8 ** > &    vPtrs
 

Definition at line 133 of file async_file_manager.cpp.

References NLMISC::CTaskManager::addTask.

void NL3D::CAsyncFileManager::loadIG const std::string &    igName,
CInstanceGroup **    ppIG
 

Definition at line 112 of file async_file_manager.cpp.

References NLMISC::CTaskManager::addTask.

void NL3D::CAsyncFileManager::loadIGUser const std::string &    igName,
UInstanceGroup **    ppIG
 

Definition at line 119 of file async_file_manager.cpp.

References NLMISC::CTaskManager::addTask.

void NL3D::CAsyncFileManager::loadMesh const std::string &    sMeshName,
IShape **    ppShp,
IDriver   pDriver
 

Definition at line 78 of file async_file_manager.cpp.

References NLMISC::CTaskManager::addTask.

void NL3D::CAsyncFileManager::signal bool *    pSgn
 

Definition at line 140 of file async_file_manager.cpp.

References NLMISC::CTaskManager::addTask.

void NL3D::CAsyncFileManager::terminate   [static]
 

Definition at line 67 of file async_file_manager.cpp.

References _Singleton, and getInstance.


Member Data Documentation

CAsyncFileManager * NL3D::CAsyncFileManager::_Singleton = NULL [static, private]
 

Definition at line 46 of file async_file_manager.cpp.

Referenced by getInstance, and terminate.


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