2005/5/9

     
 

class JobTask

artefaktur
Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   Namespace Members   Compound Members   Related Pages  

acdk::make::JobTask Class Reference

#include <JobTask.h>

Inheritance diagram for acdk::make::JobTask:

acdk::make::AbstractTask acdk::make::Job acdk::lang::Object acdk::make::Task acdk::lang::ObjectBase acdk::lang::dmi::StdDispatch List of all members.

Detailed Description

run a task as a job

See also:
acdk::make::JobExecuterTask

 Tasks.


Public Member Functions

 JobTask (IN(acdk::lang::Object) executer, IN(RTask) task, IN(RString) cmd, IN(RProps) props)
 ~JobTask ()
virtual bool execute (IN(RString) exec, IN(RProps) props)
 Public interface to execute a task.

void setExecutor (IN(acdk::lang::Object) executer)
virtual void run ()
bool isActive ()
virtual JobResult getResult ()

Private Attributes

RTask _task
RString _cmd
RProps _props
bool _erg
bool _active
acdk::lang::Object _executer
 instance of JobExecuterTask


Constructor & Destructor Documentation

acdk::make::JobTask::JobTask IN(acdk::lang::Object executer,
IN(RTask task,
IN(RString cmd,
IN(RProps props
[inline]
 

acdk::make::JobTask::~JobTask  ) 
 


Member Function Documentation

virtual bool acdk::make::JobTask::execute IN(RString exec,
IN(RProps props
[inline, virtual]
 

Public interface to execute a task.

Implementation Task should implement execute.

Parameters:
exec string identifies what to do
props current properties

Reimplemented from acdk::make::AbstractTask.

virtual JobResult acdk::make::JobTask::getResult  )  [virtual]
 

Implements acdk::make::Job.

bool acdk::make::JobTask::isActive  )  [inline]
 

virtual void acdk::make::JobTask::run  )  [virtual]
 

Implements acdk::lang::Runnable.

void acdk::make::JobTask::setExecutor IN(acdk::lang::Object executer  )  [inline]
 


Member Data Documentation

bool acdk::make::JobTask::_active [private]
 

RString acdk::make::JobTask::_cmd [private]
 

bool acdk::make::JobTask::_erg [private]
 

acdk::lang::Object acdk::make::JobTask::_executer [private]
 

instance of JobExecuterTask

RProps acdk::make::JobTask::_props [private]
 

RTask acdk::make::JobTask::_task [private]