sgns::processing::ProcessingCore¶
Processing core interface. More...
#include <processing_core.hpp>
Inherited by sgns::processing::ProcessingCoreImpl
Public Functions¶
| Name | |
|---|---|
| virtual | ~ProcessingCore() =default |
| virtual outcome::result< SGProcessing::SubTaskResult > | ProcessSubTask(const SGProcessing::SubTask & subTask, uint32_t initialHashCode) =0 |
| virtual float | GetProgress() const |
Detailed Description¶
Processing core interface.
Implementations encapsulate specific processing algorithms for subtasks.
Public Functions Documentation¶
function ~ProcessingCore¶
function ProcessSubTask¶
virtual outcome::result< SGProcessing::SubTaskResult > ProcessSubTask(
const SGProcessing::SubTask & subTask,
uint32_t initialHashCode
) =0
Parameters:
- subTask - Subtask that needs to be processed.
- initialHashCode - Initial hash code used to calculate result hash.
Reimplemented by: sgns::processing::ProcessingCoreImpl::ProcessSubTask
Process a single subtask.
function GetProgress¶
Return: Progress percentage (0.0 to 100.0)
Reimplemented by: sgns::processing::ProcessingCoreImpl::GetProgress
Get current processing progress
Updated on 2026-03-04 at 13:10:43 -0800