Used to pass configuration parameters when constructing a Replier. More...
Public Member Functions | |
ReplierParams () | |
Default constructor. | |
ReplierParams (const ReplierParams &other) | |
Copy constructor. | |
~ReplierParams () | |
Destructor. | |
ReplierParams & | operator= (const ReplierParams &that) |
Assignment operator. | |
template<class TReq , class TRep > | |
ReplierParams & | simple_replier_listener (SimpleReplierListener< TReq, TRep > *listener) |
Assign the SimpleReplierListener configured in this instance of ReplierParams. | |
template<class TReq , class TRep > | |
ReplierParams & | replier_listener (ReplierListener< TReq, TRep > *listener) |
Assign the ReplierListener configured in this instance of ReplierParams. | |
ReplierParams & | domain_participant (dds_entity_traits::DomainParticipant participant) |
Assign the DomainParticipant configured in this instance of ReplierParams. | |
ReplierParams & | service_name (const std::string &service_name) |
Assign the service_name configured in this instance of ReplierParams. | |
ReplierParams & | instance_name (const std::string &instance_name) |
Assign the instance_name configured in this instance of ReplierParams. | |
ReplierParams & | request_topic_name (const std::string &req_topic) |
Assign the request_topic_name configured in this instance of ReplierParams. | |
ReplierParams & | reply_topic_name (const std::string &rep_topic) |
Assign the reply_topic_name configured in this instance of ReplierParams. | |
ReplierParams & | datawriter_qos (dds_entity_traits::DataWriterQos qos) |
Assign the DataWriterQos configured in this instance of ReplierParams. | |
ReplierParams & | datareader_qos (dds_entity_traits::DataReaderQos qos) |
Assign the DataReaderQos configured in this instance of ReplierParams. | |
ReplierParams & | publisher (dds_entity_traits::Publisher publisher) |
Assign the Publisher configured in this instance of ReplierParams. | |
ReplierParams & | subscriber (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. | |
ListenerBase * | simple_replier_listener () const |
Access the SimpleReplierListener configured in this instance of ReplierParams.i. | |
ListenerBase * | replier_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. | |
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.