LLVFSThread::Request Class Reference

#include <llvfsthread.h>

Inheritance diagram for LLVFSThread::Request:

Inheritance graph
[legend]
Collaboration diagram for LLVFSThread::Request:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 Request (handle_t handle, U32 priority, U32 flags, operation_t op, LLVFS *vfs, const LLUUID &file_id, const LLAssetType::EType file_type, U8 *buffer, S32 offset, S32 numbytes)
S32 getBytesRead ()
S32 getOperation ()
U8getBuffer ()
LLVFSgetVFS ()
std::string getFilename ()
bool processRequest ()
void finishRequest (bool completed)
void deleteRequest ()

Protected Member Functions

 ~Request ()

Private Attributes

operation_t mOperation
LLVFSmVFS
LLUUID mFileID
LLAssetType::EType mFileType
U8mBuffer
S32 mOffset
S32 mBytes
S32 mBytesRead


Detailed Description

Definition at line 61 of file llvfsthread.h.


Constructor & Destructor Documentation

LLVFSThread::Request::~Request (  )  [inline, protected]

Definition at line 64 of file llvfsthread.h.

LLVFSThread::Request::Request ( handle_t  handle,
U32  priority,
U32  flags,
operation_t  op,
LLVFS vfs,
const LLUUID file_id,
const LLAssetType::EType  file_type,
U8 buffer,
S32  offset,
S32  numbytes 
)


Member Function Documentation

S32 LLVFSThread::Request::getBytesRead (  )  [inline]

Definition at line 72 of file llvfsthread.h.

References mBytesRead.

Referenced by LLVFile::isReadComplete(), LLVFSThread::readImmediate(), and LLVFSThread::writeImmediate().

Here is the caller graph for this function:

S32 LLVFSThread::Request::getOperation (  )  [inline]

Definition at line 76 of file llvfsthread.h.

References mOperation.

U8* LLVFSThread::Request::getBuffer (  )  [inline]

Definition at line 80 of file llvfsthread.h.

References mBuffer.

LLVFS* LLVFSThread::Request::getVFS (  )  [inline]

Definition at line 84 of file llvfsthread.h.

References mVFS.

std::string LLVFSThread::Request::getFilename (  )  [inline]

Definition at line 88 of file llvfsthread.h.

References mFileID, and LLUUID::toString().

Here is the call graph for this function:

bool LLVFSThread::Request::processRequest (  )  [virtual]

void LLVFSThread::Request::finishRequest ( bool  completed  )  [virtual]

Reimplemented from LLQueuedThread::QueuedRequest.

Definition at line 237 of file llvfsthread.cpp.

References LLVFS::decLock(), LLVFSThread::FILE_RENAME, LLVFSThread::FILE_WRITE, mFileID, mFileType, mOperation, mVFS, VFSLOCK_APPEND, and VFSLOCK_READ.

Here is the call graph for this function:

void LLVFSThread::Request::deleteRequest (  )  [virtual]


Member Data Documentation

Definition at line 100 of file llvfsthread.h.

Referenced by deleteRequest(), finishRequest(), getOperation(), processRequest(), and Request().

Definition at line 102 of file llvfsthread.h.

Referenced by finishRequest(), getVFS(), processRequest(), and Request().

Definition at line 103 of file llvfsthread.h.

Referenced by finishRequest(), getFilename(), processRequest(), and Request().

Definition at line 104 of file llvfsthread.h.

Referenced by finishRequest(), processRequest(), and Request().

Definition at line 106 of file llvfsthread.h.

Referenced by deleteRequest(), getBuffer(), processRequest(), and Request().

Definition at line 107 of file llvfsthread.h.

Referenced by processRequest().

Definition at line 108 of file llvfsthread.h.

Referenced by processRequest().

Definition at line 109 of file llvfsthread.h.

Referenced by getBytesRead(), and processRequest().


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

Generated on Fri May 16 09:23:38 2008 for SecondLife by  doxygen 1.5.5