RTI Connext Modern C++ API Version 7.1.0
|
Functor to match replies by their related request. More...
#include <util.hpp>
Public Member Functions | |
IsReplyRelatedPredicate (const rti::core::SampleIdentity &related_request_id) | |
Creates the predicate with the request id to match. More... | |
bool | operator() (dds::sub::Sample< T > sample) |
Determines if a reply is related to the request id this object contains. More... | |
bool | operator() (rti::sub::LoanedSample< T > sample) |
Determines if a reply is related to the request id this object contains. More... | |
bool | operator() (dds::sub::SampleInfo sample_info) |
Determines if a reply info is related to the request id this object contains. More... | |
Functor to match replies by their related request.
Useful for C++ standard algorithms like std::find_if()
|
inline |
Creates the predicate with the request id to match.
|
inline |
Determines if a reply is related to the request id this object contains.
References dds::sub::Sample< T >::info(), and dds::sub::SampleInfo::related_original_publication_virtual_sample_identity().
|
inline |
Determines if a reply is related to the request id this object contains.
References rti::sub::LoanedSample< T >::info(), and dds::sub::SampleInfo::related_original_publication_virtual_sample_identity().
|
inline |
Determines if a reply info is related to the request id this object contains.
References dds::sub::SampleInfo::related_original_publication_virtual_sample_identity().