var::Ring
Types
#
Bufferusing var::Ring< T, item_count >::Buffer = Array<T, item_count>
Type: Array< T, item_count >
Functions
#
Ring()=defaultvar::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_t
position
#
at(size_t position) constinline
const T & var::Ring< T, item_count >::at (size_t position) const
Type: const T &
Parameters:
size_t
position
#
back()inline
T & var::Ring< T, item_count >::back ()
Type: T &
#
back() constinline
const T & var::Ring< T, item_count >::back () const
Type: const T &
#
count_ready() constinline
u32 var::Ring< T, item_count >::count_ready () const
Type: u32
#
front()inline
T & var::Ring< T, item_count >::front ()
Type: T &
#
front() constinline
const T & var::Ring< T, item_count >::front () const
Type: const T &
#
is_empty() constinline
bool var::Ring< T, item_count >::is_empty () const
Type: bool
#
is_full() constinline
bool var::Ring< T, item_count >::is_full () const
Type: 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:
bool
value
#
to_linear_data() constinline
Array< T, item_count > var::Ring< T, item_count >::to_linear_data () const
Type: Array< T, item_count >