6#include <rclcpp/rclcpp.hpp>
31 explicit Node(
const std::string& node_name,
const rclcpp::NodeOptions& options = rclcpp::NodeOptions()) : node_(std::make_shared<rclcpp::
Node>(node_name, options)) {
39 explicit Node(
const std::string& node_name,
const std::string& namespace_,
const rclcpp::NodeOptions& options = rclcpp::NodeOptions())
40 : node_(std::make_shared<rclcpp::
Node>(node_name, namespace_, options)) {
45 Node& operator=(
const Node&) =
delete;
58 [[nodiscard]]
const rclcpp::Node&
this_node() const noexcept {
75 return node_->get_node_base_interface();
79 rclcpp::Node::SharedPtr node_;
Wrapper class around rclcpp::Node providing interface required for components.
Definition node.h:23
rclcpp::Node::SharedPtr this_node_ptr() const noexcept
Get shared pointer to the underlying rclcpp::Node.
Definition node.h:64
Node(const std::string &node_name, const rclcpp::NodeOptions &options=rclcpp::NodeOptions())
Constructs the underlying node with the given parameters.
Definition node.h:31
const rclcpp::Node & this_node() const noexcept
Get reference to the underlying rclcpp::Node.
Definition node.h:58
rclcpp::node_interfaces::NodeBaseInterface::SharedPtr get_node_base_interface()
Definition node.h:74
rclcpp::Node & this_node() noexcept
Get reference to the underlying rclcpp::Node.
Definition node.h:52
Node(const std::string &node_name, const std::string &namespace_, const rclcpp::NodeOptions &options=rclcpp::NodeOptions())
Constructs the underlying node with the given parameters.
Definition node.h:39
All mrs_lib functions, classes, variables and definitions are contained in this namespace.
Definition attitude_converter.h:24