18.2.8.1.7. WriterProxyData

class WriterProxyData

Public Functions

inline void set_sample_identity(const SampleIdentity &sid)

Set participant client server sample identity

Parameters

sid – valid SampleIdentity

inline SampleIdentity get_sample_identity() const

Retrieve participant SampleIdentity

Returns

SampleIdentity

void clear()

Clear the information and return the object to the default state.

bool is_update_allowed(const WriterProxyData &wdata) const

Check if this object can be updated with the information on another object.

Parameters

wdataWriterProxyData object to be checked.

Returns

true if this object can be updated with the information on wdata.

void update(WriterProxyData *wdata)

Update certain parameters from another object.

Parameters

wdata – pointer to object with new information.

void copy(WriterProxyData *wdata)

Copy all information from another object.

uint32_t get_serialized_size(bool include_encapsulation) const

Get the size in bytes of the CDR serialization of this object.

Parameters

include_encapsulation – Whether to include the size of the encapsulation info.

Returns

size in bytes of the CDR serialization.

bool writeToCDRMessage(CDRMessage_t *msg, bool write_encapsulation) const

Write as a parameter list on a CDRMessage_t.

bool readFromCDRMessage(CDRMessage_t *msg, const NetworkFactory &network, bool is_shm_transport_possible, bool should_filter_locators, fastdds::rtps::VendorId_t source_vendor_id = c_VendorId_eProsima)

Read a parameter list from a CDRMessage_t.

Public Members

WriterQos m_qos

WriterQOS.

security::EndpointSecurityAttributesMask security_attributes_

EndpointSecurityInfo.endpoint_security_attributes.

security::PluginEndpointSecurityAttributesMask plugin_security_attributes_

EndpointSecurityInfo.plugin_endpoint_security_attributes.