@@ -225,7 +225,8 @@ rcl_timer_fini(rcl_timer_t * timer);
225225 * \param[inout] timer the handle to the timer to call
226226 * \return #RCL_RET_OK if the timer was called successfully, or
227227 * \return #RCL_RET_INVALID_ARGUMENT if any arguments are invalid, or
228- * \return #RCL_RET_TIMER_INVALID if the timer is invalid, or
228+ * \return #RCL_RET_INVALID_ARGUMENT if the timer is invalid, or
229+ * \return #RCL_RET_TIMER_INVALID if the timer->impl is invalid, or
229230 * \return #RCL_RET_TIMER_CANCELED if the timer has been canceled, or
230231 * \return #RCL_RET_ERROR an unspecified error occur.
231232 */
@@ -252,7 +253,7 @@ rcl_timer_call(rcl_timer_t * timer);
252253 * \param[out] clock the rcl_clock_t * in which the clock is stored
253254 * \return #RCL_RET_OK if the period was retrieved successfully, or
254255 * \return #RCL_RET_INVALID_ARGUMENT if any arguments are invalid, or
255- * \return #RCL_RET_TIMER_INVALID if the timer is invalid, or
256+ * \return #RCL_RET_INVALID_ARGUMENT if the timer is invalid, or
256257 * \return #RCL_RET_ERROR an unspecified error occur.
257258 */
258259RCL_PUBLIC
@@ -282,7 +283,8 @@ rcl_timer_clock(rcl_timer_t * timer, rcl_clock_t ** clock);
282283 * \param[out] is_ready the bool used to store the result of the calculation
283284 * \return #RCL_RET_OK if the last call time was retrieved successfully, or
284285 * \return #RCL_RET_INVALID_ARGUMENT if any arguments are invalid, or
285- * \return #RCL_RET_TIMER_INVALID if the timer is invalid, or
286+ * \return #RCL_RET_INVALID_ARGUMENT if the timer is invalid, or
287+ * \return #RCL_RET_TIMER_INVALID if the timer->impl is invalid, or
286288 * \return #RCL_RET_ERROR an unspecified error occur.
287289 */
288290RCL_PUBLIC
@@ -317,7 +319,8 @@ rcl_timer_is_ready(const rcl_timer_t * timer, bool * is_ready);
317319 * \param[out] time_until_next_call the output variable for the result
318320 * \return #RCL_RET_OK if the timer until next call was successfully calculated, or
319321 * \return #RCL_RET_INVALID_ARGUMENT if any arguments are invalid, or
320- * \return #RCL_RET_TIMER_INVALID if the timer is invalid, or
322+ * \return #RCL_RET_INVALID_ARGUMENT if the timer is invalid, or
323+ * \return #RCL_RET_TIMER_INVALID if the timer->impl is invalid, or
321324 * \return #RCL_RET_TIMER_CANCELED if the timer is canceled, or
322325 * \return #RCL_RET_ERROR an unspecified error occur.
323326 */
@@ -350,7 +353,8 @@ rcl_timer_get_time_until_next_call(const rcl_timer_t * timer, int64_t * time_unt
350353 * \param[out] time_since_last_call the struct in which the time is stored
351354 * \return #RCL_RET_OK if the last call time was retrieved successfully, or
352355 * \return #RCL_RET_INVALID_ARGUMENT if any arguments are invalid, or
353- * \return #RCL_RET_TIMER_INVALID if the timer is invalid, or
356+ * \return #RCL_RET_INVALID_ARGUMENT if the timer is invalid, or
357+ * \return #RCL_RET_TIMER_INVALID if the timer->impl is invalid, or
354358 * \return #RCL_RET_ERROR an unspecified error occur.
355359 */
356360RCL_PUBLIC
@@ -377,6 +381,7 @@ rcl_timer_get_time_since_last_call(const rcl_timer_t * timer, int64_t * time_sin
377381 * \param[out] period the int64_t in which the period is stored
378382 * \return #RCL_RET_OK if the period was retrieved successfully, or
379383 * \return #RCL_RET_INVALID_ARGUMENT if any arguments are invalid, or
384+ * \return #RCL_RET_TIMER_INVALID if the timer->impl is invalid, or
380385 * \return #RCL_RET_ERROR an unspecified error occur.
381386 */
382387RCL_PUBLIC
@@ -407,6 +412,7 @@ rcl_timer_get_period(const rcl_timer_t * timer, int64_t * period);
407412 * \param[out] old_period the int64_t in which the previous period is stored
408413 * \return #RCL_RET_OK if the period was retrieved successfully, or
409414 * \return #RCL_RET_INVALID_ARGUMENT if any arguments are invalid, or
415+ * \return #RCL_RET_TIMER_INVALID if the timer->impl is invalid, or
410416 * \return #RCL_RET_ERROR an unspecified error occur.
411417 */
412418RCL_PUBLIC
@@ -484,7 +490,7 @@ rcl_timer_exchange_callback(rcl_timer_t * timer, const rcl_timer_callback_t new_
484490 * \param[inout] timer the timer to be canceled
485491 * \return #RCL_RET_OK if the last call time was retrieved successfully, or
486492 * \return #RCL_RET_INVALID_ARGUMENT if any arguments are invalid, or
487- * \return #RCL_RET_TIMER_INVALID if the timer is invalid, or
493+ * \return #RCL_RET_INVALID_ARGUMENT if the timer is invalid, or
488494 * \return #RCL_RET_ERROR an unspecified error occur.
489495 */
490496RCL_PUBLIC
@@ -513,6 +519,7 @@ rcl_timer_cancel(rcl_timer_t * timer);
513519 * \param[out] is_canceled storage for the is canceled bool
514520 * \return #RCL_RET_OK if the last call time was retrieved successfully, or
515521 * \return #RCL_RET_INVALID_ARGUMENT if any arguments are invalid, or
522+ * \return #RCL_RET_TIMER_INVALID if the timer->impl is invalid, or
516523 * \return #RCL_RET_ERROR an unspecified error occur.
517524 */
518525RCL_PUBLIC
@@ -538,7 +545,7 @@ rcl_timer_is_canceled(const rcl_timer_t * timer, bool * is_canceled);
538545 * \param[inout] timer the timer to be reset
539546 * \return #RCL_RET_OK if the last call time was retrieved successfully, or
540547 * \return #RCL_RET_INVALID_ARGUMENT if any arguments are invalid, or
541- * \return #RCL_RET_TIMER_INVALID if the timer is invalid, or
548+ * \return #RCL_RET_INVALID_ARGUMENT if the timer is invalid, or
542549 * \return #RCL_RET_ERROR an unspecified error occur.
543550 */
544551RCL_PUBLIC
0 commit comments