NVIDIA Holoscan SDK v2.4.0
Holoscan v2.4.0

Class UcxReceiver

Base Type

class UcxReceiver : public holoscan::Receiver

UCX-based double buffer receiver class.

The UcxReceiver class is used to receive messages from an operator within another fragment of a distributed application.

Public Functions

template<typename ArgT, typename ...ArgsT, typename = std::enable_if_t<!std::is_base_of_v<::holoscan::Resource, std::decay_t<ArgT>> && (std::is_same_v<::holoscan::Arg, std::decay_t<ArgT>> || std::is_same_v<::holoscan::ArgList, std::decay_t<ArgT>>)>>
inline UcxReceiver(ArgT &&arg, ArgsT&&... args)
UcxReceiver() = default
UcxReceiver(const std::string &name, nvidia::gxf::Receiver *component)
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.

std::string address()

The IPv4 network address used by the receiver.

uint32_t port()

The network port used by the receiver.

nvidia::gxf::UcxReceiver *get() const

Public Members

Parameter<uint64_t> capacity_
Parameter<uint64_t> policy_

Previous Class UcxHoloscanComponentSerializer
Next Class UcxSerializationBuffer
© Copyright 2022-2024, NVIDIA. Last updated on Oct 1, 2024.