/* * 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_TOPIC_TBUILTINTOPIC_IMPL_HPP_ #define CYCLONEDDS_DDS_TOPIC_TBUILTINTOPIC_IMPL_HPP_ /** * @file */ /* * OMG PSM class declaration */ #include // Implementation namespace dds { namespace topic { //TParticipantBuiltinTopicData template const dds::topic::BuiltinTopicKey& TParticipantBuiltinTopicData::key() const { return this->delegate().key(); } template const ::dds::core::policy::UserData& TParticipantBuiltinTopicData::user_data() const { return this->delegate().user_data(); } //TTopicBuiltinTopicData template const dds::topic::BuiltinTopicKey& TTopicBuiltinTopicData::key() const { return this->delegate().key(); } template const std::string& TTopicBuiltinTopicData::name() const { return this->delegate().name(); } template const std::string& TTopicBuiltinTopicData::type_name() const { return this->delegate().type_name(); } template const ::dds::core::policy::Durability& TTopicBuiltinTopicData::durability() const { return this->delegate().durability(); } #ifdef OMG_DDS_PERSISTENCE_SUPPORT template const ::dds::core::policy::DurabilityService& TTopicBuiltinTopicData::durability_service() const { return this->delegate().durability_service(); } #endif // OMG_DDS_PERSISTENCE_SUPPORT template const ::dds::core::policy::Deadline& TTopicBuiltinTopicData::deadline() const { return this->delegate().deadline(); } template const ::dds::core::policy::LatencyBudget& TTopicBuiltinTopicData::latency_budget() const { return this->delegate().latency_budget(); } template const ::dds::core::policy::Liveliness& TTopicBuiltinTopicData::liveliness() const { return this->delegate().liveliness(); } template const ::dds::core::policy::Reliability& TTopicBuiltinTopicData::reliability() const { return this->delegate().reliability(); } template const ::dds::core::policy::TransportPriority& TTopicBuiltinTopicData::transport_priority() const { return this->delegate().transport_priority(); } template const ::dds::core::policy::Lifespan& TTopicBuiltinTopicData::lifespan() const { return this->delegate().lifespan(); } template const ::dds::core::policy::DestinationOrder& TTopicBuiltinTopicData::destination_order() const { return this->delegate().destination_order(); } template const ::dds::core::policy::History& TTopicBuiltinTopicData::history() const { return this->delegate().history(); } template const ::dds::core::policy::ResourceLimits& TTopicBuiltinTopicData::resource_limits() const { return this->delegate().resource_limits(); } template const ::dds::core::policy::Ownership& TTopicBuiltinTopicData::ownership() const { return this->delegate().ownership(); } template const ::dds::core::policy::TopicData& TTopicBuiltinTopicData::topic_data() const { return this->delegate().topic_data(); } //TPublicationBuiltinTopicData template const dds::topic::BuiltinTopicKey& TPublicationBuiltinTopicData::key() const { return this->delegate().key(); } template const dds::topic::BuiltinTopicKey& TPublicationBuiltinTopicData::participant_key() const { return this->delegate().key(); } template const std::string& TPublicationBuiltinTopicData::topic_name() const { return this->delegate().topic_name(); } template const std::string& TPublicationBuiltinTopicData::type_name() const { return this->delegate().type_name(); } template const ::dds::core::policy::Durability& TPublicationBuiltinTopicData::durability() const { return this->delegate().durability(); } #ifdef OMG_DDS_PERSISTENCE_SUPPORT template const ::dds::core::policy::DurabilityService& TPublicationBuiltinTopicData::durability_service() const { return this->delegate().durability_service(); } #endif // OMG_DDS_PERSISTENCE_SUPPORT template const ::dds::core::policy::Deadline& TPublicationBuiltinTopicData::deadline() const { return this->delegate().deadline(); } template const ::dds::core::policy::LatencyBudget& TPublicationBuiltinTopicData::latency_budget() const { return this->delegate().latency_budget(); } template const ::dds::core::policy::Liveliness& TPublicationBuiltinTopicData::liveliness() const { return this->delegate().liveliness(); } template const ::dds::core::policy::Reliability& TPublicationBuiltinTopicData::reliability() const { return this->delegate().reliability(); } template const ::dds::core::policy::Lifespan& TPublicationBuiltinTopicData::lifespan() const { return this->delegate().lifespan(); } template const ::dds::core::policy::UserData& TPublicationBuiltinTopicData::user_data() const { return this->delegate().user_data(); } template const ::dds::core::policy::Ownership& TPublicationBuiltinTopicData::ownership() const { return this->delegate().ownership(); } #ifdef OMG_DDS_OWNERSHIP_SUPPORT template const ::dds::core::policy::OwnershipStrength& TPublicationBuiltinTopicData::ownership_strength() const { return this->delegate().ownership_strength(); } #endif // OMG_DDS_OWNERSHIP_SUPPORT template const ::dds::core::policy::DestinationOrder& TPublicationBuiltinTopicData::destination_order() const { return this->delegate().destination_order(); } template const ::dds::core::policy::Presentation& TPublicationBuiltinTopicData::presentation() const { return this->delegate().presentation(); } template const ::dds::core::policy::Partition& TPublicationBuiltinTopicData::partition() const { return this->delegate().partition(); } template const ::dds::core::policy::TopicData& TPublicationBuiltinTopicData::topic_data() const { return this->delegate().topic_data(); } template const ::dds::core::policy::GroupData& TPublicationBuiltinTopicData::group_data() const { return this->delegate().group_data(); } template const dds::topic::BuiltinTopicKey& TSubscriptionBuiltinTopicData::key() const { return this->delegate().key(); } template const dds::topic::BuiltinTopicKey& TSubscriptionBuiltinTopicData::participant_key() const { return this->delegate().key(); } template const std::string& TSubscriptionBuiltinTopicData::topic_name() const { return this->delegate().topic_name(); } template const std::string& TSubscriptionBuiltinTopicData::type_name() const { return this->delegate().type_name(); } template const ::dds::core::policy::Durability& TSubscriptionBuiltinTopicData::durability() const { return this->delegate().durability(); } template const ::dds::core::policy::Deadline& TSubscriptionBuiltinTopicData::deadline() const { return this->delegate().deadline(); } template const ::dds::core::policy::LatencyBudget& TSubscriptionBuiltinTopicData::latency_budget() const { return this->delegate().latency_budget(); } template const ::dds::core::policy::Liveliness& TSubscriptionBuiltinTopicData::liveliness() const { return this->delegate().liveliness(); } template const ::dds::core::policy::Reliability& TSubscriptionBuiltinTopicData::reliability() const { return this->delegate().reliability(); } template const ::dds::core::policy::Ownership& TSubscriptionBuiltinTopicData::ownership() const { return this->delegate().ownership(); } template const ::dds::core::policy::DestinationOrder& TSubscriptionBuiltinTopicData::destination_order() const { return this->delegate().destination_order(); } template const ::dds::core::policy::UserData& TSubscriptionBuiltinTopicData::user_data() const { return this->delegate().user_data(); } template const ::dds::core::policy::TimeBasedFilter& TSubscriptionBuiltinTopicData::time_based_filter() const { return this->delegate().time_based_filter(); } template const ::dds::core::policy::Presentation& TSubscriptionBuiltinTopicData::presentation() const { return this->delegate().presentation(); } template const ::dds::core::policy::Partition& TSubscriptionBuiltinTopicData::partition() const { return this->delegate().partition(); } template const ::dds::core::policy::TopicData& TSubscriptionBuiltinTopicData::topic_data() const { return this->delegate().topic_data(); } template const ::dds::core::policy::GroupData& TSubscriptionBuiltinTopicData::group_data() const { return this->delegate().group_data(); } #if 0 //TCMParticipantBuiltinTopicData template const dds::topic::BuiltinTopicKey& TCMParticipantBuiltinTopicData::key() const { return ((D)this->delegate()).key(); } template const ::org::eclipse::cyclonedds::core::policy::ProductData& TCMParticipantBuiltinTopicData::product() const { return ((D)this->delegate()).product(); } //TCMPublisherBuiltinTopicData template const dds::topic::BuiltinTopicKey& TCMPublisherBuiltinTopicData::key() const { return ((D)this->delegate()).key(); } template const ::org::eclipse::cyclonedds::core::policy::ProductData& TCMPublisherBuiltinTopicData::product() const { return ((D)this->delegate()).product(); } template const dds::topic::BuiltinTopicKey& TCMPublisherBuiltinTopicData::participant_key() const { return ((D)this->delegate()).participant_key(); } template const std::string& TCMPublisherBuiltinTopicData::name() const { return ((D)this->delegate()).name(); } template const ::dds::core::policy::EntityFactory& TCMPublisherBuiltinTopicData::entity_factory() const { return ((D)this->delegate()).entity_factory(); } template const ::dds::core::policy::Partition& TCMPublisherBuiltinTopicData::partition() const { return ((D)this->delegate()).partition(); } //TCMSubscriberBuiltinTopicData template const dds::topic::BuiltinTopicKey& TCMSubscriberBuiltinTopicData::key() const { return ((D)this->delegate()).key(); } template const ::org::eclipse::cyclonedds::core::policy::ProductData& TCMSubscriberBuiltinTopicData::product() const { return ((D)this->delegate()).product(); } template const dds::topic::BuiltinTopicKey& TCMSubscriberBuiltinTopicData::participant_key() const { return ((D)this->delegate()).participant_key(); } template const std::string& TCMSubscriberBuiltinTopicData::name() const { return ((D)this->delegate()).name(); } template const ::dds::core::policy::EntityFactory& TCMSubscriberBuiltinTopicData::entity_factory() const { return ((D)this->delegate()).entity_factory(); } template const ::dds::core::policy::Partition& TCMSubscriberBuiltinTopicData::partition() const { return ((D)this->delegate()).partition(); } template const ::org::eclipse::cyclonedds::core::policy::Share& TCMSubscriberBuiltinTopicData::share() const { return ((D)this->delegate()).share(); } //TCMDataWriterBuiltinTopicData template const dds::topic::BuiltinTopicKey& TCMDataWriterBuiltinTopicData::key() const { return ((D)this->delegate()).key(); } template const ::org::eclipse::cyclonedds::core::policy::ProductData& TCMDataWriterBuiltinTopicData::product() const { return ((D)this->delegate()).product(); } template const dds::topic::BuiltinTopicKey& TCMDataWriterBuiltinTopicData::publisher_key() const { return ((D)this->delegate()).publisher_key(); } template const std::string& TCMDataWriterBuiltinTopicData::name() const { return ((D)this->delegate()).name(); } template const ::dds::core::policy::History& TCMDataWriterBuiltinTopicData::history() const { return ((D)this->delegate()).history(); } template const ::dds::core::policy::ResourceLimits& TCMDataWriterBuiltinTopicData::resource_limits() const { return ((D)this->delegate()).resource_limits(); } template const ::dds::core::policy::WriterDataLifecycle& TCMDataWriterBuiltinTopicData::writer_data_lifecycle() const { return ((D)this->delegate()).writer_data_lifecycle(); } //TCMDataReaderBuiltinTopicData template const dds::topic::BuiltinTopicKey& TCMDataReaderBuiltinTopicData::key() const { return ((D)this->delegate()).key(); } template const ::org::eclipse::cyclonedds::core::policy::ProductData& TCMDataReaderBuiltinTopicData::product() const { return ((D)this->delegate()).product(); } template const dds::topic::BuiltinTopicKey& TCMDataReaderBuiltinTopicData::subscriber_key() const { return ((D)this->delegate()).subscriber_key(); } template const std::string& TCMDataReaderBuiltinTopicData::name() const { return ((D)this->delegate()).name(); } template const ::dds::core::policy::History& TCMDataReaderBuiltinTopicData::history() const { return ((D)this->delegate()).history(); } template const ::dds::core::policy::ResourceLimits& TCMDataReaderBuiltinTopicData::resource_limits() const { return ((D)this->delegate()).resource_limits(); } template const ::dds::core::policy::ReaderDataLifecycle& TCMDataReaderBuiltinTopicData::reader_data_lifecycle() const { return ((D)this->delegate()).reader_data_lifecycle(); } template const ::org::eclipse::cyclonedds::core::policy::SubscriptionKey& TCMDataReaderBuiltinTopicData::subscription_keys() const { return ((D)this->delegate()).subscription_keys(); } template const ::org::eclipse::cyclonedds::core::policy::ReaderLifespan& TCMDataReaderBuiltinTopicData::reader_lifespan() const { return ((D)this->delegate()).reader_lifespan(); } template const ::org::eclipse::cyclonedds::core::policy::Share& TCMDataReaderBuiltinTopicData::share() const { return ((D)this->delegate()).share(); } #endif } } // End of implementation #endif /* CYCLONEDDS_DDS_TOPIC_TBUILTINTOPIC_IMPL_HPP_ */