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:
Inheritance graph
[legend]
Collaboration diagram for rclcpp::node_interfaces::NodeClock:
Collaboration graph
[legend]

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, rclcpp::node_interfaces::NodeLoggingInterface::SharedPtr node_logging)
 
virtual ~NodeClock ()
 
rclcpp::Clock::SharedPtr get_clock () override
 Get a clock which will be kept up to date by the node. More...
 
rclcpp::Clock::ConstSharedPtr get_clock () const override
 Get a clock which will be kept up to date by the node. More...
 
- Public Member Functions inherited from rclcpp::node_interfaces::NodeClockInterface
virtual ~NodeClockInterface ()=default
 

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,
rclcpp::node_interfaces::NodeLoggingInterface::SharedPtr  node_logging 
)
explicit

◆ ~NodeClock()

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

Member Function Documentation

◆ get_clock() [1/2]

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

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

Implements rclcpp::node_interfaces::NodeClockInterface.

◆ get_clock() [2/2]

rclcpp::Clock::ConstSharedPtr rclcpp::node_interfaces::NodeClock::get_clock ( ) const
overridevirtual

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: