The Pedigree Project  0.1
Public Attributes | List of all members
Buffer< T, allowShortOperation >::Segment Struct Reference
+ Collaboration diagram for Buffer< T, allowShortOperation >::Segment:

Public Attributes

data [m_SegmentSize]
 
size_t reader
 
size_t size
 

Detailed Description

template<class T, bool allowShortOperation = false>
struct Buffer< T, allowShortOperation >::Segment

Holds a segment of data; more data can be written into this segment until it reaches capacity.

Definition at line 172 of file Buffer.h.

Member Data Documentation

template<class T, bool allowShortOperation = false>
T Buffer< T, allowShortOperation >::Segment::data[m_SegmentSize]
template<class T, bool allowShortOperation = false>
size_t Buffer< T, allowShortOperation >::Segment::reader

Reader offset (the next reader starts here).

Definition at line 182 of file Buffer.h.

Referenced by Buffer< T, allowShortOperation >::read().

template<class T, bool allowShortOperation = false>
size_t Buffer< T, allowShortOperation >::Segment::size

The documentation for this struct was generated from the following file: