Class DataRepresentationQosPolicy

Inheritance Relationships

Base Types

Class Documentation

class DataRepresentationQosPolicy : public eprosima::fastdds::dds::Parameter_t, public eprosima::fastdds::dds::QosPolicy

With multiple standard data Representations available, and vendor-specific extensions possible, DataWriters and DataReaders must be able to negotiate which data representation(s) to use. This negotiation shall occur based on DataRepresentationQosPolicy.

Note

Immutable Qos Policy

Warning

If a writer’s offered representation is contained within a reader’s sequence, the offer satisfies the request and the policies are compatible. Otherwise, they are incompatible.

Public Functions

inline RTPS_DllAPI DataRepresentationQosPolicy()

Constructor.

virtual RTPS_DllAPI ~DataRepresentationQosPolicy() override = default

Destructor.

inline bool operator==(const DataRepresentationQosPolicy &b) const

Compares the given policy to check if it’s equal.

Parameters

b – QoS Policy.

Returns

True if the policy is equal.

inline virtual void clear() override

Clears the QosPolicy object.

Public Members

std::vector<DataRepresentationId_t> m_value

List of DataRepresentationId.

By default, empty list.