RTI Connext Traditional C++ API  Version 6.0.1
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
connext::IsReplyRelatedPredicate< T > Class Template Reference

Predicate-class to match replies by their related request. More...

Public Member Functions

 IsReplyRelatedPredicate (const DDS::SampleIdentity_t &related_request_id)
 Creates the predicate with the request id to match.
 
bool operator() (SampleRef< T > sample)
 Determines if a reply is related to the request id this object contains.
 

Detailed Description

template<typename T>
class connext::IsReplyRelatedPredicate< T >

Predicate-class to match replies by their related request.

Useful for C++ standard algorithms like std::find_if()

See Also
Correlating requests and replies

Constructor & Destructor Documentation

template<typename T>
connext::IsReplyRelatedPredicate< T >::IsReplyRelatedPredicate ( const DDS::SampleIdentity_t related_request_id)
inline

Creates the predicate with the request id to match.

Member Function Documentation

template<typename T>
bool connext::IsReplyRelatedPredicate< T >::operator() ( SampleRef< T >  sample)
inline

Determines if a reply is related to the request id this object contains.


RTI Connext Traditional C++ API Version 6.0.1 Copyright © Sat Nov 23 2019 Real-Time Innovations, Inc