Function rclc_executor_remove_service

Function Documentation

rcl_ret_t rclc_executor_remove_service(rclc_executor_t *executor, const rcl_service_t *service)

Removes a service from an executor.

Attribute

Adherence

Allocates Memory

No

Thread-Safe

No

Uses Atomics

No

Lock-Free

Yes

Parameters:
  • executor[inout] pointer to initialized executor

  • service[in] pointer to an allocated and initialized service previously added to executor

Returns:

RCL_RET_OK if add-operation was successful

Returns:

RCL_RET_INVALID_ARGUMENT if any parameter is a null pointer

Returns:

RCL_RET_ERROR if any other error occured