Class TimerImpl
Defined in File timer_impl.h
Inheritance Relationships
Derived Type
public swri::TypedTimerImpl< T >
(Template Class TypedTimerImpl)
Class Documentation
-
class TimerImpl
Subclassed by swri::TypedTimerImpl< T >
Public Functions
-
inline TimerImpl()
-
inline rclcpp::Duration desiredPeriod() const
-
inline void resetStatistics()
-
inline size_t ticks() const
-
inline double meanFrequencyHz() const
-
inline rclcpp::Duration meanPeriod() const
-
inline rclcpp::Duration minPeriod() const
-
inline rclcpp::Duration maxPeriod() const
-
inline WallDuration meanDuration() const
-
inline WallDuration minDuration() const
-
inline WallDuration maxDuration() const
Protected Types
-
typedef std::chrono::nanoseconds WallDuration
-
typedef std::chrono::system_clock::time_point WallTime
Protected Attributes
-
rclcpp::TimerBase::SharedPtr timer_
-
rclcpp::Duration desired_period_ = rclcpp::Duration(0, 0)
-
int ticks_
-
rclcpp::Time tick_begin_normal_
-
rclcpp::Duration total_periods_ = rclcpp::Duration(std::chrono::nanoseconds::zero())
-
rclcpp::Duration min_period_ = rclcpp::Duration(std::chrono::nanoseconds::zero())
-
rclcpp::Duration max_period_ = rclcpp::Duration(std::chrono::nanoseconds::zero())
-
WallDuration total_durations_
-
WallDuration min_duration_
-
WallDuration max_duration_
-
inline TimerImpl()