File TaskFactory.hΒΆ

Copyright

This code is licensed under the 3-clause BSD license.

Copyright ETH Zurich, Laboratory for Physical Chemistry, Reiher Group.

See LICENSE.txt for details.

namespace Scine
namespace Readuct
class TaskFactory
#include <TaskFactory.h>

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.