
Public Member Functions | |||
| virtual void | ExportSettingsToFile (string filePath) | ||
| Saves the current settings of the pipeline and its modules to a file. | |||
| virtual void | ImportSettingsFromFile (string filePath) | ||
| Loads the settings of the pipeline and its modules from a file. | |||
| virtual object | Process (object input) | ||
| Processes the input through all pipeline modules and returns the result. | |||
| string | ExportSettingsToString () | ||
Returns the current settings of the pipeline and its modules as a string.
| |||
| void | ImportSettingsFromString (string settings) | ||
Loads settings for the pipeline and its modules from a string.
| |||
| void | ResetToDefault () | ||
| Resets the pipeline and its modules to their default state. | |||
Properties | |
| string | TypeId [get] |
| The type identifier of the pipeline.This is a unique string used to identify the specific pipeline implementation. | |
Base class for implementing a custom pipeline.
Provides a partial implementation of the IPipeline interface. Can be used as a foundation for creating custom pipeline behavior.
Definition at line 22 of file PipelineBase.cs.
|
inlinevirtual |
Saves the current settings of the pipeline and its modules to a file.
This base implementation calls ExportSettingsToString and writes the resulting string to the specified filepath.
| filePath | Path to the file where the settings should be saved. |
Implements IPipeline.
Definition at line 36 of file PipelineBase.cs.
|
abstract |
Returns the current settings of the pipeline and its modules as a string.
Implements IPipeline.
|
inlinevirtual |
Loads the settings of the pipeline and its modules from a file.
This base implementation reads the file contents and passes them to ImportSettingsFromString to restore the pipeline state.
| filePath | Path to the file from which settings should be loaded. |
Implements IPipeline.
Definition at line 61 of file PipelineBase.cs.
|
abstract |
Loads settings for the pipeline and its modules from a string.
| settings | String containing serialized pipeline settings. |
Implements IPipeline.
|
inlinevirtual |
Processes the input through all pipeline modules and returns the result.
This base implementation iterates over all modules returned by GetModules, calling each module's Process method in sequence and passing the result along.
| input | The input to process. |
Implements IPipeline.
Reimplemented in DefaultPipeline.
Definition at line 91 of file PipelineBase.cs.
|
abstract |
Resets the pipeline and its modules to their default state.
Implements IPipeline.
|
getabstract |
The type identifier of the pipeline.This is a unique string used to identify the specific pipeline implementation.
Implements IPipeline.
Definition at line 127 of file PipelineBase.cs.