Function rcl_action_server_is_valid_except_context

Function Documentation

bool rcl_action_server_is_valid_except_context(const rcl_action_server_t *action_server)

Check if an action server is valid without erroring if the library is shutting down.

In the case where false is returned (ie. the action server is invalid), an error message is set.

This function cannot fail.

Attribute

Adherence

Allocates Memory

No

Thread-Safe

No

Uses Atomics

No

Lock-Free

Yes

Parameters:

action_server[in] handle to the action server

Returns:

true if action_server is valid, or

Returns:

false otherwise.