Public Member Functions | |
ServiceParams () | |
ServiceParams (ServiceParams other) | |
ServiceParams | service_name (String service_name) |
ServiceParams | instance_name (String instance_name) |
ServiceParams | request_topic_name (String req_topic) |
ServiceParams | reply_topic_name (String rep_topic) |
ServiceParams | datawriter_qos (DataWriterQos qos) |
ServiceParams | datareader_qos (DataReaderQos qos) |
ServiceParams | publisher (Publisher publisher) |
ServiceParams | subscriber (Subscriber subscriber) |
ServiceParams | domain_participant (DomainParticipant part) |
String | service_name () |
String | instance_name () |
String | request_topic_name () |
String | reply_topic_name () |
DataWriterQos | datawriter_qos () |
DataReaderQos | datareader_qos () |
Publisher | publisher () |
Subscriber | subscriber () |
DomainParticipant | domain_participant () |
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.
ServiceParams | ( | ) |
Default constructor
ServiceParams | ( | ServiceParams | other | ) |
Copy constructor
ServiceParams datareader_qos | ( | DataReaderQos | qos | ) |
Assign the DataReaderQos configured in this instance of ServiceParams.
DataReaderQos datareader_qos | ( | ) |
Access the DataReaderQos configured in this instance of ServiceParams.
ServiceParams datawriter_qos | ( | DataWriterQos | qos | ) |
Assign the DataWriterQos configured in this instance of ServiceParams.
DataWriterQos datawriter_qos | ( | ) |
Access the DataWriterQos configured in this instance of ServiceParams.
ServiceParams domain_participant | ( | DomainParticipant | part | ) |
Assign the DomainParticipant configured in this instance of ServiceParams.
DomainParticipant domain_participant | ( | ) |
Access the DomainParticipant configured in this instance of ServiceParams.
ServiceParams instance_name | ( | String | instance_name | ) |
Assign the instance_name configured in this instance of ServiceParams.
String instance_name | ( | ) |
Access the instance_name configured in this instance of ServiceParams.
ServiceParams publisher | ( | Publisher | publisher | ) |
Assign the Publisher configured in this instance of ServiceParams.
Publisher publisher | ( | ) |
Access the Publisher configured in this instance of ServiceParams.
ServiceParams reply_topic_name | ( | String | rep_topic | ) |
Assign the reply_topic_name configured in this instance of ServiceParams.
String reply_topic_name | ( | ) |
Access the reply_topic_name configured in this instance of ServiceParams.
ServiceParams request_topic_name | ( | String | req_topic | ) |
Assign the request_topic_name configured in this instance of ServiceParams.
String request_topic_name | ( | ) |
Access the request_topic_name configured in this instance of ServiceParams.
ServiceParams service_name | ( | String | service_name | ) |
Assign the service_name configured in this instance of ServiceParams.
String service_name | ( | ) |
Access the service_name configured in this instance of ServiceParams.
ServiceParams subscriber | ( | Subscriber | subscriber | ) |
Assign the Subscriber configured in this instance of ServiceParams.
Subscriber subscriber | ( | ) |
Access the Subscriber configured in this instance of ServiceParams.