クラス rcsc::rcg::Handler

abstract rcg data handler class. [詳細]

#include <handler.h>

rcsc::rcg::Handlerに対する継承グラフ

rcsc::rcg::Reader すべてのメンバ一覧

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 &param)=0
 (pure virtual) handle server_params_t
virtual bool handlePlayerParam (const player_params_t &param)=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

説明

abstract rcg data handler class.

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.
戻り値:
always true.
This method is virtual. You can override this.

rcsc::rcg::Readerで再定義されています。

virtual int rcsc::rcg::Handler::logVersion (  )  const [inline, virtual]

returns rcg version number

戻り値:
rcg version number
This method is virtual. You can override this.

virtual bool rcsc::rcg::Handler::handleDispInfo ( const dispinfo_t info  )  [pure virtual]

(pure virtual) handle dispinfo_t

引数:
info handled data
戻り値:
handled result

rcsc::rcg::Readerで実装されています。

virtual bool rcsc::rcg::Handler::handleShowInfo ( const showinfo_t info  )  [pure virtual]

(pure virtual) handle showinfo_t

引数:
info handled data
戻り値:
handled result

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
戻り値:
handled result

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
戻り値:
handled result

rcsc::rcg::Readerで実装されています。

virtual bool rcsc::rcg::Handler::handlePlayMode ( char  playmode  )  [pure virtual]

(pure virtual) handle playmode

引数:
playmode handled playmode character
戻り値:
handled result

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
戻り値:
handled result

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
戻り値:
handled result

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
戻り値:
handled result

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
戻り値:
handled result

rcsc::rcg::Readerで実装されています。

virtual bool rcsc::rcg::Handler::handleEOF (  )  [pure virtual]

(pure virtual) handle end of file

戻り値:
handled result

rcsc::rcg::Readerで実装されています。

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
戻り値:
handled result

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
戻り値:
handled result

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
戻り値:
handled result

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
戻り値:
handled result

rcsc::rcg::Readerで実装されています。

virtual bool rcsc::rcg::Handler::handleServerParam ( const std::string &  msg  )  [pure virtual]

handle server_param message

引数:
msg raw message string
戻り値:
handled result

rcsc::rcg::Readerで実装されています。

virtual bool rcsc::rcg::Handler::handlePlayerParam ( const std::string &  msg  )  [pure virtual]

handle player_param message

引数:
msg raw message string
戻り値:
handled result

rcsc::rcg::Readerで実装されています。

virtual bool rcsc::rcg::Handler::handlePlayerType ( const std::string &  msg  )  [pure virtual]

handle player_type message

引数:
msg raw message string
戻り値:
handled result

rcsc::rcg::Readerで実装されています。


このクラスの説明は次のファイルから生成されました:
librcscに対してThu May 1 15:41:28 2008に生成されました。  doxygen 1.5.0