12 #include <fastdds/dds/subscriber/DataReader.hpp>
13 #include <fastdds/dds/publisher/DataWriter.hpp>
14 #include <fastdds/dds/topic/Topic.hpp>
21 std::shared_ptr< dds_topic >
33 eprosima::fastdds::dds::SampleInfo info_;
37 if(
status == ReturnCode_t::RETCODE_OK )
45 if( !
info->valid_data )
50 if(
status == ReturnCode_t::RETCODE_NO_DATA )
61 eprosima::fastrtps::rtps::WriteParams
params;
71 return params.sample_identity().sequence_number().to64long();