|
nros C++ API
Lightweight ROS 2 client for embedded real-time systems (C++ headers)
|
One slice's handle; Tag only keeps the five spellings distinct types. More...
#include <node.hpp>
Public Types | |
| using | SharedPtr = NodeInterfaceHandle |
| Upstream's Node*InterfaceSharedPtr — the handle itself (no allocator). | |
Public Member Functions | |
| Context | get_context () const |
| Node * | node () const |
| The node this handle names (null for a default-constructed one). | |
| NodeInterfaceHandle () | |
| NodeInterfaceHandle (Node *node) | |
| operator bool () const | |
| const NodeInterfaceHandle * | operator-> () const |
One slice's handle; Tag only keeps the five spellings distinct types.
| using rclcpp::node_interfaces::NodeInterfaceHandle< Tag >::SharedPtr = NodeInterfaceHandle |
Upstream's Node*InterfaceSharedPtr — the handle itself (no allocator).
|
inline |
|
inlineexplicit |
|
inline |
NodeBaseInterface::get_context() (phase-488; Nav2's lifecycle node registers its pre-shutdown hook through it): the context of the executor the node was created on. Defined in rclcpp.hpp.
|
inline |
The node this handle names (null for a default-constructed one).
|
inlineexplicit |
|
inline |
-> reaches the handle itself, so get_node_base_interface()->... spells as upstream's does (phase-488).