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.
Definition at line 1244 of file linked.h.
void ucommon::objqueue< T >::add | ( | T * | object | ) | [inline] |
T* ucommon::objqueue< T >::pop | ( | void | ) | [inline] |
Pop an object from the end of the object queue.
Reimplemented from ucommon::ObjectQueue.
T* ucommon::objqueue< T >::pull | ( | void | ) | [inline] |
Pull an object from the start of the object queue.
Reimplemented from ucommon::ObjectQueue.
void ucommon::objqueue< T >::push | ( | T * | object | ) | [inline] |