Function rclc_executor_trigger_any

Function Documentation

bool rclc_executor_trigger_any(rclc_executor_handle_t *handles, unsigned int size, void *obj)

Trigger condition: any, returns true if at least one handles is ready.

Parameter obj is not used.

Attribute

Adherence

Allocates Memory

No

Thread-Safe

No

Uses Atomics

No

Lock-Free

Yes

Parameters:
  • handles[in] pointer to array of handles

  • size[in] size of array

  • obj[in] trigger_object set by rclc_executor_set_trigger (not used)

Returns:

true - if at least one handles is ready (subscriptions have new data, timers are ready)

Returns:

false - otherwise