fast::Pipeline class

Base classes

class Object
Base class for all FAST objects.

Constructors, destructors, conversion operators

Pipeline(std::string filename, std::map<std::string, std::string> variables = {{}})

Public functions

auto getViews() -> std::vector<View*>
auto getRenderers() -> std::vector<std::shared_ptr<Renderer>>
auto getProcessObjects() -> std::map<std::string, std::shared_ptr<ProcessObject>>
auto getProcessObject(std::string name) -> std::shared_ptr<ProcessObject>
auto getName() const -> std::string
auto getDescription() const -> std::string
auto getFilename() const -> std::string
auto getPipelineAttribute(std::string name) const -> std::string
Get pipeline attribute.
void parse(std::map<std::string, std::shared_ptr<DataObject>> inputData = {}, std::map<std::string, std::shared_ptr<ProcessObject>> processObjects = {}, bool visualization = true)
Parse the pipeline file.
auto getRequiredPipelineInputData() const -> std::map<std::string, std::string>
auto getAllPipelineOutputData(std::function<void(float)> progressFunction = nullptr) -> std::map<std::string, DataObject::pointer>
auto getPipelineOutputData(std::string name, std::function<void(float)> progressFunction = nullptr) -> DataObject::pointer

Function documentation

std::string fast::Pipeline::getPipelineAttribute(std::string name) const

Get pipeline attribute.

Returns attribute value

void fast::Pipeline::parse(std::map<std::string, std::shared_ptr<DataObject>> inputData = {}, std::map<std::string, std::shared_ptr<ProcessObject>> processObjects = {}, bool visualization = true)

Parse the pipeline file.

Parameters
inputData Input data objects
processObjects Process objects to connect to this pipeline
visualization If false parse will ignore any renderers and views