WorkQueue< ambient > Class Template Reference

#include <WorkQueue.h>

List of all members.

Public Member Functions

void push (WorkItem *w)
WorkItempop ()

Classes

struct  WorkItemQueue


Detailed Description

template<size_t ambient>
class WorkQueue< ambient >

The overall work queue.


Member Function Documentation

template<size_t ambient>
WorkItem* WorkQueue< ambient >::pop  )  [inline]
 

Pop the next work item off the queue, NULL if the queue is empty. The caller is responsible for deleting the returned work item.

template<size_t ambient>
void WorkQueue< ambient >::push WorkItem w  )  [inline]
 

Push a work item onto the queue in its appropriate spot. The caller yields ownership of w to the queue (i.e. the caller must not delete w, and w must not be on the stack).


The documentation for this class was generated from the following file:
Generated on Thu Mar 27 19:04:16 2008 by  doxygen 1.4.6