|
MayaFlux 0.1.0
Digital-First Multimedia Processing Framework
|
|
inline |
Helper to add concrete operation rules with automatic executor generation.
| ConcreteOpType | The concrete operation type to instantiate |
| OpArgs | Constructor argument types for the operation |
| rule_name | Unique name for this rule |
| context | Computation context for the rule |
| matcher | Matcher function to determine when rule applies |
| op_parameters | Parameters to configure the operation instance |
| priority | Execution priority (default: 50) |
| op_args | Constructor arguments for the operation |
Creates a rule that automatically instantiates and configures a concrete operation type when matched. This is the preferred way to integrate existing operations into the grammar system, as it handles type safety and parameter application automatically.
The generated executor:
Example:
Definition at line 256 of file ComputeGrammar.hpp.