RTI Connext Traditional C++ API  Version 5.2.3
 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.3 Copyright © Wed Apr 27 2016 Real-Time Innovations, Inc