Class PingTxOp

Holoscan 1.0.3
class PingTxOp : public holoscan::Operator

Simple transmitter operator.

Named outputs:

  • out: int

    • An index value that increments by one on each call to compute. The starting value is 1.

Public Functions


virtual void setup(OperatorSpec &spec) override

Define the operator specification.


spec – The reference to the operator specification.

virtual void compute(InputContext&, OutputContext &op_output, 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.

  • op_input – The input context of the operator.

  • op_output – The output context of the operator.

  • context – The execution context of the operator.

inline int index() const

Previous Class PingRxOp
Next Class SegmentationPostprocessorOp
© Copyright 2022-2023, NVIDIA. Last updated on Apr 19, 2024.