Odyssey::DelegateJob Class Reference

Executes a callable for the job. More...

#include <Job.h>

Inheritance diagram for Odyssey::DelegateJob:

Odyssey::Job List of all members.

Public Member Functions

 DelegateJob ()
 DelegateJob (const Delegate &proc)
void execute (const Job::VariableMap &vars=VariableMap())
 Executes the job.

Public Attributes

Delegate Execute

Detailed Description

Executes a callable for the job.

This class implements a job. The Job will exectute a remote callable as the job implementation, taking in a Config and a VariableMap


Constructor & Destructor Documentation

Odyssey::DelegateJob::DelegateJob  ) 
 

Odyssey::DelegateJob::DelegateJob const Delegate proc  ) 
 


Member Function Documentation

void Odyssey::DelegateJob::execute const Job::VariableMap vars = VariableMap()  )  [virtual]
 

Executes the job.

This function executes the job, and does not return until the job has finished. The job can be further configured through the VariableMap passed in.

Parameters:
vars a map of named variable parameters

Implements Odyssey::Job.


Member Data Documentation

Delegate Odyssey::DelegateJob::Execute
 


The documentation for this class was generated from the following file:
Generated on Sun Jan 7 01:18:52 2007 for Odyssey Meta-Engine by  doxygen 1.4.6-NO