2005/5/9

     
 

class Task

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

acdk::make::Task Class Reference

#include <Task.h>

Inheritance diagram for acdk::make::Task:

acdk::make::AbstractTask acdk::make::Tool acdk::make::AbstractCppTask acdk::make::AbstractTool acdk::make::AcdkBinaryTask acdk::make::AcdkUnitConfigTask acdk::make::CompileTask acdk::make::CppSourceDependTask acdk::make::DirExistsTask acdk::make::FileDeleteTask acdk::make::FileDependTask acdk::make::FileOpTask acdk::make::JavaCompileTask acdk::make::JobExecuterTask acdk::make::JobTask acdk::make::LookupFileTask acdk::make::PlattformSelectTask acdk::make::ProjectTask acdk::make::ScriptExecuteTask acdk::make::ShellExecuteTask acdk::make::TestTask acdk::make::AbstractTool List of all members.

Detailed Description

Base class of all acdkmake Tasks.


Public Member Functions

virtual RTaskInfo getTaskInfo ()=0
 For logging and working dir.

virtual void addDependingTask (IN(RTask) task)=0
 This task depends on other task.

virtual bool doExecute (IN(RString) exec, IN(RProps) props, int flags=TaskExecuteDefault)
 Public interface to execute a task.


Protected Member Functions

virtual bool execute (IN(RString) exec, IN(RProps) props)=0
 Public interface to execute a task.


Member Function Documentation

virtual void acdk::make::Task::addDependingTask IN(RTask task  )  [pure virtual]
 

This task depends on other task.

Parameters:
task which should executed before this task

Implemented in acdk::make::AbstractTask.

virtual bool acdk::make::Task::doExecute IN(RString exec,
IN(RProps props,
int  flags = TaskExecuteDefault
[virtual]
 

Public interface to execute a task.

Implementation Task should implement execute.

Parameters:
exec string identifies what to do
props current properties

virtual bool acdk::make::Task::execute IN(RString exec,
IN(RProps props
[protected, pure virtual]
 

Public interface to execute a task.

Implementation Task should implement execute.

Parameters:
exec string identifies what to do
props current properties

Implemented in acdk::make::AbstractCppTask, acdk::make::AbstractTask, acdk::make::AcdkBinaryTask, acdk::make::AcdkExeTask, acdk::make::AcdkLibTask, acdk::make::AcdkProjectTask, acdk::make::AcdkUnitConfigTask, acdk::make::CommandLineCompilerTool, acdk::make::CompileTask, acdk::make::CppSourceDependTask, acdk::make::DirExistsTask, acdk::make::FileDeleteTask, acdk::make::FileDependTask, acdk::make::FileOpTask, acdk::make::JavaCompileTask, acdk::make::JobExecuterTask, acdk::make::JobTask, acdk::make::LookupFileTask, acdk::make::PlattformSelectTask, acdk::make::ProjectTask, acdk::make::ScriptExecuteTask, acdk::make::ShellExecuteTask, and acdk::make::TestTask.

virtual RTaskInfo acdk::make::Task::getTaskInfo  )  [pure virtual]
 

For logging and working dir.

Returns:
valid TaskInfo

Implemented in acdk::make::AbstractCppTask, acdk::make::AbstractTask, acdk::make::AcdkBinaryTask, and acdk::make::DirExistsTask.