The Battle for Wesnoth  1.15.2+dev
Public Member Functions | Public Attributes | List of all members
gui2::dialogs::network_transmission::pump_monitor Class Reference
Inheritance diagram for gui2::dialogs::network_transmission::pump_monitor:
Inheritance graph

Public Member Functions

virtual void process (events::pump_info &) override
 
 pump_monitor (connection_data *&connection)
 
- Public Member Functions inherited from events::pump_monitor
 pump_monitor ()
 
virtual ~pump_monitor ()
 

Public Attributes

connection_data *& connection_
 
boost::optional< window & > window_
 
std::atomic_size_t completed_
 
std::atomic_size_t total_
 
std::atomic_bool stop_
 
std::future< void > poller_
 

Detailed Description

Definition at line 55 of file network_transmission.hpp.

Constructor & Destructor Documentation

◆ pump_monitor()

gui2::dialogs::network_transmission::pump_monitor::pump_monitor ( connection_data *&  connection)

Definition at line 39 of file network_transmission.cpp.

Member Function Documentation

◆ process()

void gui2::dialogs::network_transmission::pump_monitor::process ( events::pump_info )
overridevirtual

Implements events::pump_monitor.

Definition at line 63 of file network_transmission.cpp.

References _(), gui2::OK, and utils::si_string().

Member Data Documentation

◆ completed_

std::atomic_size_t gui2::dialogs::network_transmission::pump_monitor::completed_

Definition at line 66 of file network_transmission.hpp.

◆ connection_

connection_data*& gui2::dialogs::network_transmission::pump_monitor::connection_

Definition at line 62 of file network_transmission.hpp.

◆ poller_

std::future<void> gui2::dialogs::network_transmission::pump_monitor::poller_

◆ stop_

std::atomic_bool gui2::dialogs::network_transmission::pump_monitor::stop_

◆ total_

std::atomic_size_t gui2::dialogs::network_transmission::pump_monitor::total_

Definition at line 66 of file network_transmission.hpp.

◆ window_

boost::optional<window&> gui2::dialogs::network_transmission::pump_monitor::window_

The documentation for this class was generated from the following files: