The Battle for Wesnoth  1.15.1+dev
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 * > handler_list
 

Static Private Member Functions

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

Friends

class syncmp_handler
 

Detailed Description

Definition at line 30 of file syncmp_handler.hpp.

Member Typedef Documentation

◆ handler_list

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

Definition at line 39 of file syncmp_handler.hpp.

Member Function Documentation

◆ add_handler()

void syncmp_registry::add_handler ( syncmp_handler handler)
staticprivate

Definition at line 43 of file syncmp_handler.cpp.

References gui2::event::find().

Referenced by syncmp_handler::syncmp_handler().

◆ handlers()

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

Definition at line 29 of file syncmp_handler.cpp.

◆ pull_remote_choice()

void syncmp_registry::pull_remote_choice ( )
static

Definition at line 50 of file syncmp_handler.cpp.

Referenced by synced_context::pull_remote_user_input().

◆ remove_handler()

void syncmp_registry::remove_handler ( syncmp_handler handler)
staticprivate

Definition at line 36 of file syncmp_handler.cpp.

References gui2::event::find().

Referenced by syncmp_handler::~syncmp_handler().

◆ send_user_choice()

void syncmp_registry::send_user_choice ( )
static

Definition at line 58 of file syncmp_handler.cpp.

Referenced by synced_context::send_user_choice().

Friends And Related Function Documentation

◆ syncmp_handler

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: