Class VideoStreamRecorderOp
Defined in File video_stream_recorder.hpp
Base Type
public holoscan::ops::GXFOperator
(Class GXFOperator)
-
class VideoStreamRecorderOp : public holoscan::ops::GXFOperator
Operator class to record the video stream to a file.
This wraps a GXF Codelet(
nvidia::gxf::EntityRecorder
).Public Functions
-
template<typename ArgT, typename ...ArgsT, typename = std::enable_if_t<!std::is_base_of_v<Operator, std::decay_t<ArgT>> && (std::is_same_v<Arg, std::decay_t<ArgT>> || std::is_same_v<ArgList, std::decay_t<ArgT>> || std::is_base_of_v<holoscan::Condition, typename holoscan::type_info<ArgT>::element_type> || std::is_base_of_v<holoscan::Resource, typename holoscan::type_info<ArgT>::element_type>)>>
inline VideoStreamRecorderOp(ArgT &&arg, ArgsT&&... args)
- VideoStreamRecorderOp() = default
- inline virtual const char *gxf_typename() const override
-
virtual void setup(OperatorSpec &spec) override
Define the operator specification.
- Parameters:
spec – The reference to the operator specification.
- virtual void initialize() override
Initialize the component.
This method is called only once when the codelet is created for the first time, and use of light-weight initialization.
-
template<typename ArgT, typename ...ArgsT, typename = std::enable_if_t<!std::is_base_of_v<Operator, std::decay_t<ArgT>> && (std::is_same_v<Arg, std::decay_t<ArgT>> || std::is_same_v<ArgList, std::decay_t<ArgT>> || std::is_base_of_v<holoscan::Condition, typename holoscan::type_info<ArgT>::element_type> || std::is_base_of_v<holoscan::Resource, typename holoscan::type_info<ArgT>::element_type>)>>