var::Ring
Types
Buffer#
using var::Ring< T, item_count >::Buffer = Array<T, item_count> Type: Array< T, item_count >
Functions
Ring()=default#
var::Ring< T, item_count >::Ring ()=default~Ring()#
inline
var::Ring< T, item_count >::~Ring ()at(size_t position)#
inline
T & var::Ring< T, item_count >::at (size_t position)Type: T &
Parameters:
size_tposition
at(size_t position) const#
inline
const T & var::Ring< T, item_count >::at (size_t position) constType: const T &
Parameters:
size_tposition
back()#
inline
T & var::Ring< T, item_count >::back ()Type: T &
back() const#
inline
const T & var::Ring< T, item_count >::back () constType: const T &
count_ready() const#
inline
u32 var::Ring< T, item_count >::count_ready () constType: u32
front()#
inline
T & var::Ring< T, item_count >::front ()Type: T &
front() const#
inline
const T & var::Ring< T, item_count >::front () constType: const T &
is_empty() const#
inline
bool var::Ring< T, item_count >::is_empty () constType: bool
is_full() const#
inline
bool var::Ring< T, item_count >::is_full () constType: bool
pop()#
inline
Ring & var::Ring< T, item_count >::pop ()Type: Ring &
push(const T &value)#
inline
Ring & var::Ring< T, item_count >::push (const T &value)Type: Ring &
Parameters:
const T &value
rotate_backward()#
inline
Ring & var::Ring< T, item_count >::rotate_backward ()Type: Ring &
rotate_forward()#
inline
Ring & var::Ring< T, item_count >::rotate_forward ()Type: Ring &
set_overflow_allowed(bool value=true)#
inline
Ring & var::Ring< T, item_count >::set_overflow_allowed (bool value=true)Type: Ring &
Parameters:
boolvalue
to_linear_data() const#
inline
Array< T, item_count > var::Ring< T, item_count >::to_linear_data () constType: Array< T, item_count >