95 QJsonObject
toJson()
const;
mna library export/import macros.
MNE Analysis Container Format (mna/mnx).
@ Custom
User-defined data kind.
QString cachedResultHash
SHA-256 for invalidation.
QString name
Port name (unique within a node).
QJsonObject toJson() const
QString sourcePortName
Which output port on that node?
MnaDataKind dataKind
Data kind flowing through this port.
MnaPortDir direction
Input or Output.
QString cachedResultPath
Relative path to cached result.
int streamBufferMs
Ring-buffer length in ms (0 = unbounded).
QString streamEndpoint
Protocol-specific address (e.g. "localhost:4218" for fiff-rt).
QJsonObject extras
Unknown keys preserved for lossless round-trip.
static MnaPort fromJson(const QJsonObject &json)
QString sourceNodeId
Which node produces this input? (empty → graph-level input).
static MnaPort fromCbor(const QCborMap &cbor)
QString streamProtocol
"fiff-rt", "lsl", "ftbuffer", "shm", "" = internal signal/slot