Index   Main   Namespaces   Classes   Hierarchy   Annotated   Files   Compound   Global   Pages  
Public Member Functions

SgTimeControl Class Reference

Basic interface for all time managers. More...

#include <SgTimeControl.h>

Inheritance diagram for SgTimeControl:
Inheritance graph
[legend]

List of all members.

Public Member Functions

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

Detailed Description

Basic interface for all time managers.

Definition at line 15 of file SgTimeControl.h.


Constructor & Destructor Documentation

SgTimeControl::~SgTimeControl (  )  [virtual]

Definition at line 16 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:


Sun Mar 13 2011 Doxygen 1.7.1