holoscan::AnnotatedDoubleBufferReceiver

Beta
View as Markdown

AnnotatedDoubleBufferReceiver class tracks every received message with a MessageLabel timestamp.

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

==Parameters==

See DoubleBufferReceiver for more details.

#include <holoscan/annotated_double_buffer_receiver.hpp>

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


Constructors

AnnotatedDoubleBufferReceiver


Methods

receive_abi

gxf_result_t holoscan::AnnotatedDoubleBufferReceiver::receive_abi(
gxf_uid_t *uid
)

This function overrides the DoubleBufferReceiver::receive_abi() function.

It first calls the base class’ receive_abi() function and extracts the MessageLabel from the received message. It then adds a new OperatorTimestampLabel to the MessageLabel and updates the Operator’s input message label.

op

holoscan::Operator * holoscan::AnnotatedDoubleBufferReceiver::op()

Member variables

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