NVIDIA Holoscan SDK v2.4.0
Holoscan v2.4.0

Class PingRxOp

Base Type

class PingRxOp : public holoscan::Operator

Simple receiver operator.

This is an example of a native operator with one input port. On each tick, it receives an integer from the “in” port.

==Named Inputs==

  • in : any

    • A received value.

Public Functions

HOLOSCAN_OPERATOR_FORWARD_ARGS (PingRxOp) PingRxOp()=default
virtual void setup(OperatorSpec &spec) override

Define the operator specification.

Parameters

spec – The reference to the operator specification.

virtual void compute(InputContext &op_input, OutputContext&, ExecutionContext&) override

Implement the compute method.

This method is called by the runtime multiple times. The runtime calls this method until the operator is stopped.

Parameters
  • op_input – The input context of the operator.

  • op_output – The output context of the operator.

  • context – The execution context of the operator.

Previous Class InferenceProcessorOp
Next Class PingTensorRxOp
© Copyright 2022-2024, NVIDIA. Last updated on Oct 1, 2024.