Class StatisticsWriterImpl

Inheritance Relationships

Derived Type

Class Documentation

class StatisticsWriterImpl

Subclassed by eprosima::fastrtps::rtps::RTPSWriter

Protected Functions

inline void on_sample_datas(const fastrtps::rtps::SampleIdentity&, size_t)

Report a change on the number of DATA / DATAFRAG submessages sent for a specific sample. Parameter: SampleIdentity of the affected sample. Parameter: Current total number of submessages sent for the affected sample.

inline void on_heartbeat(uint32_t)

Report that a HEARTBEAT message is sent Parameter: current count of heartbeats.

inline void on_data_generated(size_t)

Report that a DATA / DATA_FRAG message is generated Parameter: number of locators to which the message will be sent.

inline void on_data_sent()

Notify listeners of DATA / DATA_FRAG counts.

inline void on_publish_throughput(uint32_t)

Reports publication throughtput based on last added sample to writer’s history Parameter: size of the message sent.

inline void on_gap()

Report that a GAP message is sent.

inline void on_resent_data(uint32_t)