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

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

Public Member Functions

 ClientParams ()
 Default constructor.
 
 ClientParams (const ClientParams &other)
 Copy constructor.
 
ClientParamsoperator= (const ClientParams &that)
 Assignment operator.
 
ClientParamsservice_name (const std::string &service_name)
 Assign the service_name configured in this instance of ClientParams.
 
ClientParamsinstance_name (const std::string &instance_name)
 Assign the instance_name configured in this instance of ClientParams.
 
ClientParamsrequest_topic_name (const std::string &req_topic)
 Assign the request_topic_name configured in this instance of ClientParams.
 
ClientParamsreply_topic_name (const std::string &rep_topic)
 Assign the reply_topic_name configured in this instance of ClientParams.
 
ClientParamsdatawriter_qos (const dds_entity_traits::DataWriterQos &qos)
 Assign the DataWriterQos configured in this instance of ClientParams.
 
ClientParamsdatareader_qos (const dds_entity_traits::DataReaderQos &qos)
 Assign the DataReaderQos configured in this instance of ClientParams.
 
ClientParamspublisher (dds_entity_traits::Publisher publisher)
 Assign the Publisher configured in this instance of ClientParams.
 
ClientParamssubscriber (dds_entity_traits::Subscriber subscriber)
 Assign the Subscriber configured in this instance of ClientParams.
 
ClientParamsdomain_participant (dds_entity_traits::DomainParticipant part)
 Assign the DomainParticipant configured in this instance of ClientParams.
 
const std::string service_name () const
 Access the service_name configured in this instance of ClientParams.
 
const std::string instance_name () const
 Access the instance_name configured in this instance of ClientParams.
 
const std::string request_topic_name () const
 Access the request_topic_name configured in this instance of ClientParams.
 
const std::string reply_topic_name () const
 Access the reply_topic_name configured in this instance of ClientParams.
 
const dds_entity_traits::DataWriterQos datawriter_qos () const
 Access the DataWriterQos configured in this instance of ClientParams.
 
const dds_entity_traits::DataReaderQos datareader_qos () const
 Access the DataReaderQos configured in this instance of ClientParams.
 
dds_entity_traits::Publisher publisher () const
 Access the Publisher configured in this instance of ClientParams.
 
dds_entity_traits::Subscriber subscriber () const
 Access the Subscriber configured in this instance of ClientParams.
 
dds_entity_traits::DomainParticipant domain_participant () const
 Access the DomainParticipant configured in this instance of ClientParams.
 

Detailed Description

Used to pass configuration parameters when constructing a Client.

ClientParams is a valuetype that serves as a container of configuration parameters of a Client. 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.