famouso::mw::afp::defrag::detail::Queue< T, N > Class Template Reference
Queue of constant size. More...
#include <Queue.h>
Inheritance diagram for famouso::mw::afp::defrag::detail::Queue< T, N >:
Public Member Functions | |
void | push (const T &e) |
Push an item at the end of the queue. | |
void | pop () |
Pop first item. | |
bool | full () |
Returns whether the queue is full. | |
bool | empty () |
Returns whether the queue is empty. |
Detailed Description
template<typename T, unsigned int N>
class famouso::mw::afp::defrag::detail::Queue< T, N >
Queue of constant size.
- Template Parameters:
-
T Item type N Max. item count
Member Function Documentation
template<typename T, unsigned int N>
bool famouso::mw::afp::defrag::detail::Queue< T, N >::empty | ( | ) | [inline] |
Returns whether the queue is empty.
template<typename T, unsigned int N>
bool famouso::mw::afp::defrag::detail::Queue< T, N >::full | ( | ) | [inline] |
Returns whether the queue is full.
template<typename T, unsigned int N>
void famouso::mw::afp::defrag::detail::Queue< T, N >::pop | ( | ) | [inline] |
Pop first item.
template<typename T, unsigned int N>
void famouso::mw::afp::defrag::detail::Queue< T, N >::push | ( | const T & | e | ) | [inline] |
Push an item at the end of the queue.
The documentation for this class was generated from the following file:
- include/mw/afp/defrag/detail/Queue.h