European
Southern
Observatory

ESO — Reaching New Heights in Astronomy

Countries taking part in the ESO

VLT Software Documentation

trkwsRING_BUFFER Class Reference

#include <trkwsRING_BUFFER.h>

List of all members.

Public Member Functions

 trkwsRING_BUFFER (int size)
 ~trkwsRING_BUFFER ()
bufEle * Read ()
bufEle * Peek (int offset)
ccsCOMPL_STAT Write (bufEle value)
void Init ()

Protected Attributes

int writeIndex
int readIndex
int diff
int valCount
int bufferSize
bufEle * data

Detailed Description

Definition at line 62 of file trkwsRING_BUFFER.h.


Constructor & Destructor Documentation

trkwsRING_BUFFER::trkwsRING_BUFFER ( int  size  ) 
trkwsRING_BUFFER::~trkwsRING_BUFFER (  ) 

Definition at line 154 of file trkwsRING_BUFFER.C.

References bufferSize, and data.


Member Function Documentation

void trkwsRING_BUFFER::Init (  ) 

Definition at line 160 of file trkwsRING_BUFFER.C.

References diff, readIndex, valCount, and writeIndex.

Referenced by tcsTCS_RCSID().

bufEle * trkwsRING_BUFFER::Peek ( int  offset  ) 

Definition at line 185 of file trkwsRING_BUFFER.C.

References bufferSize, data, diff, readIndex, and valCount.

Referenced by trkwsPOS_READ_LIST::Select().

bufEle * trkwsRING_BUFFER::Read (  ) 

Definition at line 165 of file trkwsRING_BUFFER.C.

References bufferSize, data, diff, readIndex, and writeIndex.

Referenced by trkwsPOS_READ_LIST::ReadPosition().

ccsCOMPL_STAT trkwsRING_BUFFER::Write ( bufEle  value  ) 

Definition at line 215 of file trkwsRING_BUFFER.C.

References bufferSize, data, diff, valCount, and writeIndex.

Referenced by trkwsPOS_READ_LIST::ReadPosition().


Member Data Documentation

Definition at line 79 of file trkwsRING_BUFFER.h.

Referenced by Peek(), Read(), tcsTCS_RCSID(), Write(), and ~trkwsRING_BUFFER().

bufEle* trkwsRING_BUFFER::data [protected]

Definition at line 80 of file trkwsRING_BUFFER.h.

Referenced by Peek(), Read(), tcsTCS_RCSID(), Write(), and ~trkwsRING_BUFFER().

int trkwsRING_BUFFER::diff [protected]

Definition at line 77 of file trkwsRING_BUFFER.h.

Referenced by Init(), Peek(), Read(), and Write().

int trkwsRING_BUFFER::readIndex [protected]

Definition at line 76 of file trkwsRING_BUFFER.h.

Referenced by Init(), Peek(), and Read().

int trkwsRING_BUFFER::valCount [protected]

Definition at line 78 of file trkwsRING_BUFFER.h.

Referenced by Init(), Peek(), and Write().

Definition at line 75 of file trkwsRING_BUFFER.h.

Referenced by Init(), Read(), and Write().


The documentation for this class was generated from the following files:
Generated on Mon Apr 23 10:12:57 2012 for INTROOT API by doxygen 1.6.3