Named, typed port on an MNA graph node with upstream link and optional real-time stream binding. 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. | |
Named, typed port on an MNA graph node with upstream link and optional real-time stream binding.
Typed input/output slot on a graph node.
Definition at line 62 of file mna_port.h.
|
static |
Definition at line 190 of file mna_port.cpp.
|
static |
Definition at line 133 of file mna_port.cpp.
| QCborMap MnaPort::toCbor | ( | ) | const |
Definition at line 164 of file mna_port.cpp.
| QJsonObject MnaPort::toJson | ( | ) | const |
Definition at line 105 of file mna_port.cpp.
| QString MNALIB::MnaPort::cachedResultHash |
SHA-256 for invalidation.
Definition at line 87 of file mna_port.h.
| QString MNALIB::MnaPort::cachedResultPath |
Relative path to cached result.
Definition at line 86 of file mna_port.h.
| MnaDataKind MNALIB::MnaPort::dataKind = MnaDataKind::Custom |
Data kind flowing through this port.
Definition at line 65 of file mna_port.h.
| MnaPortDir MNALIB::MnaPort::direction = MnaPortDir::Input |
Input or Output.
Definition at line 66 of file mna_port.h.
| QJsonObject MNALIB::MnaPort::extras |
Unknown keys preserved for lossless round-trip.
Definition at line 88 of file mna_port.h.
| QString MNALIB::MnaPort::name |
Port name (unique within a node).
Definition at line 64 of file mna_port.h.
| QString MNALIB::MnaPort::sourceNodeId |
Which node produces this input? (empty → graph-level input).
Definition at line 69 of file mna_port.h.
| QString MNALIB::MnaPort::sourcePortName |
Which output port on that node?
Definition at line 70 of file mna_port.h.
| int MNALIB::MnaPort::streamBufferMs = 0 |
Ring-buffer length in ms (0 = unbounded).
Definition at line 83 of file mna_port.h.
| QString MNALIB::MnaPort::streamEndpoint |
Protocol-specific address (e.g. "localhost:4218" for fiff-rt).
Definition at line 82 of file mna_port.h.
| QString MNALIB::MnaPort::streamProtocol |
"fiff-rt", "lsl", "ftbuffer", "shm", "" = internal signal/slot
Definition at line 81 of file mna_port.h.