Add a method to the LifecycleNode class to get the logging interface (#652)
There are getters for the other interfaces, but the logging interface appears to have been overlooked. Signed-off-by: Michael Jeronimo <michael.jeronimo@intel.com>
This commit is contained in:
parent
c51b28420f
commit
d2d9ad8796
2 changed files with 11 additions and 0 deletions
|
@ -358,6 +358,11 @@ public:
|
|||
rclcpp::node_interfaces::NodeGraphInterface::SharedPtr
|
||||
get_node_graph_interface();
|
||||
|
||||
/// Return the Node's internal NodeLoggingInterface implementation.
|
||||
RCLCPP_LIFECYCLE_PUBLIC
|
||||
rclcpp::node_interfaces::NodeLoggingInterface::SharedPtr
|
||||
get_node_logging_interface();
|
||||
|
||||
/// Return the Node's internal NodeTimersInterface implementation.
|
||||
RCLCPP_LIFECYCLE_PUBLIC
|
||||
rclcpp::node_interfaces::NodeTimersInterface::SharedPtr
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue