Function rmw_gurumdds_cpp::check_dds_ret_code

Function Documentation

rmw_ret_t rmw_gurumdds_cpp::check_dds_ret_code(dds_ReturnCode_t dds_return_code)

Assign the input DDS return code to its corresponding RMW return code.

Parameters:

dds_return_code – input DDS return code

Returns:

to_return the corresponding rmw_ret_t that maps to the input DDS_ReturnCode_t. By default RMW_RET_ERROR is returned if no corresponding rmw_ret_t is not defined.