Syntalos::OutputPortInfo

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::stringid() const
intdataTypeId() const
voidsetMetadataValue(const std::string & key, const MetaValue & value)
voidsetMetadata(const MetaStringMap & metadata)
voidsetDormant(bool dormant)
Mark this port as dormant for the current run.
boolisDormant() const

Public Functions Documentation

function OutputPortInfo

OutputPortInfo(
    const OutputPortInfo & 
) =delete

function operator=

OutputPortInfo & operator=(
    const OutputPortInfo & 
) =delete

function id

std::string id() const

function dataTypeId

int dataTypeId() const

function 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() const

Updated on 2026-11-30 at 23:52:31 +0000