13#ifndef IOX2_NODE_STATE_HPP
14#define IOX2_NODE_STATE_HPP
115 template <ServiceType>
117 iox2_unique_node_id_ptr,
121 iox2_callback_context) -> iox2_callback_progression_e;
Contains all details of a [Node] that is alive.
AliveNodeView(AliveNodeView &&)=default
auto id() const -> const UniqueNodeId &
Returns the [NodeId].
AliveNodeView(UniqueNodeId node_id, const bb::Optional< NodeDetails > &details)
AliveNodeView(const AliveNodeView &)=default
auto operator=(AliveNodeView &&) -> AliveNodeView &=default
auto details() const -> const bb::Optional< NodeDetails > &
auto operator=(const AliveNodeView &) -> AliveNodeView &=default
Contains all details of a [Node] that is dead.
DeadNodeView(const AliveNodeView< T > &view)
auto operator=(const DeadNodeView &) -> DeadNodeView &=default
DeadNodeView(DeadNodeView &&)=default
auto id() const -> const UniqueNodeId &
Returns the [NodeId].
DeadNodeView(const DeadNodeView &)=default
auto operator=(DeadNodeView &&) -> DeadNodeView &=default
Contains details of a [Node].
Describes the state of a [Node].
auto operator=(const NodeState &) -> NodeState &=default
auto inaccessible(const iox2::bb::StaticFunction< void(UniqueNodeId &)> &callback) -> NodeState &
auto undefined(const iox2::bb::StaticFunction< void(UniqueNodeId &)> &callback) -> NodeState &
auto alive(const iox2::bb::StaticFunction< void(AliveNodeView< T > &)> &callback) -> NodeState &
auto operator=(NodeState &&) -> NodeState &=default
NodeState(const NodeState &)=default
NodeState(NodeState &&)=default
auto dead(const iox2::bb::StaticFunction< void(DeadNodeView< T > &)> &callback) -> NodeState &
The system-wide unique id of a [Node].
Variant implementation from the C++17 standard with C++11. The interface is inspired by the C++17 sta...
iox2::bb::variation::Optional< T > Optional
auto list_callback(iox2_node_state_e node_state, iox2_unique_node_id_ptr node_id_ptr, const char *executable, iox2_node_name_ptr node_name, iox2_config_ptr config, iox2_callback_context context) -> iox2_callback_progression_e