31#ifndef MNA_GRAPH_EXECUTOR_H
32#define MNA_GRAPH_EXECUTOR_H
136 const QVariantMap& inputs);
140 int current,
int total)>;
154 using PluginFactory = std::function<std::unique_ptr<QObject>(
const QString& opType)>;
185 static void applyParamTree(
MnaGraph& graph);
194 static QList<MnaVerificationResult> runChecks(
const MnaGraph& graph,
const MnaNode& node,
const QString& phase,
const QVariantMap& scope);
Export/import macros, build-info accessors, and MNALIB namespace anchor for the MNE Analysis Containe...
One operation in an MNA graph — opType, typed I/O ports, attributes, execution mode (Batch / Stream /...
MNE Analysis Container Format (mna/mnx).
In-memory DAG of MnaNode operations with validation, topological sort and JSON/CBOR persistence.
Stateless batch and stream-mode runner for an MnaGraph.
static void setProgressCallback(ProgressCallback cb)
static Context executeIncremental(MnaGraph &graph, Context &existing)
static StreamContext startStream(MnaGraph &graph, PluginFactory factory)
std::function< std::unique_ptr< QObject >(const QString &opType)> PluginFactory
static QVariantMap executeNode(const MnaNode &node, const QVariantMap &inputs)
std::function< void(const QString &nodeId, int current, int total)> ProgressCallback
Progress callback type.
static void stopStream(StreamContext &ctx)
static Context execute(MnaGraph &graph, const QVariantMap &graphInputs)
QMap< QString, QVariant > results
nodeId::portName → data (QVariant wrapping domain objects or file paths)
QVariantMap graphInputs
Graph-level inputs (populated before execution).
QString abortedNode
Node whose failed "error" check stopped the run (empty if it ran to the end).
QStringList executionOrder
Topological order used for startup/shutdown.
std::map< QString, std::unique_ptr< QObject > > livePlugins
nodeId → owned live plugin (QObject avoids a scan dependency)
bool running
Whether the stream is active.
MnaGraph * graph
The pipeline graph (owned externally).
Single executable step in an MNA pipeline graph, with attributes, typed ports, exec mode,...