/vesta/vestasys.org/vesta/eval/98/src/PrimRunTool.H File Reference

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

Include dependency graph for PrimRunTool.H:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  RunToolArgs
struct  nodeinfo

Typedefs

typedef nodeinfoNodeInfo

Functions

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

Variables

BindingVCdefault_dep_control


Typedef Documentation

typedef nodeinfo* NodeInfo

Definition at line 68 of file PrimRunTool.H.


Function Documentation

VestaSource* CreateDerived (  ) 

Definition at line 783 of file PrimRunTool.C.

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

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

Here is the call graph for this function:

Here is the caller graph for this function:

void CreateRootForDeriveds (  ) 

Definition at line 765 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().

Here is the call graph for this function:

Here is the caller graph for this function:

void DeleteRootForDeriveds (  ) 

Definition at line 776 of file PrimRunTool.C.

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

Referenced by main().

Here is the call graph for this function:

Here is the caller graph for this function:

void DeleteRootForTool ( VestaSource rootForTool  ) 

Definition at line 759 of file PrimRunTool.C.

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

Referenced by RunToolFromCache().

Here is the call graph for this function:

Here is the caller graph for this function:

void PrimRunToolInit (  ) 

Definition at line 835 of file PrimRunTool.C.

References PrimRunToolInit_inner().

Referenced by StartEval().

Here is the call graph for this function:

Here is the caller graph for this function:

Val RunTool ( const RunToolArgs args,
VestaSource *&  rootForTool 
)

Definition at line 329 of file PrimRunTool.C.

References DepPathTbl::DPS::Add(), AddToNewStuff(), BooleanVC::b, DirInfo::b, BindingVK, BooleanVK, LongId::byte, ValC::cacheit, Text::chars(), DirInfo::child_lookup, OS::cio(), DirInfo::coarseDep, DirInfo::coarseDep_sel, DirInfo::coarseNames, DirInfo::coarseNames_sel, RunToolArgs::command_line, ConvertEnvVars(), ConvertVals(), coreName, create_tool_directory_server(), CreateDerived(), VDirSurrogate::createVolatileDirectory(), RunToolCalls::Delete(), DirInfos::dep, RunToolArgs::dep_control, OurClosure::dir, OurClosure::dir_path, DirInfos::dirInfoTbl, RunTool::do_it(), RunToolArgs::dot, ValC::dps, RunTool::Tool_result::dumped_core, OS::ThreadIO::end_err(), OS::ThreadIO::end_out(), OS::ThreadIO::end_prompt(), VSStreamBase::error(), Error(), VestaSource::errorCodeString(), RunToolArgs::existing_writable, FdCache::flush(), OurClosure::found_core, RunToolArgs::fp_content, VSStreamBase::get_error(), VestaConfig::get_Text(), GetNewHandle(), getSigMsg(), IntegerVK, IntToText(), DirInfo::isRoot, LongId::length(), chars_seq::length(), TextVC::Length(), VestaSource::list(), RunToolArgs::loc, VestaSource::longid, BindingVC::Lookup(), BindingVC::LookupNoDpnd(), VestaSource::makeFilesImmutable(), SRPC::failure::msg, DirInfo::namesRecorded, NEW, NEW_CONSTR, OurClosure::newstuff, Table< K, V >::Iterator::Next(), OurClosure::nodeList, IntegerVC::num, ok(), VRErrorCode::ok, SourceOrDerived::open(), 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(), VestaSource::shortId(), SourceOrDerived::shortIdToName(), TextVC::Sid(), RunToolArgs::signal_treatment, sigName, RunTool::Tool_result::sigval, OS::ThreadIO::start_err(), OS::ThreadIO::start_out(), OS::ThreadIO::start_prompt(), 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(), DirInfos::thread_label, ThreadLabel(), toolDirServerIntfName, TypePK, valTBinding, LongId::value, valUnbnd, ValC::vKind, volatileDirName(), Warning(), and RunToolArgs::wd_name.

Referenced by RunToolFromCache(), and RunToolServer().

Here is the call graph for this function:

Here is the caller graph for this function:

Text ToolCommandLineAsText ( const RunToolArgs args  ) 

Definition at line 151 of file PrimRunTool.C.

References RunToolArgs::command_line, ListVC::elems, Text::Empty(), ListT< Value >::Null(), and ListT< Value >::Pop().

Referenced by RunToolFromCache().

Here is the call graph for this function:

Here is the caller graph for this function:


Variable Documentation

BindingVC* default_dep_control

Definition at line 91 of file PrimRunTool.C.

Referenced by BindRunToolArgs(), and PrimRunToolInit_inner().


Generated on Fri May 25 00:00:45 2007 for Vesta by  doxygen 1.5.1