LLWorkerThread::WorkRequest Class Reference

#include <llworkerthread.h>

Inheritance diagram for LLWorkerThread::WorkRequest:

Inheritance graph
Collaboration diagram for LLWorkerThread::WorkRequest:

Collaboration graph
List of all members.

Public Member Functions

 WorkRequest (handle_t handle, U32 priority, LLWorkerClass *workerclass, S32 param)
S32 getParam ()
LLWorkerClassgetWorkerClass ()
bool processRequest ()
void finishRequest (bool completed)
void deleteRequest ()

Protected Member Functions

virtual ~WorkRequest ()

Private Attributes

S32 mParam

Detailed Description

Definition at line 54 of file llworkerthread.h.

Constructor & Destructor Documentation

LLWorkerThread::WorkRequest::~WorkRequest (  )  [protected, virtual]

Definition at line 151 of file llworkerthread.cpp.

LLWorkerThread::WorkRequest::WorkRequest ( handle_t  handle,
U32  priority,
LLWorkerClass workerclass,
S32  param 

Definition at line 144 of file llworkerthread.cpp.

Member Function Documentation

void LLWorkerThread::WorkRequest::deleteRequest (  )  [virtual]

Reimplemented from LLQueuedThread::QueuedRequest.

Definition at line 156 of file llworkerthread.cpp.

References LLQueuedThread::QueuedRequest::deleteRequest().

Referenced by LLWorkerThread::addWorkRequest().

void LLWorkerThread::WorkRequest::finishRequest ( bool  completed  )  [virtual]

Reimplemented from LLQueuedThread::QueuedRequest.

Definition at line 172 of file llworkerthread.cpp.

References LLWorkerClass::finishWork(), getParam(), getWorkerClass(), LLWorkerClass::setFlags(), LLWorkerClass::WCF_WORK_ABORTED, and LLWorkerClass::WCF_WORK_FINISHED.

S32 LLWorkerThread::WorkRequest::getParam (  )  [inline]

Definition at line 62 of file llworkerthread.h.

References mParam.

Referenced by LLWorkerClass::checkWork(), finishRequest(), and processRequest().

LLWorkerClass* LLWorkerThread::WorkRequest::getWorkerClass (  )  [inline]

Definition at line 66 of file llworkerthread.h.

References mWorkerClass.

Referenced by LLTextureFetch::dump(), finishRequest(), and processRequest().

bool LLWorkerThread::WorkRequest::processRequest (  )  [virtual]

Implements LLQueuedThread::QueuedRequest.

Definition at line 162 of file llworkerthread.cpp.

References LLWorkerClass::doWork(), getParam(), getWorkerClass(), and LLWorkerClass::setWorking().

Member Data Documentation

S32 LLWorkerThread::WorkRequest::mParam [private]

Definition at line 77 of file llworkerthread.h.

Referenced by getParam().

LLWorkerClass* LLWorkerThread::WorkRequest::mWorkerClass [private]

Definition at line 76 of file llworkerthread.h.

Referenced by getWorkerClass().

The documentation for this class was generated from the following files:
Generated on Thu Jul 1 06:12:04 2010 for Second Life Viewer by  doxygen 1.4.7