| Fast DDS Version 3.3.0 Fast DDS

Loading...
Searching...
No Matches
TopicDescription.hpp
1// Copyright 2024 Proyectos y Sistemas de Mantenimiento SL (eProsima).
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7// http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14
18
19#ifndef FASTDDS_RTPS_BUILTIN_DATA__TOPICDESCRIPTION_HPP
20#define FASTDDS_RTPS_BUILTIN_DATA__TOPICDESCRIPTION_HPP
21
22#include <cstdint>
23#include <string>
24
25#include <fastcdr/cdr/fixed_size_string.hpp>
26
27#include <fastdds/dds/core/policy/QosPolicies.hpp>
28
29 namespace eprosima {
30 namespace fastdds {
31 namespace rtps {
32
34 struct TopicDescription
35{
37 fastcdr::string_255 topic_name;
38
40 fastcdr::string_255 type_name;
41
43 dds::xtypes::TypeInformationParameter type_information;
44
45};
46
47} // namespace rtps
48} // namespace fastdds
49} // namespace eprosima
50
51#endif // FASTDDS_RTPS_BUILTIN_DATA__TOPICDESCRIPTION_HPP
eprosima::fastdds::dds::xtypes::TypeInformationParameter
Class xtypes::TypeInformationParameter.
Definition QosPolicies.hpp:2497
eprosima::fastdds::rtps
Contains the RTPS protocol implementation.
eprosima::fastdds
eprosima
eProsima namespace.
eprosima::fastdds::rtps::TopicDescription
Structure TopicDescription, used to register an endpoint on a topic.
Definition TopicDescription.hpp:35
eprosima::fastdds::rtps::TopicDescription::type_information
dds::xtypes::TypeInformationParameter type_information
Type information.
Definition TopicDescription.hpp:43
eprosima::fastdds::rtps::TopicDescription::type_name
fastcdr::string_255 type_name
Type name.
Definition TopicDescription.hpp:40
eprosima::fastdds::rtps::TopicDescription::topic_name
fastcdr::string_255 topic_name
Topic name.
Definition TopicDescription.hpp:37