Index   Main   Namespaces   Classes   Hierarchy   Annotated   Files   Compound   Global   Pages  

SgTimeControl Class Reference

#include <SgTimeControl.h>

Inheritance diagram for SgTimeControl:

Inheritance graph
[legend]
List of all members.

Detailed Description

Basic interface for all time managers.

Definition at line 15 of file SgTimeControl.h.

Public Member Functions

virtual ~SgTimeControl ()
virtual double TimeForCurrentMove (const SgTimeRecord &timeRecord, bool quiet=false)=0
 Suggest a time for the current move.


Constructor & Destructor Documentation

SgTimeControl::~SgTimeControl (  )  [virtual]

Definition at line 17 of file SgTimeControl.cpp.


Member Function Documentation

virtual double SgTimeControl::TimeForCurrentMove ( const SgTimeRecord timeRecord,
bool  quiet = false 
) [pure virtual]

Suggest a time for the current move.

See class description.

Parameters:
timeRecord Time settings and clock state of current game.
quiet Don't print logging information to SgDebug()
Returns:
Time suggestion for current move in seconds.

Implemented in SgDefaultTimeControl.


The documentation for this class was generated from the following files:


17 Jun 2010 Doxygen 1.4.7