NVIDIA Holoscan SDK v1.0.3
v1.0.3

Class Endpoint

class Endpoint : public holoscan::Resource

GXF serialization endpoint wrapper.

This class holds a pointer to an nvidia::gxf::Endpoint and its methods dispatch to that endpoint.

Public Types

using MemoryStorageType = nvidia::gxf::MemoryStorageType

Public Functions

Endpoint() = default

Endpoint(Endpoint&&) = default

~Endpoint() override = default

inline explicit Endpoint(nvidia::gxf::Endpoint *gxf_endpoint)

inline virtual bool is_write_available()

inline virtual bool is_read_available()

inline virtual expected<size_t, RuntimeError> write(const void *data, size_t size)

inline virtual expected<size_t, RuntimeError> read(void *data, size_t size)

inline virtual expected<void, RuntimeError> write_ptr(const void *pointer, size_t size, MemoryStorageType type)

template<typename T>
inline expected<size_t, RuntimeError> write_trivial_type(const T *object)

template<typename T>
inline expected<size_t, RuntimeError> read_trivial_type(T *object)

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