NL3D::CLightRunnable Class Reference

Inheritance diagram for NL3D::CLightRunnable:

NLMISC::IRunnable

Public Member Functions

 CLightRunnable (uint process, CZoneLighter *zoneLighter, const CZoneLighter::CLightDesc *description)
virtual void getName (std::string &result) const
void run ()

Data Fields

IThreadThread

Private Attributes

const CZoneLighter::CLightDesc_Description
uint _Process
CZoneLighter_ZoneLighter

Constructor & Destructor Documentation

NL3D::CLightRunnable::CLightRunnable uint  process,
CZoneLighter zoneLighter,
const CZoneLighter::CLightDesc description
[inline]
 

Definition at line 382 of file zone_lighter.cpp.

References uint.

00383         {
00384                 _ZoneLighter = zoneLighter;
00385                 _Process = process;
00386                 _Description = description;
00387         }


Member Function Documentation

virtual void NLMISC::IRunnable::getName std::string &  result  )  const [inline, virtual, inherited]
 

Reimplemented in NL3D::CAsyncFileManager3D::CMeshLoad, NL3D::CAsyncFileManager3D::CIGLoad, NL3D::CAsyncFileManager3D::CIGLoadUser, NL3D::CAsyncFileManager3D::CTextureLoad, NL3D::CZoneLoadingTask, NLPACS::CGlobalRetriever::CLrLoader, NLMISC::CAsyncFileManager::CFileLoad, NLMISC::CAsyncFileManager::CMultipleFileLoad, and NLMISC::CAsyncFileManager::CSignal.

Definition at line 74 of file thread.h.

Referenced by NLMISC::CTaskManager::run().

00075         {
00076                 result = "NoName";
00077         }

void NL3D::CLightRunnable::run void   )  [inline, virtual]
 

Implements NLMISC::IRunnable.

Definition at line 390 of file zone_lighter.cpp.

References setCPUMask().

00391         {
00392                 // Set the CPU mask
00393                 setCPUMask (Thread, _Process);
00394 
00395                 _ZoneLighter->processCalc (_Process, *_Description);
00396                 _ZoneLighter->_ProcessExited++;
00397         }


Field Documentation

const CZoneLighter::CLightDesc* NL3D::CLightRunnable::_Description [private]
 

Definition at line 375 of file zone_lighter.cpp.

uint NL3D::CLightRunnable::_Process [private]
 

Definition at line 373 of file zone_lighter.cpp.

CZoneLighter* NL3D::CLightRunnable::_ZoneLighter [private]
 

Definition at line 374 of file zone_lighter.cpp.

IThread* NL3D::CLightRunnable::Thread
 

Definition at line 378 of file zone_lighter.cpp.

Referenced by NL3D::CZoneLighter::light().


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