NVIDIA Holoscan SDK v2.2.0
Holoscan v2.2.0

Class AnnotatedDoubleBufferReceiver

Base Type

  • public nvidia::gxf::DoubleBufferReceiver

class AnnotatedDoubleBufferReceiver : public nvidia::gxf::DoubleBufferReceiver

AnnotatedDoubleBufferReceiver class tracks every received message with a MessageLabel timestamp.

Public Functions

AnnotatedDoubleBufferReceiver() = default
gxf_result_t 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.

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

Sets the associated operator for this AnnotatedDoubleBufferReceiver. It is set at the.

See also

create_input_port() function.

Parameters

op – The operator that this receiver is attached to.

Previous Class Allocator
Next Class AnnotatedDoubleBufferTransmitter
© Copyright 2022-2023, NVIDIA. Last updated on Aug 2, 2024.