Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

base::SimpleLIFOQueue Class Reference

Inheritance diagram for base::SimpleLIFOQueue:

base::SimpleQueue base::SimpleFIFOQueue List of all members.

Public Member Functions

 SimpleLIFOQueue ()
virtual ~SimpleLIFOQueue ()
virtual void put (SingleLinkable_t *obj)
 put an object in the queue.
virtual SingleLinkable_tget ()
 get an object from the queue.
virtual void reset ()
 reset the queue.

Protected Attributes

SingleLinkable_thead

Constructor & Destructor Documentation

base::SimpleLIFOQueue::SimpleLIFOQueue  )  [inline]
 

virtual base::SimpleLIFOQueue::~SimpleLIFOQueue  )  [inline, virtual]
 


Member Function Documentation

virtual SingleLinkable_t* base::SimpleLIFOQueue::get  )  [inline, virtual]
 

get an object from the queue.

Returns:
NULL if queue is empty, or !=NULL object that was put previously.

Implements base::SimpleQueue.

virtual void base::SimpleLIFOQueue::put SingleLinkable_t obj  )  [inline, virtual]
 

put an object in the queue.

Parameters:
o,: object to put in

Implements base::SimpleQueue.

Reimplemented in base::SimpleFIFOQueue.

virtual void base::SimpleLIFOQueue::reset  )  [inline, virtual]
 

reset the queue.

Resets the queue without deallocating any queue objects.

Implements base::SimpleQueue.

Reimplemented in base::SimpleFIFOQueue.


Member Data Documentation

SingleLinkable_t* base::SimpleLIFOQueue::head [protected]
 


The documentation for this class was generated from the following file:
Generated on Fri Jun 30 00:02:31 2006 for Module base by  doxygen 1.4.2