#include <detail/circular_buffer.hpp>
Public Types | |
using | value_type = T |
using | pointer = T * |
using | const_pointer = const T * |
using | reference = T & |
using | const_reference = const T & |
using | iterator = typename std::deque< T >::iterator |
using | const_iterator = typename std::deque< T >::const_iterator |
Public Member Functions | |
CircularBuffer (std::size_t Capacity) | |
iterator | begin () |
const_iterator | begin () const |
iterator | end () |
const_iterator | end () const |
reference | front () |
const_reference | front () const |
reference | back () |
const_reference | back () const |
reference | operator[] (std::size_t Idx) |
const_reference | operator[] (std::size_t Idx) const |
std::size_t | size () const |
std::size_t | capacity () const |
bool | empty () const |
bool | full () const |
void | push_back (T Val) |
void | push_front (T Val) |
void | pop_back () |
void | pop_front () |
void | erase (const_iterator Pos) |
void | erase (const_iterator First, const_iterator Last) |
void | clear () |
Definition at line 23 of file circular_buffer.hpp.
using sycl::_V1::detail::CircularBuffer< T >::const_iterator = typename std::deque<T>::const_iterator |
Definition at line 34 of file circular_buffer.hpp.
using sycl::_V1::detail::CircularBuffer< T >::const_pointer = const T * |
Definition at line 29 of file circular_buffer.hpp.
using sycl::_V1::detail::CircularBuffer< T >::const_reference = const T & |
Definition at line 31 of file circular_buffer.hpp.
using sycl::_V1::detail::CircularBuffer< T >::iterator = typename std::deque<T>::iterator |
Definition at line 33 of file circular_buffer.hpp.
using sycl::_V1::detail::CircularBuffer< T >::pointer = T * |
Definition at line 28 of file circular_buffer.hpp.
using sycl::_V1::detail::CircularBuffer< T >::reference = T & |
Definition at line 30 of file circular_buffer.hpp.
using sycl::_V1::detail::CircularBuffer< T >::value_type = T |
Definition at line 27 of file circular_buffer.hpp.
|
inlineexplicit |
Definition at line 25 of file circular_buffer.hpp.
|
inline |
Definition at line 48 of file circular_buffer.hpp.
|
inline |
Definition at line 50 of file circular_buffer.hpp.
|
inline |
Definition at line 36 of file circular_buffer.hpp.
Referenced by sycl::_V1::detail::LeavesCollection::begin(), sycl::_V1::detail::LeavesCollection::cbegin(), sycl::_V1::detail::LeavesCollection::remove(), and sycl::_V1::detail::LeavesCollection::toVector().
|
inline |
Definition at line 38 of file circular_buffer.hpp.
|
inline |
Definition at line 58 of file circular_buffer.hpp.
Referenced by sycl::_V1::detail::LeavesCollection::genericCommandsCapacity().
|
inline |
Definition at line 86 of file circular_buffer.hpp.
|
inline |
Definition at line 60 of file circular_buffer.hpp.
Referenced by sycl::_V1::detail::LeavesCollection::begin(), and sycl::_V1::detail::LeavesCollection::cbegin().
|
inline |
Definition at line 40 of file circular_buffer.hpp.
Referenced by sycl::_V1::detail::LeavesCollection::remove(), and sycl::_V1::detail::LeavesCollection::toVector().
|
inline |
Definition at line 42 of file circular_buffer.hpp.
|
inline |
Definition at line 82 of file circular_buffer.hpp.
|
inline |
Definition at line 80 of file circular_buffer.hpp.
Referenced by sycl::_V1::detail::LeavesCollection::remove().
|
inline |
Definition at line 44 of file circular_buffer.hpp.
|
inline |
Definition at line 46 of file circular_buffer.hpp.
|
inline |
Definition at line 62 of file circular_buffer.hpp.
|
inline |
Definition at line 52 of file circular_buffer.hpp.
|
inline |
Definition at line 54 of file circular_buffer.hpp.
|
inline |
Definition at line 76 of file circular_buffer.hpp.
|
inline |
Definition at line 78 of file circular_buffer.hpp.
|
inline |
Definition at line 64 of file circular_buffer.hpp.
|
inline |
Definition at line 70 of file circular_buffer.hpp.
|
inline |
Definition at line 56 of file circular_buffer.hpp.
Referenced by sycl::_V1::detail::LeavesCollection::toVector().