clan::WorkItem Class Referenceabstract

Interface for executing work on a worker thread. More...

#include <work_queue.h>

Public Member Functions

virtual ~WorkItem ()
 
virtual void process_work ()=0
 Called by a worker thread to process work. More...
 
virtual void work_completed ()
 Called by the WorkQueue thread to complete the work. More...
 

Detailed Description

Interface for executing work on a worker thread.

Constructor & Destructor Documentation

virtual clan::WorkItem::~WorkItem ( )
inlinevirtual

Member Function Documentation

virtual void clan::WorkItem::process_work ( )
pure virtual

Called by a worker thread to process work.

virtual void clan::WorkItem::work_completed ( )
inlinevirtual

Called by the WorkQueue thread to complete the work.


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