All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Private Member Functions | Private Attributes
osl::game_playing::CsaClient Class Reference

#include <csaClient.h>

Inheritance diagram for osl::game_playing::CsaClient:
Inheritance graph
[legend]
Collaboration diagram for osl::game_playing::CsaClient:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 CsaClient (ComputerPlayer *black, ComputerPlayer *white, CsaLogger *l, std::istream &, std::ostream &)
 ~CsaClient ()
void setShowMoveWithComment (bool value=true)
void setSilent (bool new_value=true)

Private Member Functions

bool readAndProcessCommand ()
void processComputerMove (const search::MoveWithComment &, int seconds)

Private Attributes

bool show_move_with_comment
bool silent
std::string line

Detailed Description

Definition at line 11 of file csaClient.h.


Constructor & Destructor Documentation

osl::game_playing::CsaClient::CsaClient ( ComputerPlayer black,
ComputerPlayer white,
CsaLogger l,
std::istream &  is,
std::ostream &  os 
)

Definition at line 18 of file csaClient.cc.

References osl::game_playing::GameManager::setComputerPlayer(), and osl::WHITE.

Definition at line 27 of file csaClient.cc.


Member Function Documentation

void osl::game_playing::CsaClient::processComputerMove ( const search::MoveWithComment ,
int  seconds 
) [private, virtual]

Definition at line 127 of file csaClient.cc.

void osl::game_playing::CsaClient::setSilent ( bool  new_value = true) [inline]

Definition at line 22 of file csaClient.h.

References silent.


Member Data Documentation

std::string osl::game_playing::CsaClient::line [private]

Definition at line 15 of file csaClient.h.

Definition at line 13 of file csaClient.h.

Definition at line 14 of file csaClient.h.

Referenced by setSilent().


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines