/* * Copyright(c) 2006 to 2021 ZettaScale Technology and others * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License v. 2.0 which is available at * http://www.eclipse.org/legal/epl-2.0, or the Eclipse Distribution License * v. 1.0 which is available at * http://www.eclipse.org/org/documents/edl-v10.php. * * SPDX-License-Identifier: EPL-2.0 OR BSD-3-Clause */ #ifndef OMG_DDS_PUB_DETAIL_TANYDATAWRITER_HPP_ #define OMG_DDS_PUB_DETAIL_TANYDATAWRITER_HPP_ /** * @file */ /* * OMG PSM class declaration */ #include // Implementation namespace dds { namespace pub { template const dds::pub::Publisher& TAnyDataWriter::publisher() const { return this->delegate()->publisher(); } template const dds::topic::TopicDescription& TAnyDataWriter::topic_description() const { return this->delegate()->topic_description(); } template dds::pub::qos::DataWriterQos TAnyDataWriter::qos() const { return this->delegate()->qos(); } template void TAnyDataWriter::qos(const dds::pub::qos::DataWriterQos& qos) { this->delegate()->qos(qos); } template TAnyDataWriter& TAnyDataWriter::operator << (const dds::pub::qos::DataWriterQos& qos) { this->delegate()->qos(qos); return *this; } template const TAnyDataWriter& TAnyDataWriter::operator >> (dds::pub::qos::DataWriterQos& qos) const { qos = this->delegate()->qos(); return *this; } template void TAnyDataWriter::wait_for_acknowledgments(const dds::core::Duration& timeout) { this->delegate()->wait_for_acknowledgments(timeout); } template const ::dds::core::status::LivelinessLostStatus TAnyDataWriter::liveliness_lost_status() { return this->delegate()->liveliness_lost_status(); } template const ::dds::core::status::OfferedDeadlineMissedStatus TAnyDataWriter::offered_deadline_missed_status() { return this->delegate()->offered_deadline_missed_status(); } template const ::dds::core::status::OfferedIncompatibleQosStatus TAnyDataWriter::offered_incompatible_qos_status() { return this->delegate()->offered_incompatible_qos_status(); } template const ::dds::core::status::PublicationMatchedStatus TAnyDataWriter::publication_matched_status() { return this->delegate()->publication_matched_status(); } template void TAnyDataWriter::assert_liveliness() { this->delegate()->assert_liveliness(); } } } // End of implementation #endif /* OMG_DDS_PUB_DETAIL_TANYDATAWRITER_HPP_ */