123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105 |
- #ifndef _FASTDDS_TOPIC_DESCRIPTION_HPP_
- #define _FASTDDS_TOPIC_DESCRIPTION_HPP_
- #include <string>
- namespace eprosima {
- namespace fastdds {
- namespace dds {
- class DomainParticipant;
- class TopicDescriptionImpl;
- class TopicDescription
- {
- public:
-
- virtual DomainParticipant* get_participant() const = 0;
-
- const std::string& get_name() const
- {
- return name_;
- }
-
- const std::string& get_type_name() const
- {
- return type_name_;
- }
-
- virtual TopicDescriptionImpl* get_impl() const = 0;
- protected:
-
- TopicDescription(
- const std::string& name,
- const std::string& type_name)
- : name_(name)
- , type_name_(type_name)
- {
- }
-
- virtual ~TopicDescription()
- {
- }
- protected:
-
- std::string name_;
-
- std::string type_name_;
- };
- }
- }
- }
- #endif
|