Function rcl_action_server_is_valid

Function Documentation

bool rcl_action_server_is_valid(const rcl_action_server_t *action_server)

Check if an action server is valid.

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.