Public Member Functions | Private Attributes | List of all members
dynamicgraph::sot::detail::circular_buffer< T > Class Template Reference

#include <fir-filter.hh>

Public Member Functions

 circular_buffer ()
 
Toperator[] (size_t i)
 
void push_front (const T &data)
 
void reset_capacity (size_t n)
 
void reset_capacity (size_t n, const T &el)
 
size_t size () const
 

Private Attributes

std::vector< Tbuf
 
size_t numel
 
size_t start
 

Detailed Description

template<class T>
class dynamicgraph::sot::detail::circular_buffer< T >

Definition at line 32 of file fir-filter.hh.

Constructor & Destructor Documentation

◆ circular_buffer()

Definition at line 34 of file fir-filter.hh.

Member Function Documentation

◆ operator[]()

template<class T >
T& dynamicgraph::sot::detail::circular_buffer< T >::operator[] ( size_t  i)
inline

Definition at line 57 of file fir-filter.hh.

◆ push_front()

template<class T >
void dynamicgraph::sot::detail::circular_buffer< T >::push_front ( const T data)
inline

Definition at line 35 of file fir-filter.hh.

◆ reset_capacity() [1/2]

template<class T >
void dynamicgraph::sot::detail::circular_buffer< T >::reset_capacity ( size_t  n)
inline

Definition at line 46 of file fir-filter.hh.

◆ reset_capacity() [2/2]

template<class T >
void dynamicgraph::sot::detail::circular_buffer< T >::reset_capacity ( size_t  n,
const T el 
)
inline

Definition at line 51 of file fir-filter.hh.

◆ size()

template<class T >
size_t dynamicgraph::sot::detail::circular_buffer< T >::size ( ) const
inline

Definition at line 62 of file fir-filter.hh.

Member Data Documentation

◆ buf

template<class T >
std::vector<T> dynamicgraph::sot::detail::circular_buffer< T >::buf
private

Definition at line 65 of file fir-filter.hh.

◆ numel

template<class T >
size_t dynamicgraph::sot::detail::circular_buffer< T >::numel
private

Definition at line 67 of file fir-filter.hh.

◆ start

template<class T >
size_t dynamicgraph::sot::detail::circular_buffer< T >::start
private

Definition at line 66 of file fir-filter.hh.


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


sot-core
Author(s): Olivier Stasse, ostasse@laas.fr
autogenerated on Tue Oct 24 2023 02:26:32