|
HOPS
HOPS class reference
|
No-embed (subprocess) evaluator for Python control files. Exposes the SAME functor signature MHO_FringePass expects as the embedded MHO_PyControlEvaluator::Evaluate, but runs the user's control script in a separate python3 process (no libpython linked) via python -m hops_control <request.json>.
More...
#include <MHO_SubprocessPyControlEvaluator.hh>
Static Public Member Functions | |
| static bool | Evaluate (MHO_ParameterStore *paramStore, const mho_json &control_format, mho_json &control_statements) |
| Evaluate a Python control script in a subprocess and populate control_statements. More... | |
No-embed (subprocess) evaluator for Python control files. Exposes the SAME functor signature MHO_FringePass expects as the embedded MHO_PyControlEvaluator::Evaluate, but runs the user's control script in a separate python3 process (no libpython linked) via python -m hops_control <request.json>.
The pass-info construction and the condition-filter / set-string post-processing are the SAME pybind-free logic the embedded path uses (MHO_ControlEvaluatorSupport), so the two backends produce identical control_statements for a given control file + pass.
|
static |
Evaluate a Python control script in a subprocess and populate control_statements.
| paramStore | current pass parameter store (provides the control-file path and pass metadata). |
| control_format | canonical control-format dict. |
| control_statements | output: applicable statements. |