/* * 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_SUB_DETAIL_TANYDATAREADER_HPP_ #define OMG_DDS_SUB_DETAIL_TANYDATAREADER_HPP_ /** * @file */ /* * OMG PSM class declaration */ #include #include // Implementation namespace dds { namespace sub { template const dds::sub::Subscriber& TAnyDataReader::subscriber() const { return this->delegate()->subscriber(); } template const dds::topic::TopicDescription& TAnyDataReader::topic_description() const { return this->delegate()->topic_description(); } template void TAnyDataReader::wait_for_historical_data(const dds::core::Duration& timeout) { this->delegate()->wait_for_historical_data(timeout); } template dds::sub::qos::DataReaderQos TAnyDataReader::qos() const { return this->delegate()->qos(); } template void TAnyDataReader::qos(const dds::sub::qos::DataReaderQos& qos) { this->delegate()->qos(qos); } template TAnyDataReader& TAnyDataReader::operator << (const dds::sub::qos::DataReaderQos& qos) { this->delegate()->qos(qos); return *this; } template const TAnyDataReader& TAnyDataReader::operator >> (dds::sub::qos::DataReaderQos& qos) const { qos = this->delegate()->qos(); return *this; } template dds::core::status::LivelinessChangedStatus TAnyDataReader::liveliness_changed_status() { return this->delegate()->liveliness_changed_status(); } template dds::core::status::SampleRejectedStatus TAnyDataReader::sample_rejected_status() { return this->delegate()->sample_rejected_status(); } template dds::core::status::SampleLostStatus TAnyDataReader::sample_lost_status() { return this->delegate()->sample_lost_status(); } template dds::core::status::RequestedDeadlineMissedStatus TAnyDataReader::requested_deadline_missed_status() { return this->delegate()->requested_deadline_missed_status(); } template dds::core::status::RequestedIncompatibleQosStatus TAnyDataReader::requested_incompatible_qos_status() { return this->delegate()->requested_incompatible_qos_status(); } template dds::core::status::SubscriptionMatchedStatus TAnyDataReader::subscription_matched_status() { return this->delegate()->subscription_matched_status(); } } } // End of implementation #endif /* OMG_DDS_SUB_DETAIL_TANYDATAREADER_HPP_ */