#include <gcs_xcom_statistics_interface.h>
◆ Gcs_xcom_statistics()
Gcs_xcom_statistics::Gcs_xcom_statistics |
( |
| ) |
|
|
explicit |
◆ ~Gcs_xcom_statistics()
Gcs_xcom_statistics::~Gcs_xcom_statistics |
( |
| ) |
|
|
overridedefault |
◆ get_last_message_timestamp()
long Gcs_xcom_statistics::get_last_message_timestamp |
( |
| ) |
|
|
overridevirtual |
◆ get_max_message_length()
long Gcs_xcom_statistics::get_max_message_length |
( |
| ) |
|
|
overridevirtual |
- Returns
- the biggest amount of data received in a message via the Communication Interface
Implements Gcs_statistics_interface.
◆ get_min_message_length()
long Gcs_xcom_statistics::get_min_message_length |
( |
| ) |
|
|
overridevirtual |
- Returns
- the smallest amount of data received in a message via the Communication Interface
Implements Gcs_statistics_interface.
◆ get_total_bytes_received()
long Gcs_xcom_statistics::get_total_bytes_received |
( |
| ) |
|
|
overridevirtual |
◆ get_total_bytes_sent()
long Gcs_xcom_statistics::get_total_bytes_sent |
( |
| ) |
|
|
overridevirtual |
◆ get_total_messages_received()
long Gcs_xcom_statistics::get_total_messages_received |
( |
| ) |
|
|
overridevirtual |
◆ get_total_messages_sent()
long Gcs_xcom_statistics::get_total_messages_sent |
( |
| ) |
|
|
overridevirtual |
◆ update_message_received()
void Gcs_xcom_statistics::update_message_received |
( |
long |
message_length | ) |
|
|
overridevirtual |
Method called to register when a message is received.
This will update:
- Total Messages Received;
- Total Bytes Received;
- Min Message Length;
- Max Message Length;
- Last Message Timestamp.
- Parameters
-
[in] | message_length | the length of the message received |
Implements Gcs_xcom_statistics_updater.
◆ update_message_sent()
void Gcs_xcom_statistics::update_message_sent |
( |
unsigned long long |
message_length | ) |
|
|
overridevirtual |
Method called to register that a message has been sent.
This will update:
- Total Messages Sent;
- Total Bytes Sent.
- Parameters
-
[in] | message_length | the length of the message being sent |
Implements Gcs_xcom_statistics_updater.
◆ last_message_timestamp
long Gcs_xcom_statistics::last_message_timestamp |
|
private |
◆ max_message_length
long Gcs_xcom_statistics::max_message_length |
|
private |
◆ min_message_length
long Gcs_xcom_statistics::min_message_length |
|
private |
◆ total_bytes_received
long Gcs_xcom_statistics::total_bytes_received |
|
private |
◆ total_bytes_sent
long Gcs_xcom_statistics::total_bytes_sent |
|
private |
◆ total_messages_received
long Gcs_xcom_statistics::total_messages_received |
|
private |
◆ total_messages_sent
long Gcs_xcom_statistics::total_messages_sent |
|
private |
The documentation for this class was generated from the following files: