Function rcl_service_is_valid
Defined in File service.h
Function Documentation
-
bool rcl_service_is_valid(const rcl_service_t *service)
Check that the service is valid.
The bool returned is
false
ifservice
is invalid. The bool returned istrue
otherwise. In the case wherefalse
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:
service – [in] pointer to the rcl service
- Returns:
true
ifservice
is valid, otherwisefalse