The Battle for Wesnoth  1.13.4+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Member Functions | Private Attributes | List of all members
network::bandwidth_stats_output Struct Reference

Public Member Functions

 bandwidth_stats_output (std::stringstream &ss)
 
void operator() (const bandwidth_map::value_type &stats)
 
void output_totals ()
 

Private Attributes

std::stringstream & ss_
 
bandwidth_stats_ptr totals_
 

Detailed Description

Definition at line 992 of file network.cpp.

Constructor & Destructor Documentation

network::bandwidth_stats_output::bandwidth_stats_output ( std::stringstream &  ss)
inline

Definition at line 993 of file network.cpp.

Member Function Documentation

void network::bandwidth_stats_output::operator() ( const bandwidth_map::value_type &  stats)
inline
void network::bandwidth_stats_output::output_totals ( )
inline

Definition at line 1005 of file network.cpp.

References totals_.

Referenced by network::get_bandwidth_stats().

Member Data Documentation

std::stringstream& network::bandwidth_stats_output::ss_
private

Definition at line 1010 of file network.cpp.

Referenced by operator()().

bandwidth_stats_ptr network::bandwidth_stats_output::totals_
private

Definition at line 1011 of file network.cpp.

Referenced by operator()(), and output_totals().


The documentation for this struct was generated from the following file: