holoscan::HoloscanUcxReceiver

Beta
View as Markdown

HoloscanUcxReceiver class optionally tracks every received message with a MessageLabel timestamp if data flow tracking is enabled.

Application authors are not expected to use this class directly. It will be automatically configured for input ports specified via Operator::setup when Application::add_flow has been used to make a connection across fragments of a distributed application and data flow tracking has been enabled.

==Parameters==

See UcxReceiver for parameter descriptions.

#include <holoscan/holoscan_ucx_receiver.hpp>

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


Constructors

HoloscanUcxReceiver


Methods

receive_abi

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

This function overrides the UcxReceiver::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::HoloscanUcxReceiver::op()

track

void holoscan::HoloscanUcxReceiver::track()

Member variables

NameTypeDescription
op_holoscan::Operator *The operator that this receiver is attached to.
tracking_boolUsed to decide whether to use data flow tracking or not.