Function rclc_executor_set_semantics

Function Documentation

rcl_ret_t rclc_executor_set_semantics(rclc_executor_t *executor, rclc_executor_semantics_t semantics)

Set data communication semantics

Attribute

Adherence

Allocates Memory

No

Thread-Safe

No

Uses Atomics

No

Lock-Free

Yes

Parameters:
  • executor[inout] pointer to an initialized executor

  • valid[in] semantics value as defined in enum type rclc_executor_semantics_t

Returns:

RCL_RET_OK if semantics was set successfully

Returns:

RCL_RET_INVALID_ARGUMENT if executor is a null pointer