#include <reader.h>
rcsc::rcg::Readerに対する継承グラフ
Public メソッド | |
Reader (Holder &holder) | |
construct with holder object | |
virtual | ~Reader () |
virtual destructor | |
virtual bool | handleLogVersion (const int ver) |
records rcg version | |
virtual bool | handleDispInfo (const dispinfo_t &info) |
add distpinfo_t to the holder. | |
virtual bool | handleShowInfo (const showinfo_t &info) |
adds showinfo_t to the holder. | |
virtual bool | handleShortShowInfo2 (const short_showinfo_t2 &info) |
adds short_showinfo_t2 to the holder. | |
virtual bool | handleMsgInfo (Int16 board, const std::string &msg) |
adds msginfo_t to the holder. | |
virtual bool | handlePlayMode (char playmode) |
adds latest playmode to the holder. | |
virtual bool | handleTeamInfo (const team_t &team_left, const team_t &team_right) |
adds two team info to the holder. | |
virtual bool | handlePlayerType (const player_type_t &type) |
adds player_type_t to the holder. | |
virtual bool | handleServerParam (const server_params_t ¶m) |
adds server_params_t to the holder. | |
virtual bool | handlePlayerParam (const player_params_t ¶m) |
adds player_params_t to the holder. | |
virtual bool | handleEOF () |
called when stream reaches the end of file. | |
virtual bool | handleShow (const int time, const ShowInfoT &show) |
(pure virtual) handle the start of show info v4 | |
virtual bool | handleMsg (const int time, const int board, const std::string &msg) |
handle msg info | |
virtual bool | handlePlayMode (const int time, const PlayMode pm) |
handle playmode | |
virtual bool | handleTeam (const int time, const TeamT &team_l, const TeamT &team_r) |
handle team info | |
virtual bool | handleServerParam (const std::string &msg) |
handle server_param message | |
virtual bool | handlePlayerParam (const std::string &msg) |
handle player_param message | |
virtual bool | handlePlayerType (const std::string &msg) |
handle player_type message |
rcsc::rcg::Reader::Reader | ( | Holder & | holder | ) | [inline, explicit] |
construct with holder object
holder | reference to the holder instance. |
virtual bool rcsc::rcg::Reader::handleLogVersion | ( | const int | ver | ) | [inline, virtual] |
records rcg version
ver | log version. |
rcsc::rcg::Handlerを再定義しています。
virtual bool rcsc::rcg::Reader::handleDispInfo | ( | const dispinfo_t & | info | ) | [inline, virtual] |
add distpinfo_t to the holder.
info | const reference of dispinfo_t struct. |
rcsc::rcg::Handlerを実装しています。
virtual bool rcsc::rcg::Reader::handleShowInfo | ( | const showinfo_t & | info | ) | [inline, virtual] |
adds showinfo_t to the holder.
info | const reference of showinfo_t struct. |
rcsc::rcg::Handlerを実装しています。
virtual bool rcsc::rcg::Reader::handleShortShowInfo2 | ( | const short_showinfo_t2 & | info | ) | [inline, virtual] |
adds short_showinfo_t2 to the holder.
info | const reference of short_showinfo_t struct. |
rcsc::rcg::Handlerを実装しています。
virtual bool rcsc::rcg::Reader::handleMsgInfo | ( | Int16 | board, | |
const std::string & | msg | |||
) | [inline, virtual] |
adds msginfo_t to the holder.
board | board parametor of msginfo_t | |
msg | converted std::string message. |
rcsc::rcg::Handlerを実装しています。
virtual bool rcsc::rcg::Reader::handlePlayMode | ( | char | playmode | ) | [inline, virtual] |
adds latest playmode to the holder.
playmode | type id(char) of playmode. |
rcsc::rcg::Handlerを実装しています。
virtual bool rcsc::rcg::Reader::handleTeamInfo | ( | const team_t & | team_left, | |
const team_t & | team_right | |||
) | [inline, virtual] |
virtual bool rcsc::rcg::Reader::handlePlayerType | ( | const player_type_t & | type | ) | [inline, virtual] |
adds player_type_t to the holder.
type | player_type_t info |
rcsc::rcg::Handlerを実装しています。
virtual bool rcsc::rcg::Reader::handleServerParam | ( | const server_params_t & | param | ) | [inline, virtual] |
adds server_params_t to the holder.
param | server_params_t info |
rcsc::rcg::Handlerを実装しています。
virtual bool rcsc::rcg::Reader::handlePlayerParam | ( | const player_params_t & | param | ) | [inline, virtual] |
adds player_params_t to the holder.
param | player_params_t info |
rcsc::rcg::Handlerを実装しています。
virtual bool rcsc::rcg::Reader::handleEOF | ( | ) | [inline, virtual] |
called when stream reaches the end of file.
rcsc::rcg::Handlerを実装しています。
virtual bool rcsc::rcg::Reader::handleShow | ( | const int | time, | |
const ShowInfoT & | show | |||
) | [inline, virtual] |
(pure virtual) handle the start of show info v4
time | game time of handled show info | |
show | read data |
rcsc::rcg::Handlerを実装しています。
virtual bool rcsc::rcg::Reader::handleMsg | ( | const int | time, | |
const int | board, | |||
const std::string & | msg | |||
) | [inline, virtual] |
handle msg info
time | game time of handled msg info | |
board | message board type | |
msg | read data |
rcsc::rcg::Handlerを実装しています。
virtual bool rcsc::rcg::Reader::handlePlayMode | ( | const int | time, | |
const PlayMode | pm | |||
) | [inline, virtual] |
handle playmode
time | game time of handled playmode info | |
pm | playmode id |
rcsc::rcg::Handlerを実装しています。
virtual bool rcsc::rcg::Reader::handleTeam | ( | const int | time, | |
const TeamT & | team_l, | |||
const TeamT & | team_r | |||
) | [inline, virtual] |
handle team info
time | game time of handled team info | |
team_l | left team info | |
team_r | right team info |
rcsc::rcg::Handlerを実装しています。
virtual bool rcsc::rcg::Reader::handleServerParam | ( | const std::string & | msg | ) | [inline, virtual] |
handle server_param message
msg | raw message string |
rcsc::rcg::Handlerを実装しています。
virtual bool rcsc::rcg::Reader::handlePlayerParam | ( | const std::string & | msg | ) | [inline, virtual] |
handle player_param message
msg | raw message string |
rcsc::rcg::Handlerを実装しています。
virtual bool rcsc::rcg::Reader::handlePlayerType | ( | const std::string & | msg | ) | [inline, virtual] |
handle player_type message
msg | raw message string |
rcsc::rcg::Handlerを実装しています。