Fast RTPS  Version 2.14.1
Fast RTPS
Loading...
Searching...
No Matches
DynamicPubSubType Class Reference

#include <DynamicPubSubType.h>

Inheritance diagram for DynamicPubSubType:

Public Member Functions

RTPS_DllAPI DynamicPubSubType ()
 
RTPS_DllAPI DynamicPubSubType (DynamicType_ptr pDynamicType)
 
virtual RTPS_DllAPI ~DynamicPubSubType ()
 
RTPS_DllAPI void * createData () override
 
RTPS_DllAPI void deleteData (void *data) override
 
RTPS_DllAPI bool deserialize (eprosima::fastrtps::rtps::SerializedPayload_t *payload, void *data) override
 
RTPS_DllAPI bool getKey (void *data, eprosima::fastrtps::rtps::InstanceHandle_t *ihandle, bool force_md5=false) override
 
RTPS_DllAPI std::function< uint32_t()> getSerializedSizeProvider (void *data) override
 
RTPS_DllAPI std::function< uint32_t()> getSerializedSizeProvider (void *data, fastdds::dds::DataRepresentationId_t data_representation) override
 
RTPS_DllAPI bool serialize (void *data, eprosima::fastrtps::rtps::SerializedPayload_t *payload) override
 
RTPS_DllAPI bool serialize (void *data, eprosima::fastrtps::rtps::SerializedPayload_t *payload, fastdds::dds::DataRepresentationId_t data_representation) override
 
RTPS_DllAPI void CleanDynamicType ()
 
RTPS_DllAPI DynamicType_ptr GetDynamicType () const
 
RTPS_DllAPI ReturnCode_t SetDynamicType (DynamicData_ptr pData)
 
RTPS_DllAPI ReturnCode_t SetDynamicType (DynamicType_ptr pType)
 

Protected Types

enum  { FINAL , APPENDABLE , MUTABLE }
 

Protected Member Functions

void UpdateDynamicTypeInfo ()
 

Protected Attributes

DynamicType_ptr dynamic_type_
 
MD5 m_md5
 
unsigned char * m_keyBuffer
 
enum eprosima::fastrtps::types::DynamicPubSubType:: { ... }  APPENDABLE
 

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
protected
Enumerator
FINAL 
APPENDABLE 
MUTABLE 

Constructor & Destructor Documentation

◆ DynamicPubSubType() [1/2]

RTPS_DllAPI DynamicPubSubType ( )

◆ DynamicPubSubType() [2/2]

RTPS_DllAPI DynamicPubSubType ( DynamicType_ptr  pDynamicType)

◆ ~DynamicPubSubType()

virtual RTPS_DllAPI ~DynamicPubSubType ( )
virtual

Member Function Documentation

◆ CleanDynamicType()

RTPS_DllAPI void CleanDynamicType ( )

◆ createData()

RTPS_DllAPI void * createData ( )
override

◆ deleteData()

RTPS_DllAPI void deleteData ( void *  data)
override

◆ deserialize()

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

◆ GetDynamicType()

RTPS_DllAPI DynamicType_ptr GetDynamicType ( ) const

◆ getKey()

RTPS_DllAPI bool getKey ( void *  data,
eprosima::fastrtps::rtps::InstanceHandle_t *  ihandle,
bool  force_md5 = false 
)
override

◆ getSerializedSizeProvider() [1/2]

RTPS_DllAPI std::function< uint32_t()> getSerializedSizeProvider ( void *  data)
inlineoverride

◆ getSerializedSizeProvider() [2/2]

RTPS_DllAPI std::function< uint32_t()> getSerializedSizeProvider ( void *  data,
fastdds::dds::DataRepresentationId_t  data_representation 
)
override

◆ serialize() [1/2]

RTPS_DllAPI bool serialize ( void *  data,
eprosima::fastrtps::rtps::SerializedPayload_t *  payload 
)
inlineoverride

◆ serialize() [2/2]

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

◆ SetDynamicType() [1/2]

RTPS_DllAPI ReturnCode_t SetDynamicType ( DynamicData_ptr  pData)

◆ SetDynamicType() [2/2]

RTPS_DllAPI ReturnCode_t SetDynamicType ( DynamicType_ptr  pType)

◆ UpdateDynamicTypeInfo()

void UpdateDynamicTypeInfo ( )
protected

Member Data Documentation

◆ []

enum { ... } APPENDABLE

◆ dynamic_type_

DynamicType_ptr dynamic_type_
protected

◆ m_keyBuffer

unsigned char* m_keyBuffer
protected

◆ m_md5

MD5 m_md5
protected

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