CoreDX DDS C++ Reference Manual
Public Member Functions | List of all members
DDS::rpc::ReplierParams Class Reference

Used to pass configuration parameters when constructing a Replier. More...

Public Member Functions

 ReplierParams ()
 Default constructor.
 
 ReplierParams (const ReplierParams &other)
 Copy constructor.
 
 ~ReplierParams ()
 Destructor.
 
ReplierParamsoperator= (const ReplierParams &that)
 Assignment operator.
 
template<class TReq , class TRep >
ReplierParamssimple_replier_listener (SimpleReplierListener< TReq, TRep > *listener)
 Assign the SimpleReplierListener configured in this instance of ReplierParams.
 
template<class TReq , class TRep >
ReplierParamsreplier_listener (ReplierListener< TReq, TRep > *listener)
 Assign the ReplierListener configured in this instance of ReplierParams.
 
ReplierParamsdomain_participant (dds_entity_traits::DomainParticipant participant)
 Assign the DomainParticipant configured in this instance of ReplierParams.
 
ReplierParamsservice_name (const std::string &service_name)
 Assign the service_name configured in this instance of ReplierParams.
 
ReplierParamsinstance_name (const std::string &instance_name)
 Assign the instance_name configured in this instance of ReplierParams.
 
ReplierParamsrequest_topic_name (const std::string &req_topic)
 Assign the request_topic_name configured in this instance of ReplierParams.
 
ReplierParamsreply_topic_name (const std::string &rep_topic)
 Assign the reply_topic_name configured in this instance of ReplierParams.
 
ReplierParamsdatawriter_qos (dds_entity_traits::DataWriterQos qos)
 Assign the DataWriterQos configured in this instance of ReplierParams.
 
ReplierParamsdatareader_qos (dds_entity_traits::DataReaderQos qos)
 Assign the DataReaderQos configured in this instance of ReplierParams.
 
ReplierParamspublisher (dds_entity_traits::Publisher publisher)
 Assign the Publisher configured in this instance of ReplierParams.
 
ReplierParamssubscriber (dds_entity_traits::Subscriber subscriber)
 Assign the Subscriber configured in this instance of ReplierParams.
 
dds_entity_traits::DomainParticipant domain_participant () const
 Access the DomainParticipant configured in this instance of ReplierParams.
 
ListenerBasesimple_replier_listener () const
 Access the SimpleReplierListener configured in this instance of ReplierParams.i.
 
ListenerBasereplier_listener () const
 Access the ReplierListener configured in this instance of ReplierParams.
 
std::string service_name () const
 Access the service_name configured in this instance of ReplierParams.
 
std::string instance_name () const
 Access the instance_name configured in this instance of ReplierParams.
 
std::string request_topic_name () const
 Access the request_topic_name configured in this instance of ReplierParams.
 
std::string reply_topic_name () const
 Access the reply_topic_name configured in this instance of ReplierParams.
 
dds_entity_traits::DataWriterQos datawriter_qos () const
 Access the DataWriterQos configured in this instance of ReplierParams.
 
dds_entity_traits::DataReaderQos datareader_qos () const
 Access the DataReaderQos configured in this instance of ReplierParams.
 
dds_entity_traits::Publisher publisher () const
 Access the Publisher configured in this instance of ReplierParams.
 
dds_entity_traits::Subscriber subscriber () const
 Access the Subscriber configured in this instance of ReplierParams.
 

Detailed Description

Used to pass configuration parameters when constructing a Replier.

ReplierParams is a valuetype that serves as a container of configuration parameters of a Replier. It is designed to mimic the named-parameters feature available in some programming languages, which improves readability.


© 2009-2017 Twin Oaks Computing, Inc
Castle Rock, CO 80108
All rights reserved.