RTI Connext Traditional C++ API  Version 5.2.0
 All Classes Functions Variables Typedefs Enumerations Enumerator 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 5.2.0 Copyright © Sun Jun 21 2015 Real-Time Innovations, Inc