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

Bounded stack. More...

#include <modm/container/stack.hpp>

Inheritance diagram for modm::BoundedStack< T, N, Container >:
modm::Stack< T, Container >

Public Typedefs

typedef Container::Size Size
 

Public Member Functions

T & get ()
 
const T & get () const
 
Size getMaxSize ()
 
Size getSize ()
 
bool isEmpty ()
 
bool isFull ()
 
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::BoundedStack< T, N, Container >

Bounded stack.


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