Class TypeLookup_ReplyTypeSupport

Inheritance Relationships

Base Type

Class Documentation

class TypeLookup_ReplyTypeSupport : public eprosima::fastdds::dds::TypeSupport

Public Functions

inline virtual RTPS_DllAPI bool serialize (void *data, fastrtps::rtps::SerializedPayload_t *payload) override

Serializes the data.

Parameters:
  • data – Pointer to data

  • payload – Pointer to payload

Returns:

true if it is serialized correctly, false if not

virtual RTPS_DllAPI bool serialize (void *data, fastrtps::rtps::SerializedPayload_t *payload, fastdds::dds::DataRepresentationId_t data_representation) override

Serializes the data.

Parameters:
  • data – Pointer to data

  • payload – Pointer to payload

  • data_representation[in] Representation that should be used to encode the data into the payload.

Returns:

true if it is serialized correctly, false if not

virtual RTPS_DllAPI bool deserialize (fastrtps::rtps::SerializedPayload_t *payload, void *data) override

Deserializes the data.

Parameters:
  • payload – Pointer to payload

  • data – Pointer to data

Returns:

true if it is deserialized correctly, false if not

virtual RTPS_DllAPI void * create_data () override

Creates new data.

Returns:

Pointer to the data

virtual RTPS_DllAPI void delete_data (void *data) override

Deletes data.

Parameters:

data – Pointer to the data to delete