.. _program_listing_file__tmp_ws_src_fastrtps_include_fastdds_dds_publisher_qos_WriterQos.hpp: Program Listing for File WriterQos.hpp ====================================== |exhale_lsh| :ref:`Return to documentation for file ` (``/tmp/ws/src/fastrtps/include/fastdds/dds/publisher/qos/WriterQos.hpp``) .. |exhale_lsh| unicode:: U+021B0 .. UPWARDS ARROW WITH TIP LEFTWARDS .. code-block:: cpp // Copyright 2016 Proyectos y Sistemas de Mantenimiento SL (eProsima). // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. #ifndef _FASTDDS_DDS_QOS_WRITERQOS_HPP_ #define _FASTDDS_DDS_QOS_WRITERQOS_HPP_ #include namespace eprosima { namespace fastdds { namespace dds { class WriterQos { public: RTPS_DllAPI WriterQos(); RTPS_DllAPI virtual ~WriterQos(); bool operator ==( const WriterQos& b) const { return (this->m_durability == b.m_durability) && (this->m_durabilityService == b.m_durabilityService) && (this->m_deadline == b.m_deadline) && (this->m_latencyBudget == b.m_latencyBudget) && (this->m_liveliness == b.m_liveliness) && (this->m_reliability == b.m_reliability) && (this->m_lifespan == b.m_lifespan) && (this->m_userData == b.m_userData) && (this->m_timeBasedFilter == b.m_timeBasedFilter) && (this->m_ownership == b.m_ownership) && (this->m_ownershipStrength == b.m_ownershipStrength) && (this->m_destinationOrder == b.m_destinationOrder) && (this->m_presentation == b.m_presentation) && (this->m_partition == b.m_partition) && (this->m_topicData == b.m_topicData) && (this->m_groupData == b.m_groupData) && (this->m_publishMode == b.m_publishMode) && (this->m_disablePositiveACKs == b.m_disablePositiveACKs) && (this->representation == b.representation) && (this->data_sharing == b.data_sharing); } DurabilityQosPolicy m_durability; DurabilityServiceQosPolicy m_durabilityService; DeadlineQosPolicy m_deadline; LatencyBudgetQosPolicy m_latencyBudget; LivelinessQosPolicy m_liveliness; ReliabilityQosPolicy m_reliability; LifespanQosPolicy m_lifespan; UserDataQosPolicy m_userData; TimeBasedFilterQosPolicy m_timeBasedFilter; OwnershipQosPolicy m_ownership; OwnershipStrengthQosPolicy m_ownershipStrength; DestinationOrderQosPolicy m_destinationOrder; PresentationQosPolicy m_presentation; PartitionQosPolicy m_partition; TopicDataQosPolicy m_topicData; GroupDataQosPolicy m_groupData; PublishModeQosPolicy m_publishMode; DataRepresentationQosPolicy representation; DisablePositiveACKsQosPolicy m_disablePositiveACKs; DataSharingQosPolicy data_sharing; bool disable_heartbeat_piggyback = false; RTPS_DllAPI void setQos( const WriterQos& qos, bool first_time); RTPS_DllAPI bool checkQos() const; RTPS_DllAPI bool canQosBeUpdated( const WriterQos& qos) const; void clear(); }; //RTPS_DllAPI extern const WriterQos DATAWRITER_QOS_DEFAULT; } //namespace dds } //namespace fastdds } //namespace eprosima #endif // _FASTDDS_DDS_QOS_WRITERQOS_HPP_