クラス osl::game_playing::TimeKeeper

#include <timeKeeper.h>

すべてのメンバ一覧

構成

struct  Stack

Public メソッド

 TimeKeeper ()
 TimeKeeper (int black_time, int white_time)
 ~TimeKeeper ()
void reset (int black_time, int white_time)
void pushMove (Player, int seconds)
void popMove ()
int timeLeft (Player) const
int timeElapsed (Player) const
int timeLimit (Player) const

Private 変数

boost::scoped_ptr< Stackseconds

説明

timeKeeper.h12 行で定義されています。


コンストラクタとデストラクタ

osl::game_playing::TimeKeeper::TimeKeeper (  ) 

timeKeeper.cc12 行で定義されています。

参照先 reset().

osl::game_playing::TimeKeeper::TimeKeeper ( int  black_time,
int  white_time 
)

timeKeeper.cc18 行で定義されています。

参照先 reset().

osl::game_playing::TimeKeeper::~TimeKeeper (  ) 

timeKeeper.cc25 行で定義されています。


関数

void osl::game_playing::TimeKeeper::popMove (  ) 

timeKeeper.cc48 行で定義されています。

参照先 seconds.

参照元 osl::game_playing::GameManager::popMove().

void osl::game_playing::TimeKeeper::pushMove ( Player  turn,
int  seconds 
)

timeKeeper.cc37 行で定義されています。

参照先 osl::BLACK, と seconds.

void osl::game_playing::TimeKeeper::reset ( int  black_time,
int  white_time 
)

timeKeeper.cc30 行で定義されています。

参照先 seconds.

参照元 osl::game_playing::GameManager::setTimeLeft(), と TimeKeeper().

int osl::game_playing::TimeKeeper::timeElapsed ( Player  player  )  const
int osl::game_playing::TimeKeeper::timeLeft ( Player  player  )  const

timeKeeper.cc55 行で定義されています。

参照先 osl::BLACK, と seconds.

参照元 osl::game_playing::CsaLogger::showTimeLeft(), と timeElapsed().

int osl::game_playing::TimeKeeper::timeLimit ( Player  player  )  const

timeKeeper.cc68 行で定義されています。

参照先 osl::BLACK, と seconds.

参照元 osl::game_playing::GameManager::computeMove(), と timeElapsed().


変数

boost::scoped_ptr<Stack> osl::game_playing::TimeKeeper::seconds [private]

timeKeeper.h14 行で定義されています。

参照元 popMove(), pushMove(), reset(), timeLeft(), と timeLimit().


このクラスの説明は次のファイルから生成されました:
 全て クラス ネームスペース ファイル 関数 変数 型定義 列挙型 列挙型の値 フレンド マクロ定義
Sun May 16 09:58:20 2010に生成されました。  doxygen 1.6.3