Graph port descriptor. More...
#include <mna_port.h>
Public Member Functions | |
| QJsonObject | toJson () const |
| QCborMap | toCbor () const |
Static Public Member Functions | |
| static MnaPort | fromJson (const QJsonObject &json) |
| static MnaPort | fromCbor (const QCborMap &cbor) |
Public Attributes | |
| QString | name |
| Port name (unique within a node). | |
| MnaDataKind | dataKind = MnaDataKind::Custom |
| Data kind flowing through this port. | |
| MnaPortDir | direction = MnaPortDir::Input |
| Input or Output. | |
| QString | sourceNodeId |
| Which node produces this input? (empty → graph-level input). | |
| QString | sourcePortName |
| Which output port on that node? | |
| QString | streamProtocol |
| "fiff-rt", "lsl", "ftbuffer", "shm", "" = internal signal/slot | |
| QString | streamEndpoint |
| Protocol-specific address (e.g. "localhost:4218" for fiff-rt). | |
| int | streamBufferMs = 0 |
| Ring-buffer length in ms (0 = unbounded). | |
| QString | cachedResultPath |
| Relative path to cached result. | |
| QString | cachedResultHash |
| SHA-256 for invalidation. | |
| QJsonObject | extras |
| Unknown keys preserved for lossless round-trip. | |
Graph port descriptor.
Typed input/output slot on a graph node.
Definition at line 67 of file mna_port.h.
|
static |
Definition at line 202 of file mna_port.cpp.
|
static |
Definition at line 145 of file mna_port.cpp.
| QCborMap MnaPort::toCbor | ( | ) | const |
Definition at line 176 of file mna_port.cpp.
| QJsonObject MnaPort::toJson | ( | ) | const |
Definition at line 117 of file mna_port.cpp.
| QString MNALIB::MnaPort::cachedResultHash |
SHA-256 for invalidation.
Definition at line 92 of file mna_port.h.
| QString MNALIB::MnaPort::cachedResultPath |
Relative path to cached result.
Definition at line 91 of file mna_port.h.
| MnaDataKind MNALIB::MnaPort::dataKind = MnaDataKind::Custom |
Data kind flowing through this port.
Definition at line 70 of file mna_port.h.
| MnaPortDir MNALIB::MnaPort::direction = MnaPortDir::Input |
Input or Output.
Definition at line 71 of file mna_port.h.
| QJsonObject MNALIB::MnaPort::extras |
Unknown keys preserved for lossless round-trip.
Definition at line 93 of file mna_port.h.
| QString MNALIB::MnaPort::name |
Port name (unique within a node).
Definition at line 69 of file mna_port.h.
| QString MNALIB::MnaPort::sourceNodeId |
Which node produces this input? (empty → graph-level input).
Definition at line 74 of file mna_port.h.
| QString MNALIB::MnaPort::sourcePortName |
Which output port on that node?
Definition at line 75 of file mna_port.h.
| int MNALIB::MnaPort::streamBufferMs = 0 |
Ring-buffer length in ms (0 = unbounded).
Definition at line 88 of file mna_port.h.
| QString MNALIB::MnaPort::streamEndpoint |
Protocol-specific address (e.g. "localhost:4218" for fiff-rt).
Definition at line 87 of file mna_port.h.
| QString MNALIB::MnaPort::streamProtocol |
"fiff-rt", "lsl", "ftbuffer", "shm", "" = internal signal/slot
Definition at line 86 of file mna_port.h.