Scine::Readuct  6.0.0
This is the SCINE module ReaDuct.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Pages
Scine::Readuct::TaskFactory Class Reference

A factory generating Tasks by name (mainly). More...

#include <TaskFactory.h>

Collaboration diagram for Scine::Readuct::TaskFactory:
Collaboration graph

Public Member Functions

 TaskFactory ()=delete
 Has only static functions.
 

Static Public Member Functions

static std::unique_ptr< Taskproduce (std::string name, const std::vector< std::string > &input, const std::vector< std::string > &output, std::shared_ptr< Core::Log > logger=nullptr)
 Contstructs a Task with a given set of input and output systems. More...
 

Detailed Description

A factory generating Tasks by name (mainly).

Member Function Documentation

static std::unique_ptr<Task> Scine::Readuct::TaskFactory::produce ( std::string  name,
const std::vector< std::string > &  input,
const std::vector< std::string > &  output,
std::shared_ptr< Core::Log logger = nullptr 
)
inlinestatic

Contstructs a Task with a given set of input and output systems.

Parameters
nameThe name of the requested task.
inputThe input system names for the task.
outputThe output system names for the task.
loggerThe logger to/through which all text output will be handled.
Returns
std::unique_ptr<Task> The requested task.

The documentation for this class was generated from the following file: