#include <handler.h>
rcsc::rcg::Handlerに対する継承グラフ
Public メソッド | |
Handler () | |
default constructor. log version is set to zero | |
virtual | ~Handler () |
virtual destructor | |
virtual bool | handleLogVersion (const int ver) |
records rcg version | |
virtual int | logVersion () const |
returns rcg version number | |
virtual bool | handleDispInfo (const dispinfo_t &info)=0 |
(pure virtual) handle dispinfo_t | |
virtual bool | handleShowInfo (const showinfo_t &info)=0 |
(pure virtual) handle showinfo_t | |
virtual bool | handleShortShowInfo2 (const short_showinfo_t2 &info)=0 |
(pure virtual) handle short_showinfo_t | |
virtual bool | handleMsgInfo (Int16 board, const std::string &msg)=0 |
virtual method (pure virtual) handle msginfo_t | |
virtual bool | handlePlayMode (char playmode)=0 |
(pure virtual) handle playmode | |
virtual bool | handleTeamInfo (const team_t &team_left, const team_t &team_right)=0 |
(pure virtual) handle team data | |
virtual bool | handlePlayerType (const player_type_t &type)=0 |
(pure virtual) handle player_type_t | |
virtual bool | handleServerParam (const server_params_t ¶m)=0 |
(pure virtual) handle server_params_t | |
virtual bool | handlePlayerParam (const player_params_t ¶m)=0 |
(pure virtual) handle player_params_t | |
virtual bool | handleEOF ()=0 |
(pure virtual) handle end of file | |
virtual bool | handleShow (const int time, const ShowInfoT &show)=0 |
(pure virtual) handle the start of show info v4 | |
virtual bool | handleMsg (const int time, const int board, const std::string &msg)=0 |
(pure virtual) handle msg info | |
virtual bool | handlePlayMode (const int time, const PlayMode pm)=0 |
handle playmode | |
virtual bool | handleTeam (const int time, const TeamT &team_l, const TeamT &team_r)=0 |
handle team info | |
virtual bool | handleServerParam (const std::string &msg)=0 |
handle server_param message | |
virtual bool | handlePlayerParam (const std::string &msg)=0 |
handle player_param message | |
virtual bool | handlePlayerType (const std::string &msg)=0 |
handle player_type message |
This is an interface class, all member methods are virtual.
virtual bool rcsc::rcg::Handler::handleLogVersion | ( | const int | ver | ) | [inline, virtual] |
records rcg version
ver | log version. |
rcsc::rcg::Readerで再定義されています。
virtual int rcsc::rcg::Handler::logVersion | ( | ) | const [inline, virtual] |
returns rcg version number
virtual bool rcsc::rcg::Handler::handleDispInfo | ( | const dispinfo_t & | info | ) | [pure virtual] |
(pure virtual) handle dispinfo_t
info | handled data |
rcsc::rcg::Readerで実装されています。
virtual bool rcsc::rcg::Handler::handleShowInfo | ( | const showinfo_t & | info | ) | [pure virtual] |
(pure virtual) handle showinfo_t
info | handled data |
rcsc::rcg::Readerで実装されています。
virtual bool rcsc::rcg::Handler::handleShortShowInfo2 | ( | const short_showinfo_t2 & | info | ) | [pure virtual] |
(pure virtual) handle short_showinfo_t
info | handled data |
rcsc::rcg::Readerで実装されています。
virtual bool rcsc::rcg::Handler::handleMsgInfo | ( | Int16 | board, | |
const std::string & | msg | |||
) | [pure virtual] |
virtual method (pure virtual) handle msginfo_t
board | handled message type | |
msg | handled message data |
rcsc::rcg::Readerで実装されています。
virtual bool rcsc::rcg::Handler::handlePlayMode | ( | char | playmode | ) | [pure virtual] |
(pure virtual) handle playmode
playmode | handled playmode character |
rcsc::rcg::Readerで実装されています。
virtual bool rcsc::rcg::Handler::handleTeamInfo | ( | const team_t & | team_left, | |
const team_t & | team_right | |||
) | [pure virtual] |
(pure virtual) handle team data
team_left | left team data | |
team_right | right team data |
rcsc::rcg::Readerで実装されています。
virtual bool rcsc::rcg::Handler::handlePlayerType | ( | const player_type_t & | type | ) | [pure virtual] |
(pure virtual) handle player_type_t
type | handled data |
rcsc::rcg::Readerで実装されています。
virtual bool rcsc::rcg::Handler::handleServerParam | ( | const server_params_t & | param | ) | [pure virtual] |
(pure virtual) handle server_params_t
param | handled data |
rcsc::rcg::Readerで実装されています。
virtual bool rcsc::rcg::Handler::handlePlayerParam | ( | const player_params_t & | param | ) | [pure virtual] |
(pure virtual) handle player_params_t
param | handled data |
rcsc::rcg::Readerで実装されています。
virtual bool rcsc::rcg::Handler::handleEOF | ( | ) | [pure virtual] |
virtual bool rcsc::rcg::Handler::handleShow | ( | const int | time, | |
const ShowInfoT & | show | |||
) | [pure virtual] |
(pure virtual) handle the start of show info v4
time | game time of handled show info | |
show | read data |
rcsc::rcg::Readerで実装されています。
virtual bool rcsc::rcg::Handler::handleMsg | ( | const int | time, | |
const int | board, | |||
const std::string & | msg | |||
) | [pure virtual] |
(pure virtual) handle msg info
time | game time of handled msg info | |
board | message board type | |
msg | read data |
rcsc::rcg::Readerで実装されています。
virtual bool rcsc::rcg::Handler::handlePlayMode | ( | const int | time, | |
const PlayMode | pm | |||
) | [pure virtual] |
handle playmode
time | game time of handled playmode info | |
pm | playmode id |
rcsc::rcg::Readerで実装されています。
virtual bool rcsc::rcg::Handler::handleTeam | ( | const int | time, | |
const TeamT & | team_l, | |||
const TeamT & | team_r | |||
) | [pure virtual] |
handle team info
time | game time of handled team info | |
team_l | left team info | |
team_r | right team info |
rcsc::rcg::Readerで実装されています。
virtual bool rcsc::rcg::Handler::handleServerParam | ( | const std::string & | msg | ) | [pure virtual] |
handle server_param message
msg | raw message string |
rcsc::rcg::Readerで実装されています。
virtual bool rcsc::rcg::Handler::handlePlayerParam | ( | const std::string & | msg | ) | [pure virtual] |
handle player_param message
msg | raw message string |
rcsc::rcg::Readerで実装されています。
virtual bool rcsc::rcg::Handler::handlePlayerType | ( | const std::string & | msg | ) | [pure virtual] |
handle player_type message
msg | raw message string |
rcsc::rcg::Readerで実装されています。