rclcpp  master
C++ ROS Client Library API
Public Member Functions | List of all members
rclcpp::node_interfaces::NodeClock Class Reference

Implementation of the NodeClock part of the Node API. More...

#include <node_clock.hpp>

Inheritance diagram for rclcpp::node_interfaces::NodeClock:
rclcpp::node_interfaces::NodeClockInterface

Public Member Functions

 NodeClock (rclcpp::node_interfaces::NodeBaseInterface::SharedPtr node_base, rclcpp::node_interfaces::NodeTopicsInterface::SharedPtr node_topics, rclcpp::node_interfaces::NodeGraphInterface::SharedPtr node_graph, rclcpp::node_interfaces::NodeServicesInterface::SharedPtr node_services)
 
virtual ~NodeClock ()
 
virtual rclcpp::Clock::SharedPtr get_clock ()
 Get a clock which will be kept up to date by the node. More...
 

Detailed Description

Implementation of the NodeClock part of the Node API.

Constructor & Destructor Documentation

◆ NodeClock()

rclcpp::node_interfaces::NodeClock::NodeClock ( rclcpp::node_interfaces::NodeBaseInterface::SharedPtr  node_base,
rclcpp::node_interfaces::NodeTopicsInterface::SharedPtr  node_topics,
rclcpp::node_interfaces::NodeGraphInterface::SharedPtr  node_graph,
rclcpp::node_interfaces::NodeServicesInterface::SharedPtr  node_services 
)
explicit

◆ ~NodeClock()

virtual rclcpp::node_interfaces::NodeClock::~NodeClock ( )
virtual

Member Function Documentation

◆ get_clock()

virtual rclcpp::Clock::SharedPtr rclcpp::node_interfaces::NodeClock::get_clock ( )
virtual

Get a clock which will be kept up to date by the node.

Implements rclcpp::node_interfaces::NodeClockInterface.


The documentation for this class was generated from the following file: