Main Page | Modules | Namespace List | Class Hierarchy | Class List | Namespace Members | Class Members | Related Pages

Queue Class Template Reference

Template class for a queue of values of any type. More...

List of all members.

Public Member Functions

 Queue (uint32_t initialSize=50)
 Create a new Queue with an optional initial size.
void add (const type &v)
 Add an element to the back of the queue.
void remove ()
 Remove the first element from the front of the queue.
bool isEmpty ()
 Return true if the queue is empty.
type * get ()
 Get the first element from the front of the queue, without removing it.


Detailed Description

template<class type>
class Fusion::Queue< type >

Template class for a queue of values of any type.

Constraint on <type> is that it must have a copy constructor and a default constructor.


Constructor & Destructor Documentation

Queue uint32_t  initialSize = 50  )  [inline]
 

Create a new Queue with an optional initial size.

The size sets the maximum number of elements that can be added before the queue must be resized.


Generated on Sat Apr 1 06:08:10 2006 for Emma Content Development Kit by  doxygen 1.4.3