15.2.7.1.7. WriterProxyData

class eprosima::fastrtps::rtps::WriterProxyData

Public Functions

void set_sample_identity(const SampleIdentity &sid)

Set participant client server sample identity

Parameters

SampleIdentity get_sample_identity() const

Retrieve participant SampleIdentity

Return

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.

Return

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

Parameters

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.

Return

size in bytes of the CDR serialization.

Parameters
  • include_encapsulation: Whether to include the size of the encapsulation info.

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)

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.