The Battle for Wesnoth  1.15.2+dev
Public Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes | List of all members
set_scontext_synced Class Reference

#include <synced_context.hpp>

Inheritance diagram for set_scontext_synced:
Inheritance graph

Public Member Functions

 set_scontext_synced ()
 
 set_scontext_synced (int num)
 
 ~set_scontext_synced ()
 
int get_random_calls ()
 
void do_final_checkup (bool dont_throw=false)
 

Private Member Functions

void init ()
 
- Private Member Functions inherited from set_scontext_synced_base
 set_scontext_synced_base ()
 
 ~set_scontext_synced_base ()
 

Static Private Member Functions

static checkupgenerate_checkup (const std::string &tagname)
 

Private Attributes

checkupold_checkup_
 
const std::unique_ptr< checkupnew_checkup_
 
events::command_disabler disabler_
 
bool did_final_checkup_
 
- Private Attributes inherited from set_scontext_synced_base
std::shared_ptr< randomness::rngnew_rng_
 
randomness::rngold_rng_
 

Detailed Description

Definition at line 194 of file synced_context.hpp.

Constructor & Destructor Documentation

◆ set_scontext_synced() [1/2]

set_scontext_synced::set_scontext_synced ( )

Definition at line 403 of file synced_context.cpp.

References init().

◆ set_scontext_synced() [2/2]

set_scontext_synced::set_scontext_synced ( int  num)

Definition at line 410 of file synced_context.cpp.

References init().

◆ ~set_scontext_synced()

set_scontext_synced::~set_scontext_synced ( )

Member Function Documentation

◆ do_final_checkup()

void set_scontext_synced::do_final_checkup ( bool  dont_throw = false)

◆ generate_checkup()

checkup * set_scontext_synced::generate_checkup ( const std::string &  tagname)
staticprivate

Definition at line 417 of file synced_context.cpp.

References resources::classification, and resources::recorder.

◆ get_random_calls()

int set_scontext_synced::get_random_calls ( )

Definition at line 492 of file synced_context.cpp.

References set_scontext_synced_base::new_rng_.

◆ init()

void set_scontext_synced::init ( )
private

Member Data Documentation

◆ did_final_checkup_

bool set_scontext_synced::did_final_checkup_
private

Definition at line 212 of file synced_context.hpp.

Referenced by do_final_checkup(), init(), and ~set_scontext_synced().

◆ disabler_

events::command_disabler set_scontext_synced::disabler_
private

Definition at line 211 of file synced_context.hpp.

◆ new_checkup_

const std::unique_ptr<checkup> set_scontext_synced::new_checkup_
private

Definition at line 210 of file synced_context.hpp.

Referenced by init(), and ~set_scontext_synced().

◆ old_checkup_

checkup* set_scontext_synced::old_checkup_
private

Definition at line 209 of file synced_context.hpp.

Referenced by init(), and ~set_scontext_synced().


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