2005/5/9

     
 

class ShellExecuteTask

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

acdk::make::ShellExecuteTask Class Reference

#include <ShellExecuteTask.h>

Inheritance diagram for acdk::make::ShellExecuteTask:

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

Detailed Description

Execute an external process.

See also:
 Tasks.


Public Member Functions

 ShellExecuteTask (IN(RString) name, IN(RString) descr, IN(RString) cmdline, int flags, IN(RStringArray) env=Nil)
void setCommandLine (IN(RString) cmdline)
void setWorkingDir (IN(RString) wdir)
virtual bool execute (IN(RString) exec, IN(RProps) props)
 Public interface to execute a task.

RString getOutString ()
RString getErrString ()
void setOutWriter (IN(::acdk::io::RCharWriter) outWriter)
void setErrWriter (IN(::acdk::io::RCharWriter) errWriter)

Static Public Member Functions

RString getShell (IN(RProps) props)
RString getShellExecuteOpt (IN(RProps) props)

Public Attributes

RString _cmdline
int _flags
RStringArray _env
RString _workDir
RString _outs
RString _errs
::acdk::io::RCharWriter _outWriter
::acdk::io::RCharWriter _errWriter


Constructor & Destructor Documentation

acdk::make::ShellExecuteTask::ShellExecuteTask IN(RString name,
IN(RString descr,
IN(RString cmdline,
int  flags,
IN(RStringArray env = Nil
[inline]
 


Member Function Documentation

virtual bool acdk::make::ShellExecuteTask::execute IN(RString exec,
IN(RProps props
[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.

RString acdk::make::ShellExecuteTask::getErrString  )  [inline]
 

RString acdk::make::ShellExecuteTask::getOutString  )  [inline]
 

RString acdk::make::ShellExecuteTask::getShell IN(RProps props  )  [static]
 

RString acdk::make::ShellExecuteTask::getShellExecuteOpt IN(RProps props  )  [static]
 

void acdk::make::ShellExecuteTask::setCommandLine IN(RString cmdline  )  [inline]
 

void acdk::make::ShellExecuteTask::setErrWriter IN(::acdk::io::RCharWriter errWriter  )  [inline]
 

void acdk::make::ShellExecuteTask::setOutWriter IN(::acdk::io::RCharWriter outWriter  )  [inline]
 

void acdk::make::ShellExecuteTask::setWorkingDir IN(RString wdir  )  [inline]
 


Member Data Documentation

RString acdk::make::ShellExecuteTask::_cmdline
 

RStringArray acdk::make::ShellExecuteTask::_env
 

RString acdk::make::ShellExecuteTask::_errs
 

::acdk::io::RCharWriter acdk::make::ShellExecuteTask::_errWriter
 

int acdk::make::ShellExecuteTask::_flags
 

RString acdk::make::ShellExecuteTask::_outs
 

::acdk::io::RCharWriter acdk::make::ShellExecuteTask::_outWriter
 

RString acdk::make::ShellExecuteTask::_workDir