35#ifndef MNA_GRAPH_EXECUTOR_H
36#define MNA_GRAPH_EXECUTOR_H
133 const QVariantMap& inputs);
137 int current,
int total)>;
mna library export/import macros.
MnaNode struct declaration — one operation in the computational graph.
MNE Analysis Container Format (mna/mnx).
Graph executor for MNA pipelines.
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)
Graph node representing a processing step.