rtmlib
Public Member Functions | Public Attributes | Private Attributes | List of all members
RMTLD3_reader< R, P > Class Template Reference

#include <reader.h>

Inheritance diagram for RMTLD3_reader< R, P >:
Inheritance graph

Public Member Functions

 RMTLD3_reader (const typename R::buffer_t &_buffer, P &_lmem)
 
R::buffer_t::error_t reset ()
 
R::buffer_t::error_t set (timespan &)
 
R::error_t pull (typename R::buffer_t::event_t &)
 
R::error_t read (typename R::buffer_t::event_t &)
 
R::error_t read_next (typename R::buffer_t::event_t &)
 
R::error_t read_previous (typename R::buffer_t::event_t &)
 
size_t length () const
 
size_t consumed () const
 
void debug () const
 

Public Attributes

P & lmem
 

Private Attributes

size_t cursor
 

Constructor & Destructor Documentation

◆ RMTLD3_reader()

template<typename R , typename P >
RMTLD3_reader< R, P >::RMTLD3_reader ( const typename R::buffer_t &  _buffer,
P &  _lmem 
)
inline

Constructor

Member Function Documentation

◆ consumed()

template<typename R , typename P >
size_t RMTLD3_reader< R, P >::consumed ( ) const

◆ debug()

template<typename R , typename P >
void RMTLD3_reader< R, P >::debug ( ) const

◆ length()

template<typename R , typename P >
size_t RMTLD3_reader< R, P >::length ( ) const

◆ pull()

template<typename R , typename P >
R::error_t RMTLD3_reader< R, P >::pull ( typename R::buffer_t::event_t &  e)

◆ read()

template<typename R , typename P >
R::error_t RMTLD3_reader< R, P >::read ( typename R::buffer_t::event_t &  e)

◆ read_next()

template<typename R , typename P >
R::error_t RMTLD3_reader< R, P >::read_next ( typename R::buffer_t::event_t &  e)

◆ read_previous()

template<typename R , typename P >
R::error_t RMTLD3_reader< R, P >::read_previous ( typename R::buffer_t::event_t &  e)

◆ reset()

template<typename R , typename P >
R::buffer_t::error_t RMTLD3_reader< R, P >::reset ( )

Resets cursor in the reader

◆ set()

template<typename R , typename P >
R::buffer_t::error_t RMTLD3_reader< R, P >::set ( timespan &  t)

Sets cursor at time t

Member Data Documentation

◆ cursor

template<typename R , typename P >
size_t RMTLD3_reader< R, P >::cursor
private

Cursor between bottom and top of the reader

◆ lmem

template<typename R , typename P >
P& RMTLD3_reader< R, P >::lmem

Local memory for dynamic programming pattern


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