Class TypeLookup_RequestPubSubType

Inheritance Relationships

Base Type

Class Documentation

class TypeLookup_RequestPubSubType : public eprosima::fastdds::dds::TopicDataType

Public Functions

TypeLookup_RequestPubSubType()
virtual ~TypeLookup_RequestPubSubType() override
virtual bool serialize(void *data, fastrtps::rtps::SerializedPayload_t *payload) override

Serialize method, it should be implemented by the user, since it is abstract. It is VERY IMPORTANT that the user sets the SerializedPayload length correctly.

Parameters
  • data[in] Pointer to the data

  • payload[out] Pointer to the payload

Returns

True if correct.

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

Deserialize method, it should be implemented by the user, since it is abstract.

Parameters
  • payload[in] Pointer to the payload

  • data[out] Pointer to the data

Returns

True if correct.

virtual void *createData() override

Create a Data Type.

Returns

Void pointer to the created object.

virtual void deleteData(void *data) override

Remove a previously created object.

Parameters

data – Pointer to the created Data.