gnuShogiClient.h
Go to the documentation of this file.
00001 /* gnuShogiClient.h
00002  */
00003 #ifndef GAMEPLAYING_GNUSHOGICLIENT_H
00004 #define GAMEPLAYING_GNUSHOGICLIENT_H
00005 
00006 #include "osl/game_playing/cuiClient.h"
00007 namespace osl
00008 {
00009   namespace game_playing
00010   {
00011     struct GnuShogiQuit {};
00012     class GnuShogiClient : public CuiClient
00013     {
00014     public:
00015       GnuShogiClient(ComputerPlayer *black, ComputerPlayer *white,
00016                      CsaLogger *l,
00017                      std::istream&, std::ostream&);
00018       ~GnuShogiClient();
00019     private:
00020       bool readAndProcessCommand();
00021       void processComputerMove(const search::MoveWithComment&, int seconds);
00022       void preComputeNextMove();
00023     };
00024 
00025   } // namespace game_playing
00026 } // namespace osl
00027 
00028 
00029 #endif /* _GNUSHOGICLIENT_H */
00030 // ;;; Local Variables:
00031 // ;;; mode:c++
00032 // ;;; c-basic-offset:2
00033 // ;;; End:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines