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

CRingBuffer Class Reference

Collaboration diagram for CRingBuffer:

List of all members.

Public Member Functions

 CRingBuffer (size_t size)
 CRingBuffer (const CRingBuffer &rhs)
 ~CRingBuffer ()
CRingBufferoperator= (const CRingBuffer &rhs)
bool IsEmpty () const
size_t GetSize () const
size_t GetAvailableSpace () const
size_t TryAddData (const BYTE *pData, size_t dataLength)
void AddData (const BYTE *pData, size_t dataLength)
size_t GetAvailableData () const
size_t GetData (BYTE *pBuffer, size_t bufferLength)

Constructor & Destructor Documentation

CRingBuffer ( size_t  size  )  [explicit]

CRingBuffer ( const CRingBuffer rhs  ) 

~CRingBuffer (  ) 

Member Function Documentation

CRingBuffer& operator= ( const CRingBuffer rhs  ) 

bool IsEmpty (  )  const

size_t GetSize (  )  const

size_t GetAvailableSpace (  )  const

size_t TryAddData ( const BYTE pData,
size_t  dataLength 

void AddData ( const BYTE pData,
size_t  dataLength 

size_t GetAvailableData (  )  const

size_t GetData ( BYTE pBuffer,
size_t  bufferLength 

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