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
-
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
wdata – WriterProxyData 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)¶
Read a parameter list from a CDRMessage_t.
-
inline void set_sample_identity(const SampleIdentity &sid)¶