RTI Connext Modern C++ API  Version 5.3.0
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
rti::request::Requester< RequestType, ReplyType > Class Template Reference

Requester class. More...

#include <rti/request/Requester.hpp>

Inherits dds::core::Reference< DELEGATE >.

Public Member Functions

 Requester (const RequesterParams &params)
 
 Requester (dds::domain::DomainParticipant participant, const std::string &service_name)
 
rti::core::SampleIdentity send_request (const RequestType &data)
 
dds::sub::LoanedSamples
< ReplyType > 
take_replies (const rti::core::SampleIdentity &related_request_id)
 
dds::sub::LoanedSamples
< ReplyType > 
receive_replies (const dds::core::Duration &max_wait)
 
bool wait_for_replies (const dds::core::Duration &max_wait)
 
bool wait_for_replies (int min_count, const dds::core::Duration &max_wait)
 
bool wait_for_replies (int min_count, const dds::core::Duration &max_wait, const rti::core::SampleIdentity &related_request_id)
 
dds::pub::DataWriter< RequestType > request_datawriter () const
 
dds::sub::DataReader< ReplyType > reply_datareader () const
 
- Public Member Functions inherited from dds::core::Reference< DELEGATE >
 Reference (dds::core::null_type &)
 
 Reference (const Reference &ref)
 
template<typename D >
 Reference (const Reference< D > &ref)
 
 ~Reference ()
 
template<typename R >
bool operator== (const R &ref) const
 
template<typename R >
bool operator!= (const R &ref) const
 
Reference & operator= (const null_type)
 
bool is_nil () const
 
bool operator== (const null_type) const
 
bool operator!= (const null_type) const
 
const DELEGATE_REF_T & delegate () const OMG_NOEXCEPT
 
DELEGATE_REF_T & delegate () OMG_NOEXCEPT
 
DELEGATE * operator-> () OMG_NOEXCEPT
 
const DELEGATE * operator-> () const OMG_NOEXCEPT
 

Detailed Description

template<typename RequestType, typename ReplyType>
class rti::request::Requester< RequestType, ReplyType >

Requester class.

Constructor & Destructor Documentation

template<typename RequestType , typename ReplyType >
rti::request::Requester< RequestType, ReplyType >::Requester ( const RequesterParams &  params)
inlineexplicit
template<typename RequestType , typename ReplyType >
rti::request::Requester< RequestType, ReplyType >::Requester ( dds::domain::DomainParticipant  participant,
const std::string &  service_name 
)
inline

Member Function Documentation

template<typename RequestType , typename ReplyType >
rti::core::SampleIdentity rti::request::Requester< RequestType, ReplyType >::send_request ( const RequestType &  data)
inline
template<typename RequestType , typename ReplyType >
dds::sub::LoanedSamples<ReplyType> rti::request::Requester< RequestType, ReplyType >::take_replies ( const rti::core::SampleIdentity related_request_id)
inline
template<typename RequestType , typename ReplyType >
dds::sub::LoanedSamples<ReplyType> rti::request::Requester< RequestType, ReplyType >::receive_replies ( const dds::core::Duration max_wait)
inline
template<typename RequestType , typename ReplyType >
bool rti::request::Requester< RequestType, ReplyType >::wait_for_replies ( const dds::core::Duration max_wait)
inline
template<typename RequestType , typename ReplyType >
bool rti::request::Requester< RequestType, ReplyType >::wait_for_replies ( int  min_count,
const dds::core::Duration max_wait 
)
inline
template<typename RequestType , typename ReplyType >
bool rti::request::Requester< RequestType, ReplyType >::wait_for_replies ( int  min_count,
const dds::core::Duration max_wait,
const rti::core::SampleIdentity related_request_id 
)
inline
template<typename RequestType , typename ReplyType >
dds::pub::DataWriter<RequestType> rti::request::Requester< RequestType, ReplyType >::request_datawriter ( ) const
inline
template<typename RequestType , typename ReplyType >
dds::sub::DataReader<ReplyType> rti::request::Requester< RequestType, ReplyType >::reply_datareader ( ) const
inline

RTI Connext Modern C++ API Version 5.3.0 Copyright © Sun Jun 25 2017 Real-Time Innovations, Inc