class Buffer
|
A rotating buffer implementation. More... |
|
|
Public Methods
Protected Members
Detailed Description
A rotating buffer implementation.
This buffer keeps the last N lines (frames) it has
[protected]
Pointers to objects
mutable vector<int> flags
|
[protected]
[protected]
The number N of objects kept
[protected]
[protected]
Buffer (int bLength) : data(bLength) , flags(bLength,0) , bufferLength (bLength)
|
Constructor, requires the buffer length (bLength)
Copy constructor (not implemented, do we need one?)
[const]
Indexing operator, read-only
Indexing operator, also sets the indexed frame as being the current frame
[const]
void printOn (ostream &out = cout)
|
[const]
Prints the Buffer
Reimplemented from Object.
[const]
inline void printOn (ostream &out)
|
[const]
Reimplemented from Object.
Generated by: jmvalin@usw-pr-shell2 on Mon Jun 24 00:06:36 2002, using kdoc 2.0a40. |