modm API documentation
modm::BoundedQueue< T, N, Container > Class Template Reference

Bounded queue. More...

#include <modm/container/queue.hpp>

Inheritance diagram for modm::BoundedQueue< T, N, Container >:
modm::Queue< T, Container >

Public Typedefs

typedef Container::Size Size
 

Public Member Functions

T & get ()
 Access first element.
 
const T & get () const
 Access first element.
 
Size getMaxSize () const
 
Size getSize () const
 
bool isEmpty () const
 
bool isFull () const
 
bool isNotEmpty () const
 
bool isNotFull () const
 
void pop ()
 
bool push (const T &value)
 

Protected Attributes

Container c
 

Detailed Description

template<typename T, std::size_t N, typename Container = BoundedDeque<T, N>>
class modm::BoundedQueue< T, N, Container >

Bounded queue.


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