Template Class Source

Class Documentation

template<typename ImplSpec>
class uit::Source

Creates an ucoupled Outlet.

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 outlet_t = outlet_wrapper_t<uit::Outlet<ImplSpec>>

Public Functions

Source(Source &other) = default

Copy constructor.

Source(const Source &other) = default

Copy constructor.

Source(Source &&other) = default

Move constructor.

template<typename ...Args>
Source(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 Source’s Outlet.

Return

Source’s Outlet.

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

outlet_t &GetOutlet()

Accessor for Source’s Outlet.

Return

Source’s Inlet.