#include <csaLogger.h>
Public メソッド | |
CsaLogger (std::ostream &os) | |
~CsaLogger () | |
void | init (const char *black, const char *white, const state::SimpleState &state) |
void | pushMove (const Move &move, int seconds) |
void | pushMove (const MoveWithComment &move, int seconds) |
void | popMove () |
void | showTimeLeft (const TimeKeeper &) |
void | writeComment (const char *comment) |
void | resign (Player resigned) |
void | inputError (const char *) |
void | breakGame () |
void | endByRepetition (const Sennichite &) |
void | endByDeclaration (Player declarer) |
Private メソッド | |
void | writeLine (const char *line) |
void | writeWinner (Player winner) |
void | writeCurrentDate () |
Private 変数 | |
std::ostream & | output |
csaLogger.h の 23 行で定義されています。
osl::game_playing::CsaLogger::CsaLogger | ( | std::ostream & | os | ) | [explicit] |
csaLogger.cc の 14 行で定義されています。
osl::game_playing::CsaLogger::~CsaLogger | ( | ) |
csaLogger.cc の 19 行で定義されています。
void osl::game_playing::CsaLogger::init | ( | const char * | black, | |
const char * | white, | |||
const state::SimpleState & | state | |||
) |
void osl::game_playing::CsaLogger::pushMove | ( | const Move & | move, | |
int | seconds | |||
) |
void osl::game_playing::CsaLogger::pushMove | ( | const MoveWithComment & | move, | |
int | seconds | |||
) |
void osl::game_playing::CsaLogger::popMove | ( | ) |
void osl::game_playing::CsaLogger::showTimeLeft | ( | const TimeKeeper & | keeper | ) |
csaLogger.cc の 61 行で定義されています。
参照先 osl::BLACK, output, osl::game_playing::TimeKeeper::timeLeft(), と osl::WHITE.
void osl::game_playing::CsaLogger::writeComment | ( | const char * | comment | ) |
void osl::game_playing::CsaLogger::resign | ( | Player | resigned | ) |
void osl::game_playing::CsaLogger::inputError | ( | const char * | message | ) |
void osl::game_playing::CsaLogger::breakGame | ( | ) |
void osl::game_playing::CsaLogger::endByRepetition | ( | const Sennichite & | result | ) |
void osl::game_playing::CsaLogger::endByDeclaration | ( | Player | declarer | ) |
void osl::game_playing::CsaLogger::writeLine | ( | const char * | line | ) | [private] |
void osl::game_playing::CsaLogger::writeWinner | ( | Player | winner | ) | [private] |
void osl::game_playing::CsaLogger::writeCurrentDate | ( | ) | [private] |
csaLogger.cc の 80 行で定義されています。
参照先 output.
参照元 endByDeclaration(), endByRepetition(), init(), と resign().
std::ostream& osl::game_playing::CsaLogger::output [private] |
csaLogger.h の 25 行で定義されています。
参照元 breakGame(), endByDeclaration(), endByRepetition(), init(), inputError(), pushMove(), resign(), showTimeLeft(), writeComment(), writeCurrentDate(), writeLine(), と writeWinner().