Function rclc_executor_handle_get_ptr

Function Documentation

void *rclc_executor_handle_get_ptr(rclc_executor_handle_t *handle)

Returns a pointer to the rcl-handle stored in the rclc_executor_handle_t. That can be rcl_subscription_t or rcl_timer_t

If handle is NULL, then NULL is returned.

Attribute

Adherence

Allocates Memory

No

Thread-Safe

No

Uses Atomics

No

Lock-Free

Yes

Parameters:

handle[inout] preallocated rclc_executor_handle_t

Returns:

pointer to the rcl-handle (rcl_subscription_t or rcl_timer_t)

Returns:

NULL, if handle is a NULL pointer.