#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 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 の 16 行で定義されています。
参照先 osl::game_playing::GameManager::setComputerPlayer(), と osl::WHITE.
osl::game_playing::CsaClient::~CsaClient | ( | ) |
csaClient.cc の 25 行で定義されています。
void osl::game_playing::CsaClient::setShowMoveWithComment | ( | bool | value = true |
) |
void osl::game_playing::CsaClient::setSilent | ( | bool | new_value = true |
) | [inline] |
void osl::game_playing::CsaClient::readAndProcessCommand | ( | ) | [private, virtual] |
osl::game_playing::CuiClientを実装しています。
csaClient.cc の 30 行で定義されています。
参照先 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(), silent, osl::game_playing::GameManager::state, osl::record::usi::strToMove(), と osl::game_playing::GameState::UNSAFE_KING.
void osl::game_playing::CsaClient::processComputerMove | ( | const MoveWithComment & | selected, | |
int | seconds | |||
) | [private, virtual] |
osl::game_playing::CuiClientを実装しています。
csaClient.cc の 102 行で定義されています。
参照先 osl::Move::DeclareWin(), osl::game_playing::GameManager::isComputer(), osl::Sennichite::isNormal(), osl::Move::isNormal(), osl::game_playing::GameManager::logger, osl::game_playing::MoveWithComment::move, osl::game_playing::MoveWithComment::moves, osl::game_playing::CuiClient::os, osl::game_playing::GameManager::pushMove(), show(), show_move_with_comment, osl::game_playing::GameManager::state, と osl::game_playing::MoveWithComment::value.
bool osl::game_playing::CsaClient::show_move_with_comment [private] |
bool osl::game_playing::CsaClient::silent [private] |
std::string osl::game_playing::CsaClient::line [private] |