template class CCL::RingBuffer
#include <ringbuffer.h> template <class T> class RingBuffer { public: // construction RingBuffer (int capacity); // methods bool resize (int capacity); int getCapacity () const; bool push (const T& data); bool wasPushed (const T& data); bool pop (T& data); bool peek (T& data); bool isEmpty (); int count (); int getFree (); void removeAll (); };