The Pedigree Project
0.1
|
Public Attributes | |
T | data [m_SegmentSize] |
size_t | reader |
size_t | size |
Holds a segment of data; more data can be written into this segment until it reaches capacity.
T Buffer< T, allowShortOperation >::Segment::data[m_SegmentSize] |
Segment data.
Definition at line 179 of file Buffer.h.
Referenced by Buffer< T, allowShortOperation >::addSegment(), Buffer< T, allowShortOperation >::read(), and Buffer< T, allowShortOperation >::write().
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().
size_t Buffer< T, allowShortOperation >::Segment::size |
Segment size so far.
Definition at line 185 of file Buffer.h.
Referenced by Buffer< T, allowShortOperation >::addSegment(), Buffer< T, allowShortOperation >::read(), and Buffer< T, allowShortOperation >::write().