Class UcxSerializationBuffer

Holoscan 1.0.3

Base Type

class UcxSerializationBuffer : public holoscan::SerializationBuffer

Memory buffer used by UcxComponentSerializer and UcxHoloscanComponentSerializer.

All non-tensor entities get serialized to this buffer, which will be transmitted in an active message header by UcxTransmitter.

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 UcxSerializationBuffer(ArgT &&arg, ArgsT&&... args)

UcxSerializationBuffer() = default

UcxSerializationBuffer(const std::string &name, nvidia::gxf::SerializationBuffer *component)

inline virtual const char *gxf_typename() const override

virtual void setup(ComponentSpec &spec) override

Define the resource specification.


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.

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