Main Page
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
include
osl
game_playing
csaClient.h
Go to the documentation of this file.
1
/* csaClient.h
2
*/
3
#ifndef GAME_PLAYING_CSACLIENT_H
4
#define GAME_PLAYING_CSACLIENT_H
5
#include "
osl/game_playing/cuiClient.h
"
6
7
namespace
osl
8
{
9
namespace
game_playing
10
{
11
class
CsaClient
:
public
CuiClient
12
{
13
bool
show_move_with_comment
;
14
bool
silent
;
15
std::string
line
;
16
public
:
17
CsaClient
(
ComputerPlayer
*black,
ComputerPlayer
*white,
18
CsaLogger
*l,
19
std::istream&, std::ostream&);
20
~CsaClient
();
21
void
setShowMoveWithComment
(
bool
value=
true
);
22
void
setSilent
(
bool
new_value=
true
) {
23
silent
= new_value;
24
}
25
private
:
26
bool
readAndProcessCommand
();
27
void
processComputerMove
(
const
search::MoveWithComment
&,
int
seconds);
28
};
29
}
// namespace game_playing
30
}
// namespace osl
31
32
33
#endif
/* _CSACLIENT_H */
34
// ;;; Local Variables:
35
// ;;; mode:c++
36
// ;;; c-basic-offset:2
37
// ;;; End:
Generated on Sun Jul 21 2013 13:37:23 by
1.8.4