OpenStudioCore:runmanager/lib
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Pages
Public Member Functions | List of all members
openstudio::runmanager::LocalProcessCreator Class Reference

#include <LocalProcessCreator.hpp>

+ Inheritance diagram for openstudio::runmanager::LocalProcessCreator:

Public Member Functions

virtual std::shared_ptr< ProcesscreateProcess (const openstudio::runmanager::ToolInfo &t_tool, const std::vector< std::pair< openstudio::path, openstudio::path > > &t_requiredFiles, const std::vector< std::string > &t_parameters, const openstudio::path &t_outdir, const std::vector< openstudio::path > &t_expectedOutputFiles, const std::string &t_stdin, const openstudio::path &t_basePath) override
 Creates a local process. More...
 
 LocalProcessCreator ()
 

Detailed Description

Implements ProcessCreator interface to create a process locally.

Inherits from openstudio::runmanager::ProcessCreator

Constructor & Destructor Documentation

openstudio::runmanager::LocalProcessCreator::LocalProcessCreator ( )

Member Function Documentation

virtual std::shared_ptr<Process> openstudio::runmanager::LocalProcessCreator::createProcess ( const openstudio::runmanager::ToolInfo t_tool,
const std::vector< std::pair< openstudio::path, openstudio::path > > &  t_requiredFiles,
const std::vector< std::string > &  t_parameters,
const openstudio::path &  t_outdir,
const std::vector< openstudio::path > &  t_expectedOutputFiles,
const std::string &  t_stdin,
const openstudio::path &  t_basePath 
)
overridevirtual

Creates a local process.

Parameters
[in]t_toolThe tool to execute locally
[in]t_requiredFilesThe vector of files needed to execute the tool
[in]t_parametersThe vector of parameters to pass to tool during execution
[in]t_outdirDirectory to watch for output files to be created
[in]t_expectedOutputFilesOutput files in various directories to explicitly watch
[in]t_stdinInput to send to the process over stdin after it has started
[in]t_basePathBase path from which required files should be evaluated if the required file is a relative path and does not reside in the tool path
Returns
the created Process

Implements openstudio::runmanager::ProcessCreator.