|
iceoryx2
C++ Language Bindings
|
Describes the state of a [Node].
More...
#include <node_state.hpp>
Public Member Functions | |
| NodeState (const NodeState &)=default | |
| NodeState (NodeState &&)=default | |
| auto | operator= (const NodeState &) -> NodeState &=default |
| auto | operator= (NodeState &&) -> NodeState &=default |
| ~NodeState ()=default | |
| auto | alive (const iox2::bb::StaticFunction< void(AliveNodeView< T > &)> &callback) -> NodeState & |
| auto | dead (const iox2::bb::StaticFunction< void(DeadNodeView< T > &)> &callback) -> NodeState & |
| auto | inaccessible (const iox2::bb::StaticFunction< void(UniqueNodeId &)> &callback) -> NodeState & |
| auto | undefined (const iox2::bb::StaticFunction< void(UniqueNodeId &)> &callback) -> NodeState & |
Friends | |
| template<ServiceType > | |
| auto | internal::list_callback (iox2_node_state_e, iox2_unique_node_id_ptr, const char *, iox2_node_name_ptr, iox2_config_ptr, iox2_callback_context) -> iox2_callback_progression_e |
Describes the state of a [Node].
Definition at line 90 of file node_state.hpp.
|
default |
|
default |
|
default |
| auto iox2::NodeState< T >::alive | ( | const iox2::bb::StaticFunction< void(AliveNodeView< T > &)> & | callback | ) | -> NodeState & |
If the [Node] is alive the provided callback is called with an [AliveNodeView] as argument.
| auto iox2::NodeState< T >::dead | ( | const iox2::bb::StaticFunction< void(DeadNodeView< T > &)> & | callback | ) | -> NodeState & |
If the [Node] is dead the provided callback is called with a [DeadNodeView] as argument.
| auto iox2::NodeState< T >::inaccessible | ( | const iox2::bb::StaticFunction< void(UniqueNodeId &)> & | callback | ) | -> NodeState & |
If the [Node] is inaccessible due to a lack of permissions the provided callback is called with a [NodeId] as argument.
|
default |
|
default |
| auto iox2::NodeState< T >::undefined | ( | const iox2::bb::StaticFunction< void(UniqueNodeId &)> & | callback | ) | -> NodeState & |
If the [Node] is files are corrupted or some essential constructs are missing the provided callback is called with a [NodeId] as argument.
|
friend |