Function rcl_wait_set_add_timer

Function Documentation

rcl_ret_t rcl_wait_set_add_timer(rcl_wait_set_t *wait_set, const rcl_timer_t *timer, size_t *index)

Store a pointer to the timer in the next empty spot in the set.

This function behaves exactly the same as for subscriptions.