NVIDIA Holoscan SDK v3.1.0

Class AnnotatedDoubleBufferTransmitter

Base Type

  • public nvidia::gxf::DoubleBufferTransmitter

class AnnotatedDoubleBufferTransmitter : public nvidia::gxf::DoubleBufferTransmitter

AnnotatedDoubleBufferTransmitter class tracks every published message by attaching a MessageLabel that has a timestamp.

Application authors are not expected to use this class directly. It will be automatically configured for output ports specified via Operator::setup when data flow tracking is enabled.

==Parameters==

See DoubleBufferTransmitter for more details.

Public Functions

AnnotatedDoubleBufferTransmitter() = default
gxf_result_t publish_abi(gxf_uid_t uid)

Override the DoubleBufferTransmitter::publish_abi() function. It adds a MessageLabel to the publish GXF Entity and finally calls the base class’ publish_abi() function. It gets the input message labels of every operator and then adds that consolidated message label to the published message.

For root operators, it also updates the number of published messages.

inline holoscan::Operator *op()
inline void op(holoscan::Operator *op)

Set the associated operator for this AnnotatedDoubleBufferTransmitter. It is set at the.

See also

create_input_port() function.

Parameters

op – The operator that this transmitter is attached to.

Previous Class AnnotatedDoubleBufferReceiver
Next Class AppDriver
© Copyright 2022-2025, NVIDIA. Last updated on Apr 7, 2025.