Xiangiqgame
AI engine for Xiangqi
Loading...
Searching...
No Matches
boardstate::TranspositionTableGuardForConcepts Class Reference

Contains std::mutex that other classes lock before accessing TranspositionTableForConcepts. More...

#include <zobrist_for_concepts.hpp>

Collaboration diagram for boardstate::TranspositionTableGuardForConcepts:
Collaboration graph

Public Member Functions

 TranspositionTableGuardForConcepts ()=default
 
 TranspositionTableGuardForConcepts (const TranspositionTableGuardForConcepts &)=delete
 
TranspositionTableGuardForConceptsoperator= (const TranspositionTableGuardForConcepts &)=delete
 
std::unique_lock< std::mutex > GetExclusiveLock ()
 

Private Attributes

std::mutex tr_table_mutex_
 

Detailed Description

Contains std::mutex that other classes lock before accessing TranspositionTableForConcepts.

Definition at line 232 of file zobrist_for_concepts.hpp.

Constructor & Destructor Documentation

◆ TranspositionTableGuardForConcepts() [1/2]

boardstate::TranspositionTableGuardForConcepts::TranspositionTableGuardForConcepts ( )
default

◆ TranspositionTableGuardForConcepts() [2/2]

boardstate::TranspositionTableGuardForConcepts::TranspositionTableGuardForConcepts ( const TranspositionTableGuardForConcepts )
delete

Member Function Documentation

◆ GetExclusiveLock()

std::unique_lock< std::mutex > boardstate::TranspositionTableGuardForConcepts::GetExclusiveLock ( )
inline

Definition at line 242 of file zobrist_for_concepts.hpp.

◆ operator=()

TranspositionTableGuardForConcepts & boardstate::TranspositionTableGuardForConcepts::operator= ( const TranspositionTableGuardForConcepts )
delete

Member Data Documentation

◆ tr_table_mutex_

std::mutex boardstate::TranspositionTableGuardForConcepts::tr_table_mutex_
mutableprivate

Definition at line 233 of file zobrist_for_concepts.hpp.


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