holoscan::AnnotatedDoubleBufferTransmitter

Beta
View as Markdown

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.

#include <holoscan/annotated_double_buffer_transmitter.hpp>

Inherits from: nvidia::gxf::DoubleBufferTransmitter (public)


Constructors

AnnotatedDoubleBufferTransmitter


Methods

publish_abi

gxf_result_t holoscan::AnnotatedDoubleBufferTransmitter::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.

op

holoscan::Operator * holoscan::AnnotatedDoubleBufferTransmitter::op()

Member variables

NameTypeDescription
op_holoscan::Operator *The operator that this transmitter is attached to.