Struct TimerInfo

Struct Documentation

struct TimerInfo

Public Functions

~TimerInfo()
void reset()
void set_period(std::chrono::nanoseconds new_period)

Public Members

std::shared_mutex fd_mutex
uint32_t timer_id = 0
int timer_fd = -1
bool timer_fd_need_update = false
int clock_eventfd = -1
bool clock_eventfd_need_update = false
std::weak_ptr<TimerBase> timer
rclcpp::CallbackGroup::SharedPtr callback_group
std::atomic<int64_t> last_call_time_ns
std::atomic<int64_t> next_call_time_ns
std::atomic<int64_t> time_credit = {0}
std::atomic<int64_t> period_ns
bool need_epoll_update = true
rclcpp::Clock::SharedPtr clock
rclcpp::JumpHandler::SharedPtr jump_handler