#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. |
This uses the linkedlist class to form a basic queue of objects.
Definition at line 882 of file linked.h.
void ucc::ObjectQueue::add | ( | DLinkedObject * | object | ) |
DLinkedObject* ucc::ObjectQueue::pop | ( | void | ) |
Pop an object from the end of the queue.
Reimplemented in ucc::objqueue< T >.
DLinkedObject* ucc::ObjectQueue::pull | ( | void | ) |
Pull an object from the front of the queue.
Reimplemented in ucc::objqueue< T >.
void ucc::ObjectQueue::push | ( | DLinkedObject * | object | ) |