Define RMW_CHECK_FOR_NULL_WITH_MSG
Defined in File error_handling.h
Define Documentation
-
RMW_CHECK_FOR_NULL_WITH_MSG(value, msg, error_statement)
Check a value for null, with an error message and error statement.
If
value
isNULL
, the error statement will be evaluated after setting the error message.- Parameters:
value – [in] The value to test.
msg – [in] The error message if
value
isNULL
.error_statement – [in] The statement to evaluate if
value
isNULL
.