2005/5/9

     
 

class CommandLineCompilerTool

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

acdk::make::CommandLineCompilerTool Class Reference

#include <CommandLineCompilerTool.h>

Inheritance diagram for acdk::make::CommandLineCompilerTool:

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

Detailed Description

a command line based tool


Public Member Functions

 CommandLineCompilerTool (IN(RString) toolClass, IN(RString) toolTribe, IN(RProps) toolProps)
virtual bool configure (IN(RProps) env)
bool execute (IN(RString) exec, IN(RProps) props)
 Public interface to execute a task.

RProps getToolProps ()
void setDependencyChecker (IN(RDependencyChecker) depChecker)
void setCommandLineOutputParser (IN(RCommandLineOutputParser) parser)

Public Attributes

RToolConfigurator _configurator
RDependencyChecker _depChecker
RCommandLineOutputParser _outputParser

Private Attributes

RProps _toolProps
 Expects following properties: TOOL_BASENAME: base name of the command line utility.

bool _configured
bool _toolFound


Constructor & Destructor Documentation

acdk::make::CommandLineCompilerTool::CommandLineCompilerTool IN(RString toolClass,
IN(RString toolTribe,
IN(RProps toolProps
[inline]
 


Member Function Documentation

virtual bool acdk::make::CommandLineCompilerTool::configure IN(RProps env  )  [virtual]
 

Implements acdk::make::AbstractTool.

bool acdk::make::CommandLineCompilerTool::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.

RProps acdk::make::CommandLineCompilerTool::getToolProps  )  [inline]
 

void acdk::make::CommandLineCompilerTool::setCommandLineOutputParser IN(RCommandLineOutputParser parser  )  [inline]
 

void acdk::make::CommandLineCompilerTool::setDependencyChecker IN(RDependencyChecker depChecker  )  [inline]
 


Member Data Documentation

RToolConfigurator acdk::make::CommandLineCompilerTool::_configurator
 

bool acdk::make::CommandLineCompilerTool::_configured [private]
 

RDependencyChecker acdk::make::CommandLineCompilerTool::_depChecker
 

RCommandLineOutputParser acdk::make::CommandLineCompilerTool::_outputParser
 

bool acdk::make::CommandLineCompilerTool::_toolFound [private]
 

RProps acdk::make::CommandLineCompilerTool::_toolProps [private]
 

Expects following properties: TOOL_BASENAME: base name of the command line utility.

After the tool is configured the TOOL_FQNAME is set. TOOL_MASK: Mask, which evaluate the command line.