UCommon
|
Template for typesafe basic object queue container. More...
#include <linked.h>
Public Member Functions | |
void | add (T *object) |
Add an object to the end of the object queue. | |
objqueue () | |
Create a new object stack. | |
T * | pop (void) |
Pop an object from the end of the object queue. | |
T * | pull (void) |
Pull an object from the start of the object queue. | |
void | push (T *object) |
Push an object to start of queue. |
Template for typesafe basic object queue container.
The object type, T, that is contained in the fifo must be derived from DLinkedObject.
void objqueue< T >::add | ( | T * | object | ) | [inline] |
T* objqueue< T >::pop | ( | void | ) | [inline] |
Pop an object from the end of the object queue.
Reimplemented from ObjectQueue.
T* objqueue< T >::pull | ( | void | ) | [inline] |
Pull an object from the start of the object queue.
Reimplemented from ObjectQueue.
void objqueue< T >::push | ( | T * | object | ) | [inline] |