Go to the documentation of this file.00001 #ifndef OMG_DDS_TOPIC_TOPIC_DESCRIPTION_HPP_
00002 #define OMG_DDS_TOPIC_TOPIC_DESCRIPTION_HPP_
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022 #include <tdds/core/Entity.hpp>
00023 #include <dds/topic/topicfwd.hpp>
00024 #include <idds/topic/TopicDescription.hpp>
00025
00026
00027 namespace dds { namespace topic {
00028
00037 template <typename T, template <typename Q> class DELEGATE>
00038 class TopicDescription : public tdds::core::Entity< DELEGATE<T> > {
00039 public:
00040 typedef T DataType;
00041
00042 public:
00043 OMG_DDS_REF_TYPE(TopicDescription, tdds::core::Entity, DELEGATE<T>)
00044
00045 public:
00046 ~TopicDescription() { }
00047
00048 public:
00052 const std::string& name() const {
00053 return this->delegate()->name();
00054 }
00055
00059 const std::string& type_name() const {
00060 return this->delegate()->type_name();
00061 }
00062 };
00063
00064 } }
00065
00066 #endif