The Battle for Wesnoth  1.13.4+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Classes | Namespaces | Macros | Typedefs | Functions
player_connection.hpp File Reference
#include "simple_wml.hpp"
#include "player.hpp"
#include <boost/asio.hpp>
#include <boost/shared_ptr.hpp>
#include <boost/multi_index_container.hpp>
#include <boost/multi_index/member.hpp>
#include <boost/multi_index/mem_fun.hpp>
#include <boost/multi_index/ordered_index.hpp>
#include <boost/multi_index/hashed_index.hpp>
Include dependency graph for player_connection.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  wesnothd::player_record
 
struct  wesnothd::socket_t
 
struct  wesnothd::name_t
 
struct  wesnothd::game_t
 

Namespaces

 wesnothd
 

Macros

#define BOOST_ASIO_DISABLE_THREADS
 

Typedefs

typedef boost::shared_ptr
< boost::asio::ip::tcp::socket > 
wesnothd::socket_ptr
 
typedef multi_index_container
< player_record, indexed_by
< ordered_unique< tag
< socket_t >
, BOOST_MULTI_INDEX_CONST_MEM_FUN(player_record,
const socket_ptr, socket)>
, hashed_unique< tag< name_t >
, BOOST_MULTI_INDEX_CONST_MEM_FUN(player_record,
const std::string &, name)>
, ordered_non_unique< tag
< game_t >
, BOOST_MULTI_INDEX_CONST_MEM_FUN(player_record,
int, game_id)> >> 
wesnothd::player_connections
 

Functions

void wesnothd::send_to_player (socket_ptr socket, simple_wml::document &doc)
 
template<typename Container >
void wesnothd::send_to_players (simple_wml::document &data, const Container &players, socket_ptr exclude=socket_ptr())
 
void wesnothd::send_server_message (socket_ptr socket, const std::string &message)
 
std::string wesnothd::client_address (socket_ptr socket)
 

Macro Definition Documentation

#define BOOST_ASIO_DISABLE_THREADS

Definition at line 23 of file player_connection.hpp.