Class UcxHoloscanComponentSerializer
Defined in File ucx_holoscan_component_serializer.hpp
Base Type
public holoscan::gxf::GXFResource
(Class GXFResource)
-
class UcxHoloscanComponentSerializer : public holoscan::gxf::GXFResource
UCX-based Holoscan component serializer.
Used by UcxEntitySerializer to serialize and deserialize Holoscan SDK classes holoscan::Message and holoscan::Tensor (via holoscan::gxf::GXFTensor). See the CodecRegistry class for adding serialization codecs for additional holoscan::Message types.
Public Functions
-
template<typename ArgT, typename ...ArgsT, typename = std::enable_if_t<!std::is_base_of_v<Resource, std::decay_t<ArgT>> && (std::is_same_v<Arg, std::decay_t<ArgT>> || std::is_same_v<ArgList, std::decay_t<ArgT>>)>>
inline UcxHoloscanComponentSerializer(ArgT &&arg, ArgsT&&... args)
- UcxHoloscanComponentSerializer() = default
- inline virtual const char *gxf_typename() const override
-
virtual void setup(ComponentSpec &spec) override
Define the resource specification.
- Parameters
spec – The reference to the component specification.
- virtual void initialize() override
Initialize the component.
This method is called only once when the component 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<Resource, std::decay_t<ArgT>> && (std::is_same_v<Arg, std::decay_t<ArgT>> || std::is_same_v<ArgList, std::decay_t<ArgT>>)>>