The NodeInstanceWrapper encapsulates the node instance.
More...
#include <node_instance_wrapper.hpp>
The NodeInstanceWrapper encapsulates the node instance.
◆ NodeBaseInterfaceGetter
◆ NodeInstanceWrapper() [1/2]
rclcpp_components::NodeInstanceWrapper::NodeInstanceWrapper |
( |
| ) |
|
|
inline |
◆ NodeInstanceWrapper() [2/2]
◆ get_node_instance()
const std::shared_ptr<void> rclcpp_components::NodeInstanceWrapper::get_node_instance |
( |
| ) |
const |
|
inline |
Get a type-erased pointer to the original Node instance.
This is only for debugging and special cases. For most cases get_node_base_interface
will be sufficient.
- Returns
- Shared pointer to the encapsulated Node instance.
◆ get_node_base_interface()
rclcpp::node_interfaces::NodeBaseInterface::SharedPtr rclcpp_components::NodeInstanceWrapper::get_node_base_interface |
( |
| ) |
|
|
inline |
Get NodeBaseInterface pointer for the encapsulated Node Instance.
- Returns
- Shared NodeBaseInterface pointer of the encapsulated Node instance.
The documentation for this class was generated from the following file: