rclcpp
master
C++ ROS Client Library API
|
Go to the documentation of this file.
15 #ifndef RCLCPP__DURATION_HPP_
16 #define RCLCPP__DURATION_HPP_
20 #include "builtin_interfaces/msg/duration.hpp"
49 template<
class Rep,
class Period>
56 Duration(
const builtin_interfaces::msg::Duration & duration_msg);
68 operator builtin_interfaces::msg::Duration()
const;
75 operator=(
const builtin_interfaces::msg::Duration & duration_msg);
110 operator*(
double scale)
const;
130 from_seconds(
double seconds);
133 template<
class DurationT>
150 #endif // RCLCPP__DURATION_HPP_
bool operator==(const QoS &left, const QoS &right)
Check if two QoS profiles are exactly equal in all policy values.
DurationT to_chrono() const
Convert Duration into a std::chrono::Duration.
Definition: duration.hpp:135
Time operator+(const rclcpp::Duration &lhs, const rclcpp::Time &rhs)
Duration(const std::chrono::duration< Rep, Period > &duration)
Definition: duration.hpp:51
This header provides the get_node_base_interface() template function.
Definition: allocator_common.hpp:24
#define RCLCPP_PUBLIC
Definition: visibility_control.hpp:50
Definition: duration.hpp:26
bool operator!=(const QoS &left, const QoS &right)