SMIL  0.9.1
FIFO_Queue< T > Class Template Reference

Preallocated FIFO Queue. More...

#include <DMorphoHierarQ.hpp>

+ Collaboration diagram for FIFO_Queue< T >:

Public Member Functions

 FIFO_Queue (size_t newSize=0)
 
front ()
 
void initialize (size_t newSize)
 
void pop ()
 
void push (T val)
 
void reset ()
 
size_t size ()
 
void swap ()
 

Static Public Attributes

static const bool preallocate = true
 

Protected Attributes

size_t _size
 
T * data
 
size_t first
 
size_t last
 
size_t realSize
 

Detailed Description

template<class T>
class smil::FIFO_Queue< T >

Preallocated FIFO Queue.


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