#include <cuiClient.h>
Public メソッド | |
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 () |
Protected メソッド | |
virtual void | readAndProcessCommand ()=0 |
virtual void | processComputerMove (const MoveWithComment &, int seconds)=0 |
Protected 変数 | |
std::istream & | is |
std::ostream & | os |
Private 変数 | |
volatile int | stop_by_outside |
non-zero value forces resign |
cuiClient.h の 11 行で定義されています。
osl::game_playing::CuiClient::CuiClient | ( | ComputerPlayer * | black, | |
ComputerPlayer * | white, | |||
CsaLogger * | l, | |||
std::istream & | i, | |||
std::ostream & | o | |||
) |
cuiClient.cc の 9 行で定義されています。
osl::game_playing::CuiClient::~CuiClient | ( | ) |
cuiClient.cc の 16 行で定義されています。
void osl::game_playing::CuiClient::run | ( | const char * | black, | |
const char * | white | |||
) |
cuiClient.cc の 21 行で定義されています。
参照先 osl::game_playing::GameManager::logger, run(), と osl::game_playing::GameManager::state.
void osl::game_playing::CuiClient::run | ( | ) |
cuiClient.cc の 28 行で定義されています。
参照先 osl::game_playing::GameManager::computeMove(), osl::Move::INVALID(), osl::game_playing::GameManager::isComputer(), osl::game_playing::GameManager::logger, processComputerMove(), readAndProcessCommand(), osl::game_playing::GameManager::state, と stop_by_outside.
参照元 run().
volatile int* osl::game_playing::CuiClient::stopFlag | ( | ) | [inline] |
virtual void osl::game_playing::CuiClient::readAndProcessCommand | ( | ) | [protected, pure virtual] |
virtual void osl::game_playing::CuiClient::processComputerMove | ( | const MoveWithComment & | , | |
int | seconds | |||
) | [protected, pure virtual] |
std::istream& osl::game_playing::CuiClient::is [protected] |
std::ostream& osl::game_playing::CuiClient::os [protected] |
volatile int osl::game_playing::CuiClient::stop_by_outside [private] |