Public Member Functions

ucc::objqueue< T > Class Template Reference

Template for typesafe basic object queue container. More...

#include <linked.h>

Inheritance diagram for ucc::objqueue< T >:
Inheritance graph
[legend]
Collaboration diagram for ucc::objqueue< T >:
Collaboration graph
[legend]

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.

Detailed Description

template<class T>
class ucc::objqueue< T >

Template for typesafe basic object queue container.

The object type, T, that is contained in the fifo must be derived from DLinkedObject.

Author:
David Sugar <dyfet@gnutelephony.org>

Definition at line 1219 of file linked.h.


Member Function Documentation

template<class T >
void ucc::objqueue< T >::add ( T *  object  )  [inline]

Add an object to the end of the object queue.

Parameters:
object of specified type to add.

Definition at line 1238 of file linked.h.

Here is the call graph for this function:

template<class T >
T* ucc::objqueue< T >::pop ( void   )  [inline]

Pop an object from the end of the object queue.

Returns:
object of specified type or NULL if empty.

Reimplemented from ucc::ObjectQueue.

Definition at line 1252 of file linked.h.

Here is the call graph for this function:

template<class T >
T* ucc::objqueue< T >::pull ( void   )  [inline]

Pull an object from the start of the object queue.

Returns:
object of specified type or NULL if empty.

Reimplemented from ucc::ObjectQueue.

Definition at line 1245 of file linked.h.

Here is the call graph for this function:

template<class T >
void ucc::objqueue< T >::push ( T *  object  )  [inline]

Push an object to start of queue.

Parameters:
object of specified type to push.

Definition at line 1231 of file linked.h.

Here is the call graph for this function:


The documentation for this class was generated from the following file: