Function rmw_fastrtps_cpp::get_datareader
Defined in File get_subscriber.hpp
Function Documentation
-
eprosima::fastdds::dds::DataReader *rmw_fastrtps_cpp::get_datareader(rmw_subscription_t *subscription)
Return a native Fast DDS DataReader handle.
The function returns
NULL
when either the subscription handle isNULL
or when the subscription handle is from a different rmw implementation.- Returns:
native Fast DDS DataReader handle if successful, otherwise
NULL