The C++ framework for developing highly scalable, high performance servers on Windows platforms.

CAccumulationBuffer Class Reference

Collaboration diagram for CAccumulationBuffer:

List of all members.

Public Types

typedef unsigned long DataSize
typedef unsigned long BufferCount

Public Member Functions

 CAccumulationBuffer (DataSize maxSize)
 CAccumulationBuffer (const CAccumulationBuffer &rhs)
virtual ~CAccumulationBuffer ()
CAccumulationBufferoperator= (const CAccumulationBuffer &rhs)
void SetMaxSize (DataSize maxSize)
void * PrepareData (JetByteTools::IO::CSmartBuffer &buffer)
void * PrepareData ()
void * GetData () const
DataSize GetDataSize () const
void UseData (DataSize bytesUsed)
BufferCount BuffersConsumed ()
void Accumulate ()
BufferCount Purge ()


Member Typedef Documentation

typedef unsigned long DataSize

typedef unsigned long BufferCount


Constructor & Destructor Documentation

CAccumulationBuffer ( DataSize  maxSize  )  [explicit]

virtual ~CAccumulationBuffer (  )  [virtual]


Member Function Documentation

CAccumulationBuffer& operator= ( const CAccumulationBuffer rhs  ) 

void SetMaxSize ( DataSize  maxSize  ) 

void* PrepareData ( JetByteTools::IO::CSmartBuffer buffer  ) 

void * PrepareData (  ) 

void * GetData (  )  const

CAccumulationBuffer::DataSize GetDataSize (  )  const

void UseData ( DataSize  bytesUsed  ) 

CAccumulationBuffer::BufferCount BuffersConsumed (  ) 

void Accumulate (  ) 


Generated on Sun Sep 12 19:10:55 2021 for The Server Framework - v7.4 by doxygen 1.5.3