#include <csaClient.h>
Public メソッド | |
CsaClient (ComputerPlayer *black, ComputerPlayer *white, CsaLogger *l, std::istream &, std::ostream &) | |
~CsaClient () | |
void | setShowMoveWithComment (bool value=true) |
void | setSilent (bool new_value=true) |
Private メソッド | |
void | readAndProcessCommand () |
void | processComputerMove (const search::MoveWithComment &, int seconds) |
Private 変数 | |
bool | show_move_with_comment |
bool | silent |
std::string | line |
csaClient.h の 11 行で定義されています。
osl::game_playing::CsaClient::CsaClient | ( | ComputerPlayer * | black, | |
ComputerPlayer * | white, | |||
CsaLogger * | l, | |||
std::istream & | is, | |||
std::ostream & | os | |||
) |
csaClient.cc の 18 行で定義されています。
参照先 osl::game_playing::GameManager::setComputerPlayer(), と osl::WHITE.
osl::game_playing::CsaClient::~CsaClient | ( | ) |
csaClient.cc の 27 行で定義されています。
void osl::game_playing::CsaClient::processComputerMove | ( | const search::MoveWithComment & | , | |
int | seconds | |||
) | [private, virtual] |
osl::game_playing::CuiClientを実装しています。
void osl::game_playing::CsaClient::readAndProcessCommand | ( | ) | [private, virtual] |
osl::game_playing::CuiClientを実装しています。
csaClient.cc の 32 行で定義されています。
参照先 osl::BLACK, osl::ctime_r(), osl::game_playing::CuiClient::is, osl::Sennichite::isNormal(), line, osl::game_playing::GameManager::logger, osl::game_playing::CuiClient::os, osl::game_playing::GameState::OTHER_INVALID, osl::game_playing::GameState::PAWN_DROP_FOUL, osl::game_playing::GameManager::pushMove(), osl::game_playing::CsaStopwatch::read(), result, osl::record::csa::show(), silent, osl::game_playing::GameManager::state, osl::record::csa::strToMove(), osl::game_playing::GameManager::time_keeper, osl::game_playing::TimeKeeper::timeElapsed(), timer, osl::game_playing::GameState::UNSAFE_KING, と osl::WHITE.
void osl::game_playing::CsaClient::setShowMoveWithComment | ( | bool | value = true |
) |
csaClient.cc の 126 行で定義されています。
void osl::game_playing::CsaClient::setSilent | ( | bool | new_value = true |
) | [inline] |
csaClient.h の 22 行で定義されています。
参照先 silent.
std::string osl::game_playing::CsaClient::line [private] |
csaClient.h の 15 行で定義されています。
bool osl::game_playing::CsaClient::show_move_with_comment [private] |
csaClient.h の 13 行で定義されています。
bool osl::game_playing::CsaClient::silent [private] |
csaClient.h の 14 行で定義されています。
参照元 readAndProcessCommand(), と setSilent().