#include <contexts.hpp>
Public Member Functions | |
side_context_impl (side_number side, const config &) | |
virtual | ~side_context_impl () |
virtual side_number | get_side () const override |
Get the side number. More... | |
virtual void | set_side (side_number side) override |
Set the side number. More... | |
virtual side_context & | get_side_context () override |
unwrap More... | |
virtual int | get_recursion_count () const override |
Get the value of the recursion counter. More... | |
virtual config | to_side_context_config () const override |
serialize this context to config More... | |
Public Member Functions inherited from ai::side_context | |
virtual | ~side_context () |
empty destructor More... | |
side_context () | |
empty constructor More... | |
Private Attributes | |
side_number | side_ |
recursion_counter | recursion_counter_ |
Definition at line 953 of file contexts.hpp.
|
inline |
Definition at line 955 of file contexts.hpp.
|
inlinevirtual |
Definition at line 960 of file contexts.hpp.
|
overridevirtual |
Get the value of the recursion counter.
Implements ai::side_context.
Definition at line 73 of file contexts.cpp.
References ai::recursion_counter::get_count(), and recursion_counter_.
|
inlineoverridevirtual |
Get the side number.
Implements ai::side_context.
Definition at line 962 of file contexts.hpp.
References side_.
|
inlineoverridevirtual |
|
inlineoverridevirtual |
Set the side number.
Implements ai::side_context.
Definition at line 967 of file contexts.hpp.
References side_.
|
overridevirtual |
serialize this context to config
Implements ai::side_context.
Definition at line 260 of file contexts.cpp.
|
private |
Definition at line 983 of file contexts.hpp.
Referenced by get_recursion_count().
|
private |
Definition at line 982 of file contexts.hpp.
Referenced by get_side(), and set_side().