Syntalos::OutputPortInfo
Syntalos::OutputPortInfo
Reference for an output port.
#include <syntaloslink.h>
Public Functions
| Name | |
|---|---|
| OutputPortInfo(const OutputPortInfo & ) =delete | |
| OutputPortInfo & | operator=(const OutputPortInfo & ) =delete |
| std::string | id() const |
| int | dataTypeId() const |
| void | setMetadataValue(const std::string & key, const MetaValue & value) |
| void | setMetadata(const MetaStringMap & metadata) |
| void | setDormant(bool dormant) Mark this port as dormant for the current run. |
| bool | isDormant() const |
Public Functions Documentation
function OutputPortInfo
OutputPortInfo(
const OutputPortInfo &
) =deletefunction operator=
OutputPortInfo & operator=(
const OutputPortInfo &
) =deletefunction id
std::string id() constfunction dataTypeId
int dataTypeId() constfunction setMetadataValue
void setMetadataValue(
const std::string & key,
const MetaValue & value
)function setMetadata
void setMetadata(
const MetaStringMap & metadata
)function setDormant
void setDormant(
bool dormant
)Mark this port as dormant for the current run.
A dormant port does not emit any data, and modules connected to it see their input as dormant too. This must be done in the prepare callback, every port is active again at the start of the next prepare step. Like metadata, the change is sent to Syntalos with SyntalosLink::updateOutputPort(), or at the latest when the prepare callback returns.
Data submitted to a dormant port is dropped.
function isDormant
bool isDormant() constUpdated on 2026-11-30 at 23:52:31 +0000