Function rmw_fastrtps_cpp::get_request_datareader

Function Documentation

eprosima::fastdds::dds::DataReader *rmw_fastrtps_cpp::get_request_datareader(rmw_service_t *service)

Return a native Fast DDS DataReader handle for the request.

The function returns NULL when either the service handle is NULL or when the service handle is from a different rmw implementation.

Returns:

native Fast DDS DataReader handle if successful, otherwise NULL