NL3D::CLoadTextureCancel Class Reference

Inheritance diagram for NL3D::CLoadTextureCancel:

NLMISC::CAsyncFileManager::ICancelCallback

Public Member Functions

virtual bool callback (const IRunnable *prunnable) const=0
 CLoadTextureCancel (CTextureFile *ptextureFile)

Private Member Functions

bool callback (const NLMISC::IRunnable *prunnable) const
void getName (std::string &result) const

Private Attributes

CTextureFile_TextureFile

Constructor & Destructor Documentation

NL3D::CLoadTextureCancel::CLoadTextureCancel CTextureFile ptextureFile  )  [inline]
 

Definition at line 150 of file async_file_manager_3d.cpp.

References _TextureFile.

00151                 : _TextureFile(ptextureFile)
00152         {}


Member Function Documentation

virtual bool NLMISC::CAsyncFileManager::ICancelCallback::callback const IRunnable prunnable  )  const [pure virtual, inherited]
 

Referenced by NLMISC::CAsyncFileManager::cancelLoadTask().

bool NL3D::CLoadTextureCancel::callback const NLMISC::IRunnable prunnable  )  const [inline, private]
 

Definition at line 157 of file async_file_manager_3d.cpp.

References _TextureFile, and NL3D::CAsyncFileManager3D::CTextureLoad::TextureFile.

00158         {
00159                 const CAsyncFileManager3D::CTextureLoad *pTL = dynamic_cast<const CAsyncFileManager3D::CTextureLoad*>(prunnable);
00160                 if (pTL != NULL)
00161                 {
00162                         if (pTL->TextureFile == _TextureFile)
00163                         {
00164                                 return true;
00165                         }
00166                 }
00167                 return false;
00168         }

void NL3D::CLoadTextureCancel::getName std::string &  result  )  const [inline, private]
 

Definition at line 170 of file async_file_manager_3d.cpp.

References _TextureFile, and NL3D::CTextureFile::getFileName().

00171         {
00172                 result = "LoadTextureCancel (" + _TextureFile->getFileName() + ")";
00173         }


Field Documentation

CTextureFile* NL3D::CLoadTextureCancel::_TextureFile [private]
 

Definition at line 155 of file async_file_manager_3d.cpp.

Referenced by callback(), CLoadTextureCancel(), and getName().


The documentation for this class was generated from the following file:
Generated on Tue Mar 16 06:49:45 2004 for NeL by doxygen 1.3.6