The Battle for Wesnoth  1.15.0-dev
Public Member Functions | List of all members
gui2::dialogs::network_transmission::connection_data Class Referenceabstract

A wrapper of either a wesnothd_connection or a network_asio::connection. More...

#include <network_transmission.hpp>

Public Member Functions

virtual std::size_t total ()
 
virtual std::size_t current ()
 
virtual bool finished ()=0
 
virtual void cancel ()=0
 
virtual void poll ()=0
 
virtual ~connection_data ()
 

Detailed Description

A wrapper of either a wesnothd_connection or a network_asio::connection.

Definition at line 39 of file network_transmission.hpp.

Constructor & Destructor Documentation

◆ ~connection_data()

virtual gui2::dialogs::network_transmission::connection_data::~connection_data ( )
inlinevirtual

Definition at line 47 of file network_transmission.hpp.

Member Function Documentation

◆ cancel()

virtual void gui2::dialogs::network_transmission::connection_data::cancel ( )
pure virtual

◆ current()

virtual std::size_t gui2::dialogs::network_transmission::connection_data::current ( )
inlinevirtual

Definition at line 43 of file network_transmission.hpp.

References cancel(), finished(), and poll().

◆ finished()

virtual bool gui2::dialogs::network_transmission::connection_data::finished ( )
pure virtual

Referenced by current().

◆ poll()

virtual void gui2::dialogs::network_transmission::connection_data::poll ( )
pure virtual

Referenced by current().

◆ total()

virtual std::size_t gui2::dialogs::network_transmission::connection_data::total ( )
inlinevirtual

Definition at line 42 of file network_transmission.hpp.


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