40template <ServiceType T>
104 explicit
Node(iox2_node_h handle);
109 iox2_node_h m_handle =
nullptr;
118#ifdef DOXYGEN_MACRO_FIX
126#ifdef DOXYGEN_MACRO_FIX
134#ifdef DOXYGEN_MACRO_FIX
150 template <ServiceType T>
154 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(const NodeBuilder &)=delete
auto create() const &&-> bb::Expected< Node< T >, NodeCreationFailure >
Creates a new [Node] for a specified [ServiceType].
auto name(const NodeName value) -> decltype(auto)
auto config(const Config value) -> decltype(auto)
NodeBuilder(NodeBuilder &&)=default
auto operator=(NodeBuilder &&) -> NodeBuilder &=default
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.
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].
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).