replicode
Classes | Public Member Functions | Protected Attributes | Static Private Attributes | List of all members
r_code::time_buffer< T, IsInvalidated > Class Template Reference

#include <time_buffer.h>

Inheritance diagram for r_code::time_buffer< T, IsInvalidated >:
Inheritance graph
Collaboration diagram for r_code::time_buffer< T, IsInvalidated >:
Collaboration graph

Classes

class  iterator
 

Public Member Functions

 time_buffer ()
 
void set_thz (uint64_t thz)
 
iterator begin (uint64_t time_reference)
 
iteratorend ()
 
iterator find (uint64_t time_reference, const T &t)
 
iterator find (const T &t)
 
iterator erase (iterator &i)
 
- Public Member Functions inherited from r_code::list< T >
 list ()
 
uint64_t size () const
 
void reserve (uint64_t size)
 
void clear ()
 
void push_back (const T &t)
 
void push_back (const T &t, int64_t &location)
 
void push_front (const T &t)
 
void push_front (const T &t, int64_t &location)
 
iterator begin ()
 
const_iterator begin () const
 
const_iteratorend () const
 
iterator erase (iterator &i)
 
const_iterator erase (const_iterator &i)
 
void erase (int64_t c)
 
void remove (const T &t)
 
T & front ()
 
T & back ()
 

Protected Attributes

uint64_t thz
 
uint64_t time_reference
 
- Protected Attributes inherited from r_code::list< T >
std::vector< cellcells
 
int64_t used_cells_head
 
int64_t used_cells_tail
 
int64_t free_cells
 
uint64_t used_cell_count
 
uint64_t free_cell_count
 

Static Private Attributes

static iterator end_iterator
 

Additional Inherited Members

- Protected Member Functions inherited from r_code::list< T >
void push_back_free_cell (const T &t)
 
void push_back_new_cell (const T &t)
 
void update_used_cells_tail_state ()
 
void push_front_free_cell (const T &t)
 
void push_front_new_cell (const T &t)
 
void update_used_cells_head_state ()
 
void __erase (int64_t c)
 
int64_t _erase (int64_t c)
 
- Static Protected Attributes inherited from r_code::list< T >
static const int64_t null = -1
 

Constructor & Destructor Documentation

template<typename T, class IsInvalidated>
r_code::time_buffer< T, IsInvalidated >::time_buffer ( )
inline

Member Function Documentation

template<typename T, class IsInvalidated>
iterator r_code::time_buffer< T, IsInvalidated >::begin ( uint64_t  time_reference)
inline

Here is the caller graph for this function:

template<typename T, class IsInvalidated>
iterator& r_code::time_buffer< T, IsInvalidated >::end ( )
inline

Here is the caller graph for this function:

template<typename T, class IsInvalidated>
iterator r_code::time_buffer< T, IsInvalidated >::erase ( iterator i)
inline

Here is the caller graph for this function:

template<typename T, class IsInvalidated>
iterator r_code::time_buffer< T, IsInvalidated >::find ( uint64_t  time_reference,
const T &  t 
)
inline

Here is the caller graph for this function:

template<typename T, class IsInvalidated>
iterator r_code::time_buffer< T, IsInvalidated >::find ( const T &  t)
inline
template<typename T, class IsInvalidated>
void r_code::time_buffer< T, IsInvalidated >::set_thz ( uint64_t  thz)
inline

Member Data Documentation

template<typename T, class IsInvalidated>
time_buffer< T, IsInvalidated >::iterator r_code::time_buffer< T, IsInvalidated >::end_iterator
staticprivate
template<typename T, class IsInvalidated>
uint64_t r_code::time_buffer< T, IsInvalidated >::thz
protected
template<typename T, class IsInvalidated>
uint64_t r_code::time_buffer< T, IsInvalidated >::time_reference
protected

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