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

#include <ProcessCreator.hpp>

+ Inheritance diagram for openstudio::runmanager::ProcessCreator:

Public Member Functions

virtual std::shared_ptr< ProcesscreateProcess (const ToolInfo &t_tooltoexecute, 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)=0
 

Detailed Description

Interface for Creating processes.

Originally abstracted such that the Job did not need to care if the processes were running locally or remotely

Member Function Documentation

virtual std::shared_ptr<Process> openstudio::runmanager::ProcessCreator::createProcess ( const ToolInfo t_tooltoexecute,
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 
)
pure virtual
Parameters
[in]t_tooltoexecuteThe 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

Implemented in openstudio::runmanager::LocalProcessCreator.