RTI Connext Traditional C++ API Version 7.3.0
connext::SimpleReplierParams< TReq, TRep > Class Template Reference

Contains the parameters for creating a connext::SimpleReplier. More...

Inherits connext::details::EntityParams.

Public Member Functions

 SimpleReplierParams (DDS::DomainParticipant *participant, SimpleReplierListener< TReq, TRep > &listener)
 Creates SimpleReplierParams with the parameters that a SimpleReplier always needs. More...
 
SimpleReplierParamsservice_name (const std::string &service_name)
 The service name the Replier offers and Requesters use to match. More...
 
SimpleReplierParamsrequest_topic_name (const std::string &req_topic)
 Sets a specific request topic name. More...
 
SimpleReplierParamsreply_topic_name (const std::string &rep_topic)
 Sets a specific reply topic name. More...
 
SimpleReplierParamsqos_profile (const std::string &qos_library_name, const std::string &qos_profile_name)
 Sets a QoS profile for the entities in this replier. More...
 
SimpleReplierParamsdatawriter_qos (const DDS_DataWriterQos &qos)
 Sets the quality of service of the reply DataWriter. More...
 
SimpleReplierParamsdatareader_qos (const DDS_DataReaderQos &qos)
 Sets the quality of service of the request DataReader. More...
 
SimpleReplierParamspublisher (DDSPublisher *publisher)
 Sets a specific Publisher. More...
 
SimpleReplierParamssubscriber (DDSSubscriber *subscriber)
 Sets a specific Subscriber. More...
 
SimpleReplierParamsrequest_type_support (DDS::TypeSupport *type_support)
 Sets the type support for the request type. More...
 
SimpleReplierParamsreply_type_support (DDS::TypeSupport *type_support)
 Sets the type support for the reply type. More...
 

Detailed Description

template<typename TReq, typename TRep>
class connext::SimpleReplierParams< TReq, TRep >

Contains the parameters for creating a connext::SimpleReplier.

The parameters for a SimpleReplier are identical to those of the Replier, except for the SimpleReplierListener, which is required and has a different user callback.

See also
connext::ReplierParams

Constructor & Destructor Documentation

◆ SimpleReplierParams()

template<typename TReq , typename TRep >
connext::SimpleReplierParams< TReq, TRep >::SimpleReplierParams ( DDS::DomainParticipant participant,
SimpleReplierListener< TReq, TRep > &  listener 
)
inline

Creates SimpleReplierParams with the parameters that a SimpleReplier always needs.

In addition to these parameters, a SimpleReplier needs either:

The other parameters are optional.

Parameters
participantThe DomainParticipant that this SimpleReplier uses to join a domain.
listenerThe listener where the user callback that a SimpleReplier calls is implemented.

Member Function Documentation

◆ service_name()

template<typename TReq , typename TRep >
SimpleReplierParams & connext::SimpleReplierParams< TReq, TRep >::service_name ( const std::string &  service_name)
inline

The service name the Replier offers and Requesters use to match.

See also
connext::RequesterParams::service_name

◆ request_topic_name()

template<typename TReq , typename TRep >
SimpleReplierParams & connext::SimpleReplierParams< TReq, TRep >::request_topic_name ( const std::string &  req_topic)
inline

Sets a specific request topic name.

This is an alternative to service_name

◆ reply_topic_name()

template<typename TReq , typename TRep >
SimpleReplierParams & connext::SimpleReplierParams< TReq, TRep >::reply_topic_name ( const std::string &  rep_topic)
inline

Sets a specific reply topic name.

This is an alternative to service_name

◆ qos_profile()

template<typename TReq , typename TRep >
SimpleReplierParams & connext::SimpleReplierParams< TReq, TRep >::qos_profile ( const std::string &  qos_library_name,
const std::string &  qos_profile_name 
)
inline

Sets a QoS profile for the entities in this replier.

See also
connext::ReplierParams::qos_profile

◆ datawriter_qos()

template<typename TReq , typename TRep >
SimpleReplierParams & connext::SimpleReplierParams< TReq, TRep >::datawriter_qos ( const DDS_DataWriterQos qos)
inline

Sets the quality of service of the reply DataWriter.

See also
qos_profile

◆ datareader_qos()

template<typename TReq , typename TRep >
SimpleReplierParams & connext::SimpleReplierParams< TReq, TRep >::datareader_qos ( const DDS_DataReaderQos qos)
inline

Sets the quality of service of the request DataReader.

See also
qos_profile

◆ publisher()

template<typename TReq , typename TRep >
SimpleReplierParams & connext::SimpleReplierParams< TReq, TRep >::publisher ( DDSPublisher publisher)
inline

Sets a specific Publisher.

See also
connext::RequesterParams::publisher

◆ subscriber()

template<typename TReq , typename TRep >
SimpleReplierParams & connext::SimpleReplierParams< TReq, TRep >::subscriber ( DDSSubscriber subscriber)
inline

Sets a specific Subscriber.

See also
connext::RequesterParams::subscriber

◆ request_type_support()

template<typename TReq , typename TRep >
SimpleReplierParams & connext::SimpleReplierParams< TReq, TRep >::request_type_support ( DDS::TypeSupport type_support)
inline

Sets the type support for the request type.

See also
connext::ReplierParams::request_type_support

◆ reply_type_support()

template<typename TReq , typename TRep >
SimpleReplierParams & connext::SimpleReplierParams< TReq, TRep >::reply_type_support ( DDS::TypeSupport type_support)
inline

Sets the type support for the reply type.

See also
connext::ReplierParams::reply_type_support