Internal read/write thread execution parameters. More...
#include <CachedBandBlocksManager.h>
Public Types | |
enum | TaskType { InvalidTaskT = 0, ReadTaskT = 1, WriteTaskT = 2, SuicideTastT = 3 } |
Public Member Functions | |
ThreadParameters () | |
~ThreadParameters () | |
Public Attributes | |
unsigned int | m_blockB |
Raster block band index. More... | |
unsigned char * | m_blockPtr |
Input block pointer. More... | |
unsigned int | m_blockX |
Raster block X index. More... | |
unsigned int | m_blockY |
Raster block Y index. More... | |
unsigned int | m_dataPrefetchThreshold |
The user defined read-ahead threshold. More... | |
boost::condition_variable | m_doTaskCondVar |
Used by the thread when awakenning to perform some task. More... | |
boost::mutex | m_doTaskMutex |
Used when wakenning the thread to perform some task. More... | |
unsigned char * | m_exchangeBlockPtr |
Exchange block pointer. More... | |
te::rst::Raster * | m_rasterPtr |
External raster pointer. More... | |
TaskType | m_task |
The required task to be performed (read/write/exit). More... | |
bool | m_taskFinished |
true when the thread has finished the required task. More... | |
boost::condition_variable | m_taskFinishedCondVar |
Used to wait for the required task finishment. More... | |
boost::mutex | m_taskFinishedMutex |
used by the thread to inform a task finishment. More... | |
boost::scoped_array< unsigned char > | m_threadDataBlockHandler |
A extra block used in exchange when a read-ahead task is performed. More... | |
Internal read/write thread execution parameters.
Definition at line 164 of file CachedBandBlocksManager.h.
Definition at line 168 of file CachedBandBlocksManager.h.
|
inline |
Definition at line 204 of file CachedBandBlocksManager.h.
|
inline |
Definition at line 217 of file CachedBandBlocksManager.h.
unsigned int te::mem::CachedBandBlocksManager::ThreadParameters::m_blockB |
Raster block band index.
Definition at line 188 of file CachedBandBlocksManager.h.
unsigned char* te::mem::CachedBandBlocksManager::ThreadParameters::m_blockPtr |
Input block pointer.
Definition at line 184 of file CachedBandBlocksManager.h.
unsigned int te::mem::CachedBandBlocksManager::ThreadParameters::m_blockX |
Raster block X index.
Definition at line 190 of file CachedBandBlocksManager.h.
unsigned int te::mem::CachedBandBlocksManager::ThreadParameters::m_blockY |
Raster block Y index.
Definition at line 192 of file CachedBandBlocksManager.h.
unsigned int te::mem::CachedBandBlocksManager::ThreadParameters::m_dataPrefetchThreshold |
The user defined read-ahead threshold.
Definition at line 178 of file CachedBandBlocksManager.h.
boost::condition_variable te::mem::CachedBandBlocksManager::ThreadParameters::m_doTaskCondVar |
Used by the thread when awakenning to perform some task.
Definition at line 198 of file CachedBandBlocksManager.h.
boost::mutex te::mem::CachedBandBlocksManager::ThreadParameters::m_doTaskMutex |
Used when wakenning the thread to perform some task.
Definition at line 194 of file CachedBandBlocksManager.h.
unsigned char* te::mem::CachedBandBlocksManager::ThreadParameters::m_exchangeBlockPtr |
Exchange block pointer.
Definition at line 186 of file CachedBandBlocksManager.h.
te::rst::Raster* te::mem::CachedBandBlocksManager::ThreadParameters::m_rasterPtr |
External raster pointer.
Definition at line 176 of file CachedBandBlocksManager.h.
TaskType te::mem::CachedBandBlocksManager::ThreadParameters::m_task |
The required task to be performed (read/write/exit).
Definition at line 182 of file CachedBandBlocksManager.h.
bool te::mem::CachedBandBlocksManager::ThreadParameters::m_taskFinished |
true when the thread has finished the required task.
Definition at line 180 of file CachedBandBlocksManager.h.
boost::condition_variable te::mem::CachedBandBlocksManager::ThreadParameters::m_taskFinishedCondVar |
Used to wait for the required task finishment.
Definition at line 200 of file CachedBandBlocksManager.h.
boost::mutex te::mem::CachedBandBlocksManager::ThreadParameters::m_taskFinishedMutex |
used by the thread to inform a task finishment.
Definition at line 196 of file CachedBandBlocksManager.h.
boost::scoped_array< unsigned char > te::mem::CachedBandBlocksManager::ThreadParameters::m_threadDataBlockHandler |
A extra block used in exchange when a read-ahead task is performed.
Definition at line 202 of file CachedBandBlocksManager.h.