#include <circBuffer.h>
Public Member Functions | |
| INLINE | CircBuffer () |
| INLINE | ~CircBuffer () |
| INLINE int | size () const |
| INLINE bool | empty () const |
| INLINE const Thing & | front () const |
| INLINE Thing & | front () |
| INLINE void | pop_front () |
| INLINE const Thing & | operator[] (int n) const |
| INLINE Thing & | operator[] (int n) |
| INLINE bool | full () const |
| INLINE const Thing & | back () const |
| INLINE Thing & | back () |
| INLINE void | push_back (const Thing &t) |
Private Attributes | |
| Thing | _array [max_size+1] |
| int | _in |
| int | _out |
|
|||||||||
|
|
|
|||||||||
|
|
|
|||||||||
|
|
|
|||||||||
|
|
|
|||||||||
|
|
|
|||||||||
|
|
|
|||||||||
|
|
|
|||||||||
|
|
|
||||||||||
|
|
|
||||||||||
|
|
|
|||||||||
|
|
|
||||||||||
|
|
|
|||||||||
|
|
|
|||||
|
Definition at line 64 of file circBuffer.h. |
|
|||||
|
Definition at line 65 of file circBuffer.h. |
|
|||||
|
Definition at line 65 of file circBuffer.h. |
1.3