#include <network.hpp>
Public Member Functions | |
| statistics () | |
| void | fresh_current (size_t len) |
| void | transfer (size_t size) |
| bool | operator== (const statistics &stats) const |
| bool | operator!= (const statistics &stats) const |
Public Attributes | |
| size_t | total |
| The accumulated bytes of the session. | |
| size_t | current |
| The current buffer accumulated bytes (sent/received. | |
| size_t | current_max |
| The current buffer size (i.e. | |
Definition at line 270 of file network.hpp.
| network::statistics::statistics | ( | ) | [inline] |
Definition at line 272 of file network.hpp.
| void network::statistics::fresh_current | ( | size_t | len | ) | [inline] |
Definition at line 273 of file network.hpp.
References current, and current_max.
| bool network::statistics::operator!= | ( | const statistics & | stats | ) | const [inline] |
Definition at line 287 of file network.hpp.
References operator==().

| bool network::statistics::operator== | ( | const statistics & | stats | ) | const [inline] |
Definition at line 283 of file network.hpp.
References current, current_max, and total.
Referenced by operator!=().

| void network::statistics::transfer | ( | size_t | size | ) | [inline] |
Definition at line 278 of file network.hpp.
| size_t network::statistics::current |
The current buffer accumulated bytes (sent/received.
)
Definition at line 292 of file network.hpp.
Referenced by fresh_current(), ana_component::get_receive_stats(), ana_component::get_send_stats(), dialogs::network_data_dialog(), operator==(), and transfer().
The current buffer size (i.e.
being received/sent.)
Definition at line 293 of file network.hpp.
Referenced by fresh_current(), ana_component::get_receive_stats(), ana_component::get_send_stats(), dialogs::network_data_dialog(), and operator==().
| size_t network::statistics::total |
The accumulated bytes of the session.
Definition at line 291 of file network.hpp.
Referenced by ana_component::get_receive_stats(), ana_component::get_send_stats(), operator==(), and transfer().
| Generated by doxygen 1.7.1 on Fri May 25 2012 01:24:38 for The Battle for Wesnoth | Gna! | Forum | Wiki | CIA | devdocs |