areaDetector  3-13
EPICS areaDetector framework
Public Member Functions | List of all members
CircularBuffer< T > Class Template Reference

#include <CircularBuffer.h>

Public Member Functions

 CircularBuffer (size_t max_length)
 
size_t max_size () const
 
size_t size () const
 
const T & first () const
 
const T & last () const
 
void push_back (const T &el)
 
const T & operator[] (size_t i) const
 
void clear ()
 
const size_t copy_to_array (T *const buffer, size_t buffer_size) const
 

Constructor & Destructor Documentation

◆ CircularBuffer()

template<class T >
CircularBuffer< T >::CircularBuffer ( size_t  max_length)
inline

Member Function Documentation

◆ clear()

template<class T >
void CircularBuffer< T >::clear ( )
inline

◆ copy_to_array()

template<class T >
const size_t CircularBuffer< T >::copy_to_array ( T *const  buffer,
size_t  buffer_size 
) const
inline

◆ first()

template<class T >
const T& CircularBuffer< T >::first ( ) const
inline

◆ last()

template<class T >
const T& CircularBuffer< T >::last ( ) const
inline

◆ max_size()

template<class T >
size_t CircularBuffer< T >::max_size ( ) const
inline

◆ operator[]()

template<class T >
const T& CircularBuffer< T >::operator[] ( size_t  i) const
inline

◆ push_back()

template<class T >
void CircularBuffer< T >::push_back ( const T &  el)
inline

◆ size()

template<class T >
size_t CircularBuffer< T >::size ( ) const
inline

The documentation for this class was generated from the following file: