RTI Connext Traditional C++ API Version 7.3.0
|
Contains the parameters for creating a connext::Replier. More...
Inherits connext::details::EntityParams.
Public Member Functions | |
ReplierParams (DDS::DomainParticipant *participant) | |
Creates a ReplierParams with the parameters that a Replier always needs. More... | |
ReplierParams & | replier_listener (ReplierListener< TReq, TRep > &listener) |
Sets a listener that is called when requests are available. More... | |
ReplierParams & | service_name (const std::string &service_name) |
The service name the Replier offers and Requesters use to match. More... | |
ReplierParams & | request_topic_name (const std::string &req_topic) |
Sets a specific request topic name. More... | |
ReplierParams & | reply_topic_name (const std::string &rep_topic) |
Sets a specific reply topic name. More... | |
ReplierParams & | qos_profile (const std::string &qos_library_name, const std::string &qos_profile_name) |
Sets a QoS profile for the entities in this replier. More... | |
ReplierParams & | datawriter_qos (const DDS_DataWriterQos &qos) |
Sets the quality of service of the reply DataWriter. More... | |
ReplierParams & | datareader_qos (const DDS_DataReaderQos &qos) |
Sets the quality of service of the request DataReader. More... | |
ReplierParams & | publisher (DDS::Publisher *publisher) |
Sets a specific Publisher. More... | |
ReplierParams & | subscriber (DDS::Subscriber *subscriber) |
Sets a specific Subscriber. More... | |
ReplierParams & | request_type_support (DDS::TypeSupport *type_support) |
Sets the type support for the request type. More... | |
ReplierParams & | reply_type_support (DDS::TypeSupport *type_support) |
Sets the type support for the reply type. More... | |
Contains the parameters for creating a connext::Replier.
|
inlineexplicit |
Creates a ReplierParams with the parameters that a Replier always needs.
In addition to the participant , a Replier needs either:
When DDS_DynamicData is used, connext::ReplierParams::request_type_support and/or connext::ReplierParams::reply_type_support are required as well.
The other parameters are optional.
participant | The DomainParticipant that this replier uses to join a domain. |
|
inline |
Sets a listener that is called when requests are available.
|
inline |
The service name the Replier offers and Requesters use to match.
|
inline |
Sets a specific request topic name.
The specified topic name will be used, instead of allowing a topic name to be generated based on the service_name. If that topic already exists, it will be reused. This is useful to have the Replier use a DDSContentFilteredTopic to receive only certain requests.
|
inline |
Sets a specific reply topic name.
The specified topic name will be used, instead of allowing a topic name to be generated based on c the service_name. If that topic already exists, it will be reused.
|
inline |
Sets a QoS profile for the entities in this replier.
Specifies the XML QoS profile that will be used to configure the quality of service for the Replier's underlying reply DataWriter and request DataReader.
qos_library_name | The name of the QoS library |
qos_profile_name | The name of the QoS profile inside the QoS library |
|
inline |
Sets the quality of service of the reply DataWriter.
|
inline |
Sets the quality of service of the request DataReader.
|
inline |
Sets a specific Publisher.
|
inline |
Sets a specific Subscriber.
|
inline |
Sets the type support for the request type.
This parameter is required when TReq
is DDS_DynamicData.
In all other cases, this parameter is ignored and the singleton Reply<TReq, TRep>::RequestTypeSupport is used instead
|
inline |
Sets the type support for the reply type.
This parameter is required when TRep
is DDS_DynamicData.
In all other cases, this parameter is ignored and the singleton Reply<TReq, TRep>::RequestTypeSupport is used instead