#include <csaClient.h>


| Public Member Functions | |
| CsaClient (ComputerPlayer *black, ComputerPlayer *white, CsaLogger *l, std::istream &, std::ostream &) | |
| ~CsaClient () | |
| void | setShowMoveWithComment (bool value=true) | 
| void | setSilent (bool new_value=true) | 
|  Public Member Functions inherited from osl::game_playing::CuiClient | |
| CuiClient (ComputerPlayer *black, ComputerPlayer *white, CsaLogger *l, std::istream &, std::ostream &) | |
| ~CuiClient () | |
| void | run (const char *black, const char *white) | 
| void | run () | 
| volatile int * | stopFlag () | 
|  Public Member Functions inherited from osl::game_playing::GameManager | |
| GameManager (ComputerPlayer *black, ComputerPlayer *white, CsaLogger *logger) | |
| virtual | ~GameManager () | 
| void | load (const char *csa_filename, bool verbose=false) | 
| void | setTimeLeft (int black_time, int white_time) | 
| void | setByoyomi (int seconds) | 
| void | resetLogger (CsaLogger *l) | 
| void | setComputerPlayer (Player turn, bool is_computer) | 
| bool | isComputer (Player turn) const | 
| const search::MoveWithComment | computeMove (int &consumed) | 
| int | eval (Player turn, Move m) | 
| Private Member Functions | |
| bool | readAndProcessCommand () | 
| void | processComputerMove (const search::MoveWithComment &, int seconds) | 
| Private Attributes | |
| bool | show_move_with_comment | 
| bool | silent | 
| std::string | line | 
| Additional Inherited Members | |
|  Protected Member Functions inherited from osl::game_playing::GameManager | |
| const Sennichite | pushMove (const search::MoveWithComment &, int seconds) | 
| void | popMove () | 
|  Protected Attributes inherited from osl::game_playing::CuiClient | |
| std::istream & | is | 
| std::ostream & | os | 
Definition at line 11 of file csaClient.h.
| osl::game_playing::CsaClient::CsaClient | ( | ComputerPlayer * | black, | 
| ComputerPlayer * | white, | ||
| CsaLogger * | l, | ||
| std::istream & | is, | ||
| std::ostream & | os | ||
| ) | 
Definition at line 18 of file csaClient.cc.
References osl::game_playing::GameManager::setComputerPlayer(), and osl::WHITE.
| osl::game_playing::CsaClient::~CsaClient | ( | ) | 
Definition at line 27 of file csaClient.cc.
| 
 | privatevirtual | 
Implements osl::game_playing::CuiClient.
Definition at line 133 of file csaClient.cc.
References osl::Move::DeclareWin(), osl::Sennichite::isNormal(), osl::Move::isNormal(), osl::Move::move, result, and osl::record::csa::show().
| 
 | privatevirtual | 
Implements osl::game_playing::CuiClient.
Definition at line 32 of file csaClient.cc.
References osl::BLACK, osl::ctime_r(), osl::Sennichite::isNormal(), osl::game_playing::GameState::OTHER_INVALID, osl::game_playing::GameState::PAWN_DROP_FOUL, osl::game_playing::CsaStopwatch::read(), result, osl::record::csa::show(), osl::record::csa::strToMove(), timer, osl::game_playing::GameState::UNSAFE_KING, and osl::WHITE.
| void osl::game_playing::CsaClient::setShowMoveWithComment | ( | bool | value = true) | 
Definition at line 127 of file csaClient.cc.
| 
 | inline | 
Definition at line 22 of file csaClient.h.
References silent.
| 
 | private | 
Definition at line 15 of file csaClient.h.
| 
 | private | 
Definition at line 13 of file csaClient.h.
| 
 | private | 
Definition at line 14 of file csaClient.h.
Referenced by setSilent().
 1.8.4
 1.8.4