The Battle for Wesnoth  1.13.4+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Static Public Member Functions | Private Types | Static Private Member Functions | Friends | List of all members
syncmp_registry Class Reference

#include <syncmp_handler.hpp>

Static Public Member Functions

static void pull_remote_choice ()
 
static void send_user_choice ()
 

Private Types

typedef std::vector
< syncmp_handler * > 
t_handlers
 

Static Private Member Functions

static void remove_handler (syncmp_handler *handler)
 
static void add_handler (syncmp_handler *handler)
 
static t_handlershandlers ()
 

Friends

class syncmp_handler
 

Detailed Description

Definition at line 30 of file syncmp_handler.hpp.

Member Typedef Documentation

typedef std::vector<syncmp_handler*> syncmp_registry::t_handlers
private

Definition at line 39 of file syncmp_handler.hpp.

Member Function Documentation

void syncmp_registry::add_handler ( syncmp_handler handler)
staticprivate

Definition at line 43 of file syncmp_handler.cpp.

References gui2::event::find(), and handlers().

Referenced by syncmp_handler::syncmp_handler().

std::vector< syncmp_handler * > & syncmp_registry::handlers ( )
staticprivate
void syncmp_registry::pull_remote_choice ( )
static

Definition at line 50 of file syncmp_handler.cpp.

References handlers().

Referenced by synced_context::pull_remote_user_input().

void syncmp_registry::remove_handler ( syncmp_handler handler)
staticprivate

Definition at line 36 of file syncmp_handler.cpp.

References gui2::event::find(), and handlers().

Referenced by syncmp_handler::~syncmp_handler().

void syncmp_registry::send_user_choice ( )
static

Definition at line 58 of file syncmp_handler.cpp.

References handlers().

Referenced by synced_context::send_user_choice().

Friends And Related Function Documentation

friend class syncmp_handler
friend

Definition at line 38 of file syncmp_handler.hpp.


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