Function rcl_publisher_is_valid
Defined in File publisher.h
Function Documentation
-
bool rcl_publisher_is_valid(const rcl_publisher_t *publisher)
Return true if the publisher is valid, otherwise false.
The bool returned is
falseifpublisheris invalid. The bool returned istrueotherwise. In the case wherefalseis 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:
publisher – [in] pointer to the rcl publisher
- Returns:
trueifpublisheris valid, otherwisefalse