/* * Copyright(c) 2006 to 2020 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 CYCLONEDDS_DDS_SUB_DETAIL_TSAMPLEINFO_IMPL_HPP_ #define CYCLONEDDS_DDS_SUB_DETAIL_TSAMPLEINFO_IMPL_HPP_ /** * @file */ /* * OMG PSM class declaration */ #include // Implementation namespace dds { namespace sub { template TSampleInfo::TSampleInfo() { } template const dds::core::Time TSampleInfo::timestamp() const { return this->delegate().timestamp(); } template const dds::sub::status::DataState TSampleInfo::state() const { return this->delegate().state(); } template dds::sub::GenerationCount TSampleInfo::generation_count() const { return this->delegate().generation_count(); } template dds::sub::Rank TSampleInfo::rank() const { return this->delegate().rank(); } template bool TSampleInfo::valid() const { return this->delegate().valid(); } template dds::core::InstanceHandle TSampleInfo::instance_handle() const { return this->delegate().instance_handle(); } template dds::core::InstanceHandle TSampleInfo::publication_handle() const { return this->delegate().publication_handle(); } } } // End of implementation #endif /* CYCLONEDDS_DDS_SUB_DETAIL_TSAMPLEINFO_IMPL_HPP_ */