Class AnnotatedDoubleBufferReceiver
Defined in File annotated_double_buffer_receiver.hpp
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 alsocreate_input_port() function.
- Parameters
op – The operator that this receiver is attached to.