The Battle for Wesnoth  1.19.0-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 31 of file syncmp_handler.hpp.

Member Typedef Documentation

◆ handler_list

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

Definition at line 40 of file syncmp_handler.hpp.

Member Function Documentation

◆ add_handler()

void syncmp_registry::add_handler ( syncmp_handler handler)
staticprivate

Definition at line 45 of file syncmp_handler.cpp.

References handlers().

Referenced by syncmp_handler::syncmp_handler().

◆ handlers()

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

◆ pull_remote_choice()

void syncmp_registry::pull_remote_choice ( )
static

Definition at line 52 of file syncmp_handler.cpp.

References handlers().

Referenced by synced_context::pull_remote_user_input().

◆ remove_handler()

void syncmp_registry::remove_handler ( syncmp_handler handler)
staticprivate

Definition at line 38 of file syncmp_handler.cpp.

References handlers().

Referenced by syncmp_handler::~syncmp_handler().

◆ send_user_choice()

void syncmp_registry::send_user_choice ( )
static

Definition at line 60 of file syncmp_handler.cpp.

References handlers().

Referenced by synced_context::send_user_choice().

Friends And Related Function Documentation

◆ syncmp_handler

friend class syncmp_handler
friend

Definition at line 39 of file syncmp_handler.hpp.


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