19#ifndef TOPICPARAMETERS_H_
20#define TOPICPARAMETERS_H_
24#include <fastdds/rtps/common/Types.h>
25#include <fastrtps/qos/QosPolicies.h>
55 rtps::TopicKind_t tKind= rtps::NO_KEY)
126#ifndef DOXYGEN_SHOULD_SKIP_THIS_PUBLIC
Class TopicAttributes, used by the user to define the attributes of the topic associated with a Publi...
Definition TopicAttributes.h:36
TopicAttributes()
Default constructor.
Definition TopicAttributes.h:42
TypeObjectV1 type
Type Object XTYPES 1.1.
Definition TopicAttributes.h:111
HistoryQosPolicy historyQos
QOS Regarding the History to be saved.
Definition TopicAttributes.h:105
virtual ~TopicAttributes()
Definition TopicAttributes.h:64
const string_255 & getTopicDataType() const
Get the topic data type.
Definition TopicAttributes.h:78
TypeIdV1 type_id
Type Identifier XTYPES 1.1.
Definition TopicAttributes.h:109
bool auto_fill_type_object
Tries to complete type identifier and type object (TypeObjectV1)
Definition TopicAttributes.h:115
bool auto_fill_type_information
Tries to complete type information (TypeObjectV2)
Definition TopicAttributes.h:117
string_255 topicName
Topic Name.
Definition TopicAttributes.h:101
xtypes::TypeInformation type_information
XTYPES 1.2.
Definition TopicAttributes.h:113
TopicAttributes(const char *name, const char *dataType, rtps::TopicKind_t tKind=rtps::NO_KEY)
Constructor, you need to provide the topic name and the topic data type.
Definition TopicAttributes.h:52
rtps::TopicKind_t topicKind
TopicKind_t, default value NO_KEY.
Definition TopicAttributes.h:99
bool checkQos() const
Method to check whether the defined QOS are correct.
string_255 topicDataType
Topic Data Type.
Definition TopicAttributes.h:103
ResourceLimitsQosPolicy resourceLimitsQos
QOS Regarding the resources to allocate.
Definition TopicAttributes.h:107
const string_255 & getTopicName() const
Get the topic name.
Definition TopicAttributes.h:94
rtps::TopicKind_t getTopicKind() const
Get the topic kind.
Definition TopicAttributes.h:86
bool operator==(const TopicAttributes &b) const
Definition TopicAttributes.h:66
fastdds::dds::xtypes::TypeInformation TypeInformation
Definition QosPolicies.h:106
constexpr HistoryQosPolicyKind KEEP_LAST_HISTORY_QOS
Definition QosPolicies.h:78
fastdds::dds::TypeObjectV1 TypeObjectV1
Definition QosPolicies.h:103
fastdds::dds::TypeIdV1 TypeIdV1
Definition QosPolicies.h:102
fastdds::dds::ResourceLimitsQosPolicy ResourceLimitsQosPolicy
Definition QosPolicies.h:81
fastdds::dds::HistoryQosPolicy HistoryQosPolicy
Definition QosPolicies.h:80
bool operator!=(const TopicAttributes &t1, const TopicAttributes &t2)
Check if two topic attributes are not equal.
Definition TopicAttributes.h:134
eProsima namespace.
Definition LibrarySettingsAttributes.h:23