123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293 |
- #ifndef _FASTDDS_PARTICIPANTQOS_HPP_
- #define _FASTDDS_PARTICIPANTQOS_HPP_
- #include <fastrtps/fastrtps_dll.h>
- #include <fastdds/dds/core/policy/QosPolicies.hpp>
- namespace eprosima {
- namespace fastdds {
- namespace dds {
- class DomainParticipantQos
- {
- public:
-
- RTPS_DllAPI DomainParticipantQos()
- {
- }
-
- RTPS_DllAPI virtual ~DomainParticipantQos()
- {
- }
- bool operator ==(
- const DomainParticipantQos& b) const
- {
- return (this->user_data_ == b.user_data()) &&
- (this->entity_factory_ == b.entity_factory()) &&
- (this->allocation_ == b.allocation()) &&
- (this->properties_ == b.properties()) &&
- (this->wire_protocol_ == b.wire_protocol()) &&
- (this->transport_ == b.transport()) &&
- (this->name_ == b.name());
- }
-
- const UserDataQosPolicy& user_data() const
- {
- return user_data_;
- }
-
- UserDataQosPolicy& user_data()
- {
- return user_data_;
- }
-
- void user_data(
- const UserDataQosPolicy& value)
- {
- user_data_ = value;
- }
-
- const EntityFactoryQosPolicy& entity_factory() const
- {
- return entity_factory_;
- }
-
- EntityFactoryQosPolicy& entity_factory()
- {
- return entity_factory_;
- }
-
- void entity_factory(
- const EntityFactoryQosPolicy& value)
- {
- entity_factory_ = value;
- }
-
- const ParticipantResourceLimitsQos& allocation() const
- {
- return allocation_;
- }
-
- ParticipantResourceLimitsQos& allocation()
- {
- return allocation_;
- }
-
- void allocation(
- const ParticipantResourceLimitsQos& allocation)
- {
- allocation_ = allocation;
- }
-
- const PropertyPolicyQos& properties() const
- {
- return properties_;
- }
-
- PropertyPolicyQos& properties()
- {
- return properties_;
- }
-
- void properties(
- const PropertyPolicyQos& properties)
- {
- properties_ = properties;
- }
-
- const WireProtocolConfigQos& wire_protocol() const
- {
- return wire_protocol_;
- }
-
- WireProtocolConfigQos& wire_protocol()
- {
- return wire_protocol_;
- }
-
- void wire_protocol(
- const WireProtocolConfigQos& wire_protocol)
- {
- wire_protocol_ = wire_protocol;
- }
-
- const TransportConfigQos& transport() const
- {
- return transport_;
- }
-
- TransportConfigQos& transport()
- {
- return transport_;
- }
-
- void transport(
- const TransportConfigQos& transport)
- {
- transport_ = transport;
- }
-
- const fastrtps::string_255& name() const
- {
- return name_;
- }
-
- fastrtps::string_255& name()
- {
- return name_;
- }
-
- void name(
- const fastrtps::string_255& value)
- {
- name_ = value;
- }
- private:
-
- UserDataQosPolicy user_data_;
-
- EntityFactoryQosPolicy entity_factory_;
-
- ParticipantResourceLimitsQos allocation_;
-
- PropertyPolicyQos properties_;
-
- WireProtocolConfigQos wire_protocol_;
-
- TransportConfigQos transport_;
-
- fastrtps::string_255 name_ = "RTPSParticipant";
- };
- RTPS_DllAPI extern const DomainParticipantQos PARTICIPANT_QOS_DEFAULT;
- }
- }
- }
- #endif
|