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

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

Public Member Functions

 ServiceParams ()
 Default constructor.
 
 ServiceParams (const ServiceParams &other)
 Copy constructor.
 
ServiceParamsoperator= (const ServiceParams &that)
 Assignment operator.
 
ServiceParamsservice_name (const std::string &service_name)
 Assign the service_name configured in this instance of ServiceParams.
 
ServiceParamsinstance_name (const std::string &instance_name)
 Assign the instance_name configured in this instance of ServiceParams.
 
ServiceParamsrequest_topic_name (const std::string &req_topic)
 Assign the request_topic_name configured in this instance of ServiceParams.
 
ServiceParamsreply_topic_name (const std::string &rep_topic)
 Assign the reply_topic_name configured in this instance of ServiceParams.
 
ServiceParamsdatawriter_qos (dds_entity_traits::DataWriterQos qos)
 Assign the DataWriterQos configured in this instance of ServiceParams.
 
ServiceParamsdatareader_qos (dds_entity_traits::DataReaderQos qos)
 Assign the DataReaderQos configured in this instance of ServiceParams.
 
ServiceParamspublisher (dds_entity_traits::Publisher publisher)
 Assign the Publisher configured in this instance of ServiceParams.
 
ServiceParamssubscriber (dds_entity_traits::Subscriber subscriber)
 Assign the Subscriber configured in this instance of ServiceParams.
 
ServiceParamsdomain_participant (dds_entity_traits::DomainParticipant part)
 Assign the DomainParticipant configured in this instance of ServiceParams.
 
std::string service_name () const
 Access the service_name configured in this instance of ServiceParams.
 
std::string instance_name () const
 Access the instance_name configured in this instance of ServiceParams.
 
std::string request_topic_name () const
 Access the request_topic_name configured in this instance of ServiceParams.
 
std::string reply_topic_name () const
 Access the reply_topic_name configured in this instance of ServiceParams.
 
dds_entity_traits::DataWriterQos datawriter_qos () const
 Access the DataWriterQos configured in this instance of ServiceParams.
 
dds_entity_traits::DataReaderQos datareader_qos () const
 Access the DataReaderQos configured in this instance of ServiceParams.
 
dds_entity_traits::Publisher publisher () const
 Access the Publisher configured in this instance of ServiceParams.
 
dds_entity_traits::Subscriber subscriber () const
 Access the Subscriber configured in this instance of ServiceParams.
 
dds_entity_traits::DomainParticipant domain_participant () const
 Access the DomainParticipant configured in this instance of ServiceParams.
 

Detailed Description

Used to pass configuration parameters when constructing a Service.

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