Template Class Sink

Class Documentation

template<typename ImplSpec>
class uit::Sink

Creates an uncoupled Inlet.

Potentially useful for inter-process transmission, where a conceptually- coupled Inlet and Outlet must be constructed within separate memory spaces.

Template Parameters
  • ImplSpec: class with static and typedef members specifying implementation details for the conduit framework. See include/config/ImplSpec.hpp.

Public Types

using inlet_t = inlet_wrapper_t<uit::Inlet<ImplSpec>>

Public Functions

Sink(Sink &other) = default

Copy constructor.

Sink(const Sink &other) = default

Copy constructor.

Sink(Sink &&other) = default

Move constructor.

template<typename ...Args>
Sink(Args&&... args)

Forwarding constructor.

Use std::in_place_type_t<ImplType>{} followed by constructor arguments to initialize the Duct with ImplType active.

template<size_t N>
decltype(auto) get() const

Adaptor for structured bindings as interface to access Sink’s Inlet.

Return

Sink’s Inlet.

Template Parameters
  • N: Index of element to access, 0 for Inlet.

inlet_t &GetInlet()

Accessor for Sink’s Inlet.

Return

Sink’s Inlet.