Template Class GenRingBuffer

Nested Relationships

Nested Types

Inheritance Relationships

Derived Type

Class Documentation

template<class T>
class GenRingBuffer

Subclassed by swri_math_util::StatBuffer< T >

Public Functions

inline GenRingBuffer()
inline explicit GenRingBuffer(int NumElements2Alloc)
inline GenRingBuffer(const GenRingBuffer<T> &src)
inline GenRingBuffer<T> &operator=(const GenRingBuffer<T> &src)
inline virtual ~GenRingBuffer()
inline void ResizeBuffer(int newSize)
inline int size() const
inline int MaxSize() const
inline virtual T *operator[](int i)
inline virtual T *get(int i = 0) const
inline T *getRaw(int i) const
inline T *getLoad() const
inline T *getTail(int i = 0) const
inline void load(const T &newElem)
inline void load1(T newElem)
inline T *pop()
inline bool indexValid(int i)
inline void clear()

Protected Functions

inline void realloc_mem(int NumElements2Alloc)