|
ucommon
|
A queue of double linked object. More...
#include <linked.h>


Public Member Functions | |
| void | add (DLinkedObject *object) |
| Add an object to the end of the queue. | |
| ObjectQueue () | |
| Create an empty object queue. | |
| DLinkedObject * | pop (void) |
| Pop an object from the end of the queue. | |
| DLinkedObject * | pull (void) |
| Pull an object from the front of the queue. | |
| void | push (DLinkedObject *object) |
| Push an object to the front of the queue. | |
A queue of double linked object.
This uses the linkedlist class to form a basic queue of objects.
| void ucommon::ObjectQueue::add | ( | DLinkedObject * | object | ) |
Add an object to the end of the queue.
| object | to add. |
| DLinkedObject* ucommon::ObjectQueue::pop | ( | void | ) |
Pop an object from the end of the queue.
Reimplemented in ucommon::objqueue< T >.
| DLinkedObject* ucommon::ObjectQueue::pull | ( | void | ) |
Pull an object from the front of the queue.
Reimplemented in ucommon::objqueue< T >.
| void ucommon::ObjectQueue::push | ( | DLinkedObject * | object | ) |
Push an object to the front of the queue.
| object | to push. |
1.7.6.1