Function rcl_event_is_valid
Defined in File event.h
Function Documentation
-
bool rcl_event_is_valid(const rcl_event_t *event)
Check that the event is valid.
The bool returned is
false
ifevent
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:
event – [in] pointer to the rcl event
- Returns:
true
ifevent
is valid, otherwisefalse