Class Scine::Readuct::TaskFactory

class TaskFactory

A factory generating Tasks by name (mainly).

Public Functions

TaskFactory()

Has only static functions.

Public Static Functions

static std::unique_ptr<Task> produce(std::string name, const std::vector<std::string> &input, const std::vector<std::string> &output)

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

Return

std::unique_ptr<Task> The requested task.

Parameters
  • name: The name of the requested task.

  • input: The input system names for the task.

  • output: The ouput system names for the task.