#include <cb_timer_countdown_loop.hpp>
Definition at line 22 of file cb_timer_countdown_loop.hpp.
◆ CbTimerCountdownLoop() [1/2]
| cl_ros2_timer::CbTimerCountdownLoop::CbTimerCountdownLoop |
( |
rclcpp::Duration | loopDuration | ) |
|
|
inlineexplicit |
◆ CbTimerCountdownLoop() [2/2]
template<typename T , std::enable_if_t< std::is_integral< T >::value, int > = 0>
| cl_ros2_timer::CbTimerCountdownLoop::CbTimerCountdownLoop |
( |
T | | ) |
|
|
inlineexplicit |
Definition at line 29 of file cb_timer_countdown_loop.hpp.
30 {
31 static_assert(
32 !std::is_integral<T>::value,
33 "\n\nCbTimerCountdownLoop no longer accepts a tick count.\n"
34 "Pass a chrono duration literal instead:\n"
35 " configure_orthogonal<OrTimer, CbTimerCountdownLoop>(3s); // every 3 seconds\n"
36 " configure_orthogonal<OrTimer, CbTimerCountdownLoop>(500ms); // every 500 ms\n"
37 "Migration guide: https://smacc2.robosoft.ai/how-to/how-to-cl-ros2-timer.html\n");
38 }
◆ onEntry()
| void cl_ros2_timer::CbTimerCountdownLoop::onEntry |
( |
| ) |
|
|
inlineoverridevirtual |
◆ onExit()
| void cl_ros2_timer::CbTimerCountdownLoop::onExit |
( |
| ) |
|
|
inlineoverridevirtual |
◆ onStateOrthogonalAllocation()
template<typename TOrthogonal , typename TSourceObject >
| void cl_ros2_timer::CbTimerCountdownLoop::onStateOrthogonalAllocation |
( |
| ) |
|
|
inline |
◆ onTimerTick()
◆ loopDuration_
| rclcpp::Duration cl_ros2_timer::CbTimerCountdownLoop::loopDuration_ |
|
private |
◆ onTimerTick_
◆ postCountDownEvent_
| std::function<void()> cl_ros2_timer::CbTimerCountdownLoop::postCountDownEvent_ |
|
private |
◆ wallTimer_
| rclcpp::TimerBase::SharedPtr cl_ros2_timer::CbTimerCountdownLoop::wallTimer_ |
|
private |
The documentation for this class was generated from the following file: