async::dispatch_t Class Reference

Describes a workload that does not need to return any results, that will be dispatched as a heap-allocated object. More...

#include <async-worker.h>

Inherits async::workload_t.

Inherited by DBOffload.

List of all members.

Public Member Functions

 dispatch_t ()
 Constructor.

Detailed Description

Describes a workload that does not need to return any results, that will be dispatched as a heap-allocated object.

Derived classes must implement the "virtual void Work()" member function.

Warning:
Assumes heap allocation with 'new'.
Instances will attempt to 'delete' themseleves upon completion. If this behavior is not desired, overload the 'Destroy' member function.
See also:
async::worker_t
async::static_worker_t

Definition at line 244 of file async-worker.h.


Constructor & Destructor Documentation

async::dispatch_t::dispatch_t (  )  [inline]

Constructor.

Definition at line 248 of file async-worker.h.


The documentation for this class was generated from the following file:
Generated on Fri Jul 30 16:14:59 2010 for Async::Worker by  doxygen 1.6.3