Skip to content

Commit

Permalink
Changes to adapt to new TopicDataType interface.
Browse files Browse the repository at this point in the history
  • Loading branch information
MiguelCompany committed Nov 27, 2018
1 parent f6cb095 commit 6ae6b04
Showing 1 changed file with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,16 @@ class TypeSupport : public eprosima::fastrtps::TopicDataType

virtual bool deserializeROSmessage(eprosima::fastcdr::Cdr & deser, void * ros_message) = 0;

RMW_FASTRTPS_SHARED_CPP_PUBLIC
bool getKey(
void * data,
eprosima::fastrtps::rtps::InstanceHandle_t * ihandle,
bool force_md5 = false) override
{
(void)data; (void)ihandle; (void)force_md5;
return false;
}

RMW_FASTRTPS_SHARED_CPP_PUBLIC
bool serialize(void * data, eprosima::fastrtps::rtps::SerializedPayload_t * payload);

Expand Down

0 comments on commit 6ae6b04

Please sign in to comment.