Function rcl_wait_set_add_service

Function Documentation

rcl_ret_t rcl_wait_set_add_service(rcl_wait_set_t *wait_set, const rcl_service_t *service, size_t *index)

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

This function behaves exactly the same as for subscriptions.