A type-erased container for any copyable value.
Definition peak_common_any.hpp:31
Interface defining the structure and behavior of a processing pipeline.
Definition peak_common_ipipeline.hpp:49
virtual PEAK_COMMON_NO_DISCARD const char * GetType() const =0
Returns the type identifier of the pipeline.
virtual void ResetToDefault()=0
Resets the pipeline and its modules to their default state.
virtual PEAK_COMMON_NO_DISCARD peak::common::Any Process(const peak::common::Any &input) const =0
Processes the input through all pipeline modules and returns the result.
virtual void ImportSettingsFromFile(const std::string &filePath)=0
Loads the settings of the pipeline and its modules from a file.
virtual ~IPipeline()=default
virtual PEAK_COMMON_NO_DISCARD std::string ExportSettingsToString() const =0
Returns the current settings of the pipeline and its modules as a string.
virtual PEAK_COMMON_NO_DISCARD std::vector< std::shared_ptr< modules::IModule > > GetModules() const =0
Retrieves the list of all modules in the pipeline, in execution order.
virtual void ExportSettingsToFile(const std::string &filePath) const =0
Saves the current settings of the pipeline and its modules to a file.
virtual void ImportSettingsFromString(const std::string &settings)=0
Loads settings for the pipeline and its modules from a string.
virtual peak::common::Any operator<<(const peak::common::Any &input)=0
Convenience operator for processing input using the pipeline.
Interfaces and implementations for defining and controlling data processing pipelines.
Definition peak_common_iautofeature_module.hpp:16
#define PEAK_COMMON_NO_DISCARD
Definition peak_common_defines.h:89