![]() |
IDS peak ICV v1.1.0
|
#include <peak_common/pipeline/peak_common_ipipeline.hpp>

Public Member Functions | |
| virtual | ~IPipeline ()=default |
| virtual void | ExportSettingsToFile (const std::string &filePath) const =0 |
| Saves the current settings of the pipeline and its modules to a file. | |
| virtual void | ImportSettingsFromFile (const std::string &filePath)=0 |
| Loads the settings of the pipeline and its modules from a file. | |
| virtual std::string | ExportSettingsToString () const =0 |
| Returns the current settings of the pipeline and its modules as a string. | |
| virtual void | ImportSettingsFromString (const std::string &settings)=0 |
| Loads settings for the pipeline and its modules from a string. | |
| virtual void | ResetToDefault ()=0 |
| Resets the pipeline and its modules to their default state. | |
| virtual peak::common::Any | Process (const peak::common::Any &input) const =0 |
| Processes the input through all pipeline modules and returns the result. | |
| virtual peak::common::Any | operator<< (const peak::common::Any &input)=0 |
| Convenience operator for processing input using the pipeline. | |
| virtual const char * | GetType () const =0 |
| Returns the type identifier of the pipeline. | |
Interface defining the structure and behavior of a processing pipeline.
A pipeline is composed of multiple modules chained together in a defined order. When an input is processed, each module's Process function is called sequentially, and the final result is returned.
Definition at line 53 of file peak_common_ipipeline.hpp.
|
virtualdefault |
|
pure virtual |
Saves the current settings of the pipeline and its modules to a file.
| filePath | Path to the file where the settings should be saved. |
Implemented in PipelineBase.
|
pure virtual |
Returns the current settings of the pipeline and its modules as a string.
Implemented in DefaultPipeline.
|
pure virtual |
Returns the type identifier of the pipeline.
This is a unique string used to identify the specific pipeline implementation.
Implemented in DefaultPipeline.
|
pure virtual |
Loads the settings of the pipeline and its modules from a file.
| filePath | Path to the file from which settings should be loaded. |
Implemented in PipelineBase.
|
pure virtual |
Loads settings for the pipeline and its modules from a string.
| settings | String containing serialized pipeline settings. |
Implemented in DefaultPipeline.
|
pure virtual |
Convenience operator for processing input using the pipeline.
Equivalent to calling Process(input).
| input | The input to process. |
Implemented in PipelineBase.
|
pure virtual |
Processes the input through all pipeline modules and returns the result.
The input is passed through each module in sequence.
| input | The input to process. |
Implemented in PipelineBase.
|
pure virtual |
Resets the pipeline and its modules to their default state.
Implemented in DefaultPipeline.