Template for typesafe basic object fifo container.
More...
#include <linked.h>
Public Member Functions |
void | add (T *object) |
| Add an object onto the object fifo.
|
| objfifo () |
| Create a new object stack.
|
T * | pop (void) |
| Pull (pop) an object from the object stack.
|
T * | pull (void) |
| Pull an object from the object stack.
|
void | push (T *object) |
| Push an object onto the object fifo.
|
Detailed Description
Template for typesafe basic object fifo container.
The object type, T, that is contained in the fifo must be derived from OrderedObject or LinkedObject.
- Author:
- David Sugar <dyfet@gnutelephony.org>
Member Function Documentation
void ucommon::objfifo::add |
( |
T * |
object | ) |
[inline] |
Add an object onto the object fifo.
- Parameters:
-
object | of specified type to push. |
Definition at line 1208 of file linked.h.
T* ucommon::objfifo::pop |
( |
void |
| ) |
[inline] |
Pull (pop) an object from the object stack.
- Returns:
- object of specified type or NULL if empty.
Definition at line 1222 of file linked.h.
T* ucommon::objfifo::pull |
( |
void |
| ) |
[inline] |
Pull an object from the object stack.
- Returns:
- object of specified type or NULL if empty.
Definition at line 1215 of file linked.h.
void ucommon::objfifo::push |
( |
T * |
object | ) |
[inline] |
Push an object onto the object fifo.
- Parameters:
-
object | of specified type to push. |
Definition at line 1201 of file linked.h.
The documentation for this class was generated from the following file: