#include <cuiClient.h>


Public Member Functions | |
| 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 Member Functions | |
| virtual bool | readAndProcessCommand ()=0 |
| virtual void | processComputerMove (const search::MoveWithComment &, int seconds)=0 |
Protected Attributes | |
| std::istream & | is |
| std::ostream & | os |
Private Attributes | |
| volatile int | stop_by_outside |
| non-zero value forces resign | |
Definition at line 11 of file cuiClient.h.
| osl::game_playing::CuiClient::CuiClient | ( | ComputerPlayer * | black, |
| ComputerPlayer * | white, | ||
| CsaLogger * | l, | ||
| std::istream & | i, | ||
| std::ostream & | o | ||
| ) |
Definition at line 9 of file cuiClient.cc.
Definition at line 16 of file cuiClient.cc.
| virtual void osl::game_playing::CuiClient::processComputerMove | ( | const search::MoveWithComment & | , |
| int | seconds | ||
| ) | [protected, pure virtual] |
Implemented in osl::game_playing::CsaClient, and osl::game_playing::GnuShogiClient.
| virtual bool osl::game_playing::CuiClient::readAndProcessCommand | ( | ) | [protected, pure virtual] |
Implemented in osl::game_playing::CsaClient, and osl::game_playing::GnuShogiClient.
| void osl::game_playing::CuiClient::run | ( | const char * | black, |
| const char * | white | ||
| ) |
Definition at line 21 of file cuiClient.cc.
References run().
| void osl::game_playing::CuiClient::run | ( | ) |
Definition at line 28 of file cuiClient.cc.
References osl::Move::INVALID().
| volatile int* osl::game_playing::CuiClient::stopFlag | ( | ) | [inline] |
Definition at line 25 of file cuiClient.h.
References stop_by_outside.
std::istream& osl::game_playing::CuiClient::is [protected] |
Definition at line 14 of file cuiClient.h.
std::ostream& osl::game_playing::CuiClient::os [protected] |
Definition at line 15 of file cuiClient.h.
volatile int osl::game_playing::CuiClient::stop_by_outside [private] |
1.7.6.1