Class TypeLookup_RequestPubSubType
Defined in File TypeLookupTypes.hpp
Inheritance Relationships
Base Type
public eprosima::fastdds::dds::TopicDataType
(Class TopicDataType)
Class Documentation
-
class TypeLookup_RequestPubSubType : public eprosima::fastdds::dds::TopicDataType
Public Functions
-
TypeLookup_RequestPubSubType()
-
virtual ~TypeLookup_RequestPubSubType() override
-
inline 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 serialize(void *data, fastrtps::rtps::SerializedPayload_t *payload, fastdds::dds::DataRepresentationId_t data_representation) override
Serialize method, it should be implemented by the user, since it is abstract. If not implemented, this method will call the serialize method in which the topic data representation is not considered. 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
data_representation – [in] Representation that should be used to encode the data into 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.
-
TypeLookup_RequestPubSubType()