Function rcl_wait_set_add_event

Function Documentation

rcl_ret_t rcl_wait_set_add_event(rcl_wait_set_t *wait_set, const rcl_event_t *event, size_t *index)

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

This function behaves exactly the same as for subscriptions.