rmw_fastrtps_shared_cpp  master
Code shared on static and dynamic type support of rmw_fastrtps_cpp.
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
rmw_fastrtps_shared_cpp::TypeSupport Class Referenceabstract

#include <TypeSupport.hpp>

Inheritance diagram for rmw_fastrtps_shared_cpp::TypeSupport:
Inheritance graph
[legend]
Collaboration diagram for rmw_fastrtps_shared_cpp::TypeSupport:
Collaboration graph
[legend]

Public Member Functions

virtual size_t getEstimatedSerializedSize (const void *ros_message, const void *impl) const =0
 
virtual bool serializeROSmessage (const void *ros_message, eprosima::fastcdr::Cdr &ser, const void *impl) const =0
 
virtual bool deserializeROSmessage (eprosima::fastcdr::Cdr &deser, void *ros_message, const void *impl) const =0
 
bool getKey (void *data, eprosima::fastrtps::rtps::InstanceHandle_t *ihandle, bool force_md5=false) override
 
bool serialize (void *data, eprosima::fastrtps::rtps::SerializedPayload_t *payload) override
 
bool deserialize (eprosima::fastrtps::rtps::SerializedPayload_t *payload, void *data) override
 
std::function< uint32_t()> getSerializedSizeProvider (void *data) override
 
void * createData () override
 
void deleteData (void *data) override
 
virtual ~TypeSupport ()
 

Protected Member Functions

 TypeSupport ()
 

Protected Attributes

bool max_size_bound_
 

Constructor & Destructor Documentation

◆ ~TypeSupport()

virtual rmw_fastrtps_shared_cpp::TypeSupport::~TypeSupport ( )
inlinevirtual

◆ TypeSupport()

rmw_fastrtps_shared_cpp::TypeSupport::TypeSupport ( )
protected

Member Function Documentation

◆ getEstimatedSerializedSize()

virtual size_t rmw_fastrtps_shared_cpp::TypeSupport::getEstimatedSerializedSize ( const void *  ros_message,
const void *  impl 
) const
pure virtual

◆ serializeROSmessage()

virtual bool rmw_fastrtps_shared_cpp::TypeSupport::serializeROSmessage ( const void *  ros_message,
eprosima::fastcdr::Cdr &  ser,
const void *  impl 
) const
pure virtual

◆ deserializeROSmessage()

virtual bool rmw_fastrtps_shared_cpp::TypeSupport::deserializeROSmessage ( eprosima::fastcdr::Cdr &  deser,
void *  ros_message,
const void *  impl 
) const
pure virtual

◆ getKey()

bool rmw_fastrtps_shared_cpp::TypeSupport::getKey ( void *  data,
eprosima::fastrtps::rtps::InstanceHandle_t *  ihandle,
bool  force_md5 = false 
)
inlineoverride

◆ serialize()

bool rmw_fastrtps_shared_cpp::TypeSupport::serialize ( void *  data,
eprosima::fastrtps::rtps::SerializedPayload_t *  payload 
)
override

◆ deserialize()

bool rmw_fastrtps_shared_cpp::TypeSupport::deserialize ( eprosima::fastrtps::rtps::SerializedPayload_t *  payload,
void *  data 
)
override

◆ getSerializedSizeProvider()

std::function<uint32_t()> rmw_fastrtps_shared_cpp::TypeSupport::getSerializedSizeProvider ( void *  data)
override

◆ createData()

void* rmw_fastrtps_shared_cpp::TypeSupport::createData ( )
override

◆ deleteData()

void rmw_fastrtps_shared_cpp::TypeSupport::deleteData ( void *  data)
override

Member Data Documentation

◆ max_size_bound_

bool rmw_fastrtps_shared_cpp::TypeSupport::max_size_bound_
protected

The documentation for this class was generated from the following file: