Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

PrimRunTool.H File Reference

#include "Val.H"
#include <FP.H>
#include <VestaSource.H>

Go to the source code of this file.

Typedefs

typedef nodeinfoNodeInfo

Functions

Val RunTool (const RunToolArgs &args, VestaSource *&rootForTool)
void DeleteRootForTool (VestaSource *rootForTool)
void CreateRootForDeriveds ()
void DeleteRootForDeriveds ()
ShortId CreateDerived ()
void PrimRunToolInit ()
Text ToolCommandLineAsText (const RunToolArgs &args)


Typedef Documentation

typedef nodeinfo* NodeInfo
 

Definition at line 72 of file PrimRunTool.H.


Function Documentation

ShortId CreateDerived  ) 
 

Definition at line 753 of file PrimRunTool.C.

References Error(), VestaSource::insertMutableFile(), Basics::mutex::lock(), NullShortId, VRErrorCode::ok, outputMu, VestaSource::replaceDiff, rootForDeriveds, VestaSource::shortId(), and Basics::mutex::unlock().

Referenced by RunTool(), TextVC::Sid(), and TextVC::TextC::TextC().

void CreateRootForDeriveds  ) 
 

Definition at line 735 of file PrimRunTool.C.

References Text::chars(), create_tool_directory_server(), VDirSurrogate::createVolatileDirectory(), GetNewHandle(), VRErrorCode::ok, rootForDeriveds, SRPC::this_host(), and toolDirServerIntfName.

Referenced by main().

void DeleteRootForDeriveds  ) 
 

Definition at line 746 of file PrimRunTool.C.

References VDirSurrogate::deleteVolatileDirectory(), VRErrorCode::ok, and rootForDeriveds.

Referenced by main().

void DeleteRootForTool VestaSource rootForTool  ) 
 

Definition at line 729 of file PrimRunTool.C.

References VDirSurrogate::deleteVolatileDirectory(), and VRErrorCode::ok.

Referenced by RunToolFromCache().

void PrimRunToolInit  ) 
 

Definition at line 779 of file PrimRunTool.C.

References DepPath::Extend(), and RunToolHostInit().

Referenced by StartEval().

Val RunTool const RunToolArgs args,
VestaSource *&  rootForTool
 

Definition at line 338 of file PrimRunTool.C.

References DepPathTbl::DPS::Add(), AddToNewStuff(), BooleanVC::b, DirInfo::b, ValC::cacheit, Text::chars(), DirInfo::child_lookup, FS::Close(), DirInfo::coarseDep, RunToolArgs::command_line, ConvertEnvVars(), ConvertVals(), coreName, create_tool_directory_server(), CreateDerived(), VDirSurrogate::createVolatileDirectory(), RunToolCalls::Delete(), DirInfos::dep, OurClosure::dir, OurClosure::dir_path, DirInfos::dirInfoTbl, RunTool::do_it(), RunToolArgs::dot, ValC::dps, RunTool::Tool_result::dumped_core, Error(), VestaSource::errorCodeString(), RunToolArgs::existing_writable, FdCache::flush(), OurClosure::found_core, RunToolArgs::fp_content, VestaConfig::get_Text(), GetNewHandle(), getSigMsg(), IntToText(), DirInfo::isRoot, chars_seq::length(), LongId::length(), TextVC::Length(), VestaSource::list(), RunToolArgs::loc, Basics::mutex::lock(), VestaSource::longid, BindingVC::Lookup(), BindingVC::LookupNoDpnd(), VestaSource::makeFilesImmutable(), SRPC::failure::msg, SourceOrDerived::Fatal::msg, NEW, NEW_CONSTR, OurClosure::newstuff, Table< K, V >::Iterator::Next(), OurClosure::nodeList, NullShortId, IntegerVC::num, ok(), VRErrorCode::ok, SourceOrDerived::open(), outputMu, DirInfo::path, pauseAfterTool, pauseAfterToolError, pauseAfterToolSignal, pauseBeforeTool, RunToolArgs::platform, ProcessDirectory(), ListT< Value >::Push(), RunToolCalls::Put(), Table< K, V >::Default::Put(), SRPC::failure::r, rootName, runToolCalls, RunToolDone(), RunToolHost(), SourceOrDerived::shortIdToName(), TextVC::Sid(), RunToolArgs::signal_treatment, sigName, RunTool::Tool_result::sigval, RunTool::Tool_result::status, RunToolArgs::status_treatment, stdeName, RunToolArgs::stderr_treatment, RunTool::Tool_result::stderr_written, RunToolArgs::stdin_data, stdoName, RunToolArgs::stdout_treatment, RunTool::Tool_result::stdout_written, stewName, stopOnError, stowName, SRPC::this_host(), ThreadLabel(), toolDirServerIntfName, TypePK, Basics::mutex::unlock(), valTBinding, LongId::value, volatileDirName(), and RunToolArgs::wd_name.

Referenced by RunToolFromCache(), and RunToolServer().

Text ToolCommandLineAsText const RunToolArgs args  ) 
 

Definition at line 157 of file PrimRunTool.C.

References Text::Empty(), ListT< Value >::Null(), and ListT< Value >::Pop().

Referenced by RunToolFromCache().


Generated on Mon May 8 00:49:02 2006 for Vesta by  doxygen 1.4.2