NL3D::CLoadMeshCancel Class Reference

Inheritance diagram for NL3D::CLoadMeshCancel:

NLMISC::CAsyncFileManager::ICancelCallback

Public Member Functions

virtual bool callback (const IRunnable *prunnable) const=0
 CLoadMeshCancel (const std::string &meshName)

Private Member Functions

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

Private Attributes

std::string _MeshName

Constructor & Destructor Documentation

NL3D::CLoadMeshCancel::CLoadMeshCancel const std::string &  meshName  )  [inline]
 

Definition at line 94 of file async_file_manager_3d.cpp.

References _MeshName.

00095                 : _MeshName(meshName)
00096         {}


Member Function Documentation

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

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

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

Definition at line 101 of file async_file_manager_3d.cpp.

References _MeshName, and NL3D::CAsyncFileManager3D::CMeshLoad::MeshName.

00102         {
00103                 const CAsyncFileManager3D::CMeshLoad *pML = dynamic_cast<const CAsyncFileManager3D::CMeshLoad*>(prunnable);
00104                 if (pML != NULL)
00105                 {
00106                         if (pML->MeshName == _MeshName)
00107                         {
00108                                 return true;
00109                         }
00110                 }
00111                 return false;
00112         }

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

Definition at line 114 of file async_file_manager_3d.cpp.

References _MeshName.

00115         {
00116                 result = "LoadMeshCancel (" + _MeshName + ")";
00117         }


Field Documentation

std::string NL3D::CLoadMeshCancel::_MeshName [private]
 

Definition at line 99 of file async_file_manager_3d.cpp.

Referenced by callback(), CLoadMeshCancel(), 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