Public Types | |
typedef unsigned long | DataSize |
typedef unsigned long | BufferCount |
Public Member Functions | |
CAccumulationBuffer (const CAccumulationBuffer &rhs) | |
CAccumulationBuffer & | operator= (const CAccumulationBuffer &rhs) |
void | AddBuffer (JetByteTools::IO::CSmartBuffer &buffer) |
void * | GetData () const |
DataSize | GetDataSize () const |
BufferCount | BuffersConsumed () |
BufferCount | Purge () |
bool | IsEmpty () const |
Protected Types | |
typedef JetByteTools::Core::TExpandableBuffer < BYTE > | ByteBuffer |
Protected Member Functions | |
CAccumulationBuffer (JetByteTools::Core::ILockableObject &lock, DataSize maxSize) | |
virtual | ~CAccumulationBuffer () |
Protected Attributes | |
JetByteTools::IO::CSortedBufferProcessor | m_bufferList |
ByteBuffer | m_buffer |
JetByteTools::IO::CSmartBuffer | m_currentBuffer |
DataSize | m_used |
DataSize | m_maxSize |
BufferCount | m_buffersConsumed |
BufferCount | m_buffersAccumulated |
typedef unsigned long DataSize |
typedef unsigned long BufferCount |
typedef JetByteTools::Core::TExpandableBuffer<BYTE> ByteBuffer [protected] |
CAccumulationBuffer | ( | const CAccumulationBuffer & | rhs | ) |
CAccumulationBuffer | ( | JetByteTools::Core::ILockableObject & | lock, | |
DataSize | maxSize | |||
) | [protected] |
virtual ~CAccumulationBuffer | ( | ) | [protected, virtual] |
CAccumulationBuffer& operator= | ( | const CAccumulationBuffer & | rhs | ) |
void AddBuffer | ( | JetByteTools::IO::CSmartBuffer & | buffer | ) |
void * GetData | ( | ) | const |
CAccumulationBuffer::DataSize GetDataSize | ( | ) | const |
CAccumulationBuffer::BufferCount BuffersConsumed | ( | ) |
CAccumulationBuffer::BufferCount Purge | ( | ) |
bool IsEmpty | ( | ) | const |
JetByteTools::IO::CSortedBufferProcessor m_bufferList [protected] |
ByteBuffer m_buffer [protected] |
JetByteTools::IO::CSmartBuffer m_currentBuffer [protected] |
BufferCount m_buffersConsumed [protected] |
BufferCount m_buffersAccumulated [protected] |