41template <ServiceType T>
108 explicit
Node(iox2_node_h handle);
113 iox2_node_h m_handle =
nullptr;
122#ifdef DOXYGEN_MACRO_FIX
130#ifdef DOXYGEN_MACRO_FIX
138#ifdef DOXYGEN_MACRO_FIX
154 template <ServiceType T>
160 iox2_node_builder_h m_handle =
nullptr;
#define IOX2_BUILDER_OPTIONAL(type, name)
Non-owning view of a [Config].
auto operator=(const NodeBuilder &) -> NodeBuilder &=delete
NodeBuilder(NodeBuilder &&rhs) noexcept
NodeBuilder(const NodeBuilder &)=delete
auto name(const NodeName value) -> decltype(auto)
auto config(const Config value) -> decltype(auto)
auto create() &&-> bb::Expected< Node< T >, NodeCreationFailure >
Creates a new [Node] for a specified [ServiceType].
auto operator=(NodeBuilder &&rhs) noexcept -> NodeBuilder &
auto signal_handling_mode(const SignalHandlingMode value) -> decltype(auto)
Non-owning view of a [NodeName].
Represent the name for a [Node].
Describes the state of a [Node].
auto blocking_cleanup_dead_nodes(iox2::bb::Duration timeout) -> CleanupState
auto force_remove_service(const iox2::ServiceName &name, iox2::MessagingPattern messaging_pattern) const -> iox2::bb::Expected< bool, ServiceRemoveError >
auto config() const -> ConfigView
Returns the [Config] that the [Node] will use to create any iceoryx2 entity.
auto service_builder(const ServiceName &name) const -> ServiceBuilder< T >
auto signal_handling_mode() const -> SignalHandlingMode
Returns the [SignalHandlingMode] with which the [Node] was created.
auto waitset_builder() const -> WaitSetBuilder< T >
Returns the [WaitSetBuilder] to create a new [WaitSet].
static auto list(ConfigView config, const iox2::bb::StaticFunction< CallbackProgression(NodeState< T >)> &callback) -> bb::Expected< void, NodeListFailure >
auto wait(iox2::bb::Duration cycle_time) const -> bb::Expected< void, NodeWaitFailure >
Waits for a given cycle_time.
auto name() const -> NodeNameView
Returns the name of the node inside a [NodeNameView].
auto try_cleanup_dead_nodes() -> CleanupState
Builder to create or open [Service]s.
The system-wide unique id of a [Node].
The builder for the [WaitSet].
iox2::bb::variation::Expected< T, E > Expected
NodeCreationFailure
All failures that can occur in [NodeBuilder::create()].
NodeListFailure
All failures that can occur in [Node::list()].
NodeWaitFailure
Defines all possible errors that can occur during [Node::wait()].
ServiceRemoveError
Error that can be reported when removing a [Node](crate::node::Node).