#include <llvfsthread.h>
Collaboration diagram for LLVFSThread::Request:

| 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 () | 
| U8 * | getBuffer () | 
| LLVFS * | getVFS () | 
| std::string | getFilename () | 
| bool | processRequest () | 
| void | finishRequest (bool completed) | 
| void | deleteRequest () | 
| Protected Member Functions | |
| ~Request () | |
| Private Attributes | |
| operation_t | mOperation | 
| LLVFS * | mVFS | 
| LLUUID | mFileID | 
| LLAssetType::EType | mFileType | 
| U8 * | mBuffer | 
| S32 | mOffset | 
| S32 | mBytes | 
| S32 | mBytesRead | 
Definition at line 61 of file llvfsthread.h.
| 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 | |||
| ) | 
Definition at line 194 of file llvfsthread.cpp.
References LLVFSThread::FILE_RENAME, LLVFSThread::FILE_WRITE, LLVFS::getMaxSize(), LLVFS::incLock(), llassert, llendl, llwarns, mBuffer, mFileID, mFileType, mOperation, mVFS, S32, VFSLOCK_APPEND, and VFSLOCK_READ.
| void LLVFSThread::Request::deleteRequest | ( | ) | 
Definition at line 253 of file llvfsthread.cpp.
References LLQueuedThread::QueuedRequest::deleteRequest(), LLVFSThread::FILE_RENAME, LLVFSThread::FILE_WRITE, LLQueuedThread::FLAG_AUTO_DELETE, llendl, llerrs, mBuffer, mOperation, and LLQueuedThread::STATUS_QUEUED.
Referenced by LLVFSThread::read(), LLVFSThread::readImmediate(), LLVFSThread::write(), and LLVFSThread::writeImmediate().
| void LLVFSThread::Request::finishRequest | ( | bool | completed | ) | 
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.
| U8* LLVFSThread::Request::getBuffer | ( | ) |  [inline] | 
| S32 LLVFSThread::Request::getBytesRead | ( | ) |  [inline] | 
Definition at line 72 of file llvfsthread.h.
References mBytesRead.
Referenced by LLVFile::isReadComplete(), LLVFSThread::readImmediate(), and LLVFSThread::writeImmediate().
| std::string LLVFSThread::Request::getFilename | ( | ) |  [inline] | 
| S32 LLVFSThread::Request::getOperation | ( | ) |  [inline] | 
| LLVFS* LLVFSThread::Request::getVFS | ( | ) |  [inline] | 
| bool LLVFSThread::Request::processRequest | ( | ) | 
Definition at line 274 of file llvfsthread.cpp.
References LLVFSThread::FILE_READ, LLVFSThread::FILE_RENAME, LLVFSThread::FILE_WRITE, LLVFS::getData(), llassert, llendl, llerrs, llformat(), mBuffer, mBytes, mBytesRead, mFileID, mFileType, mOffset, mOperation, mVFS, LLVFS::renameFile(), and LLVFS::storeData().
| U8* LLVFSThread::Request::mBuffer  [private] | 
Definition at line 106 of file llvfsthread.h.
Referenced by deleteRequest(), getBuffer(), processRequest(), and Request().
| S32 LLVFSThread::Request::mBytes  [private] | 
| S32 LLVFSThread::Request::mBytesRead  [private] | 
| LLUUID LLVFSThread::Request::mFileID  [private] | 
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().
| S32 LLVFSThread::Request::mOffset  [private] | 
| operation_t LLVFSThread::Request::mOperation  [private] | 
Definition at line 100 of file llvfsthread.h.
Referenced by deleteRequest(), finishRequest(), getOperation(), processRequest(), and Request().
| LLVFS* LLVFSThread::Request::mVFS  [private] | 
Definition at line 102 of file llvfsthread.h.
Referenced by finishRequest(), getVFS(), processRequest(), and Request().
 1.4.7
 1.4.7