Function rcl_publisher_is_valid_except_context

Function Documentation

bool rcl_publisher_is_valid_except_context(const rcl_publisher_t *publisher)

Return true if the publisher is valid except the context, otherwise false.

This is used in clean up functions that need to access the publisher, but do not need use any functions with the context.

It is identical to rcl_publisher_is_valid except it ignores the state of the context associated with the publisher.