Define HOLOSCAN_OPERATOR_FORWARD_ARGS
Defined in File operator.hpp
-
HOLOSCAN_OPERATOR_FORWARD_ARGS(class_name)
Forward the arguments to the super class.
This macro is used to forward the arguments of the constructor to the base class. It is used in the constructor of the operator class.
Use this macro if the base class is a
holoscan::Operator
.Example:
class GXFOperator : public holoscan::Operator { public: HOLOSCAN_OPERATOR_FORWARD_ARGS(GXFOperator) GXFOperator() = default; void initialize() override; virtual const char* gxf_typename() const = 0; };
- Parameters:
class_name – The name of the class.