Applies the operation with dependencies resolved.
- Parameters
-
| input | Input data to process |
- Returns
- Processed output data
This method ensures that all dependencies are executed before applying the operation. It is intended for use in scenarios where the operation is part of a larger processing graph.
- Note
- : This method is for usage outside of ComputeMatrix, and will not work recursively. For ComputeMatrix, simply use a chain of operations.
Definition at line 62 of file ComputeOperation.hpp.
63 {
65
67 if (dep->validate_input(input)) {
69 }
70 }
71
74 }
ExecutionContext m_last_execution_context
virtual output_type apply_operation_internal(const input_type &input, const ExecutionContext &context)
Internal execution method - ComputeMatrix can access this.
std::vector< std::shared_ptr< ComputeOperation > > m_dependencies
@ SYNC
Synchronous execution.
@ DEPENDENCY
Part of dependency graph.