31#ifndef MNA_GRAPH_EXECUTOR_H
32#define MNA_GRAPH_EXECUTOR_H
129 const QVariantMap& inputs);
133 int current,
int total)>;
One operation in an MNA graph — opType, typed I/O ports, attributes, execution mode (Batch / Stream /...
Export/import macros, build-info accessors, and MNALIB namespace anchor for the MNE Analysis Containe...
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)
static QVariantMap executeNode(const MnaNode &node, const QVariantMap &inputs)
std::function< QObject *(const QString &opType)> PluginFactory
static void stopStream(StreamContext &ctx)
static Context execute(MnaGraph &graph, const QVariantMap &graphInputs)
std::function< void(const QString &nodeId, int current, int total)> ProgressCallback
Progress callback type.
QMap< QString, QVariant > results
nodeId::portName → data (QVariant wrapping domain objects or file paths)
QVariantMap graphInputs
Graph-level inputs (populated before execution).
QStringList executionOrder
Topological order used for startup/shutdown.
bool running
Whether the stream is active.
MnaGraph * graph
The pipeline graph (owned externally).
QMap< QString, QObject * > livePlugins
nodeId → live plugin instance (QObject* avoids scan dependency)
Single executable step in an MNA pipeline graph, with attributes, typed ports, exec mode,...