#include <gnuShogiClient.h>
Public メソッド | |
GnuShogiClient (ComputerPlayer *black, ComputerPlayer *white, CsaLogger *l, std::istream &, std::ostream &) | |
~GnuShogiClient () | |
Private メソッド | |
void | readAndProcessCommand () |
void | processComputerMove (const MoveWithComment &, int seconds) |
void | preComputeNextMove () |
gnuShogiClient.h の 11 行で定義されています。
osl::game_playing::GnuShogiClient::GnuShogiClient | ( | ComputerPlayer * | black, | |
ComputerPlayer * | white, | |||
CsaLogger * | l, | |||
std::istream & | is, | |||
std::ostream & | os | |||
) |
gnuShogiClient.cc の 14 行で定義されています。
osl::game_playing::GnuShogiClient::~GnuShogiClient | ( | ) |
gnuShogiClient.cc の 22 行で定義されています。
void osl::game_playing::GnuShogiClient::readAndProcessCommand | ( | ) | [private, virtual] |
osl::game_playing::CuiClientを実装しています。
gnuShogiClient.cc の 27 行で定義されています。
参照先 osl::alt(), osl::BLACK, osl::Sennichite::BLACK_LOSE(), osl::game_playing::CuiClient::is, osl::game_playing::GameManager::isComputer(), osl::Sennichite::isNormal(), osl::game_playing::GameManager::logger, osl::game_playing::CuiClient::os, osl::game_playing::GameManager::popMove(), osl::game_playing::GameManager::pushMove(), osl::game_playing::CsaStopwatch::read(), osl::game_playing::GameManager::setComputerPlayer(), osl::game_playing::GameManager::setTimeLeft(), osl::game_playing::GameManager::state, osl::record::usi::strToMove(), osl::WHITE, と osl::Sennichite::WHITE_LOSE().
void osl::game_playing::GnuShogiClient::processComputerMove | ( | const MoveWithComment & | selected, | |
int | seconds | |||
) | [private, virtual] |
osl::game_playing::CuiClientを実装しています。
gnuShogiClient.cc の 116 行で定義されています。
参照先 osl::alt(), osl::BLACK, osl::Sennichite::BLACK_LOSE(), osl::Move::isNormal(), osl::game_playing::GameManager::logger, osl::game_playing::MoveWithComment::move, osl::game_playing::CuiClient::os, osl::game_playing::GameManager::pushMove(), osl::game_playing::GameManager::setComputerPlayer(), show(), osl::game_playing::GameManager::state, osl::game_playing::GameManager::time_keeper, osl::game_playing::TimeKeeper::timeLeft(), osl::WHITE, と osl::Sennichite::WHITE_LOSE().
void osl::game_playing::GnuShogiClient::preComputeNextMove | ( | ) | [private] |