Tezzeret  1
Tezzeret
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
Geometrics::GmArrayRingBuffer< T, C > Class Template Reference
Inheritance diagram for Geometrics::GmArrayRingBuffer< T, C >:
Inheritance graph
[legend]
Collaboration diagram for Geometrics::GmArrayRingBuffer< T, C >:
Collaboration graph
[legend]

Public Member Functions

 GmArrayRingBuffer (Bool bOkToOverrun, Bool bNotices)
 
int WriteRecord (T *pcSource)
 
int ReadRecord (T *pcDestination)
 
int NoticeRecord (int *piDestination)
 
int ForgetNextRecord ()
 
int CheckToWrite ()
 
void SetEmpty ()
 
Bool IsEmpty ()
 
Bool HasData ()
 
Bool HasUnnoticedData ()
 
int ReserveRecord (int *pIndex)
 
T & GetBuffer (int iBufferIndex)
 
int CopyAndCommitData (T *pcSource, int index)
 
int CommitData (int index)
 
int Size ()
 
int MaxSize ()
 

Protected Member Functions

int InternalWriteRecord (T *pcSource)
 

Protected Attributes

int m_iLastBufferRead
 
int m_iLastBufferNoticed
 
int m_iLastBufferWritten
 
Bool m_bNextWriteWouldOverrun
 
Bool m_bNextWriteWouldOverrunNotice
 
Bool m_bOkToOverrun
 
Bool m_bNotices
 

The documentation for this class was generated from the following files: