Function rcl_client_is_valid

Function Documentation

bool rcl_client_is_valid(const rcl_client_t *client)

Check that the client is valid.

The bool returned is false if client is invalid. The bool returned is true otherwise. In the case where false is to be returned, an error message is set. This function cannot fail.

Attribute

Adherence

Allocates Memory

No

Thread-Safe

No

Uses Atomics

No

Lock-Free

Yes

Parameters:

client[in] pointer to the rcl client

Returns:

true if client is valid, otherwise false