クラス rcsc::rcg::Holder

data holder interface class [詳細]

#include <holder.h>

すべてのメンバ一覧

Public メソッド

virtual ~Holder ()
 virtual destructor
int logVersion () const
 get version number of rcg format
bool setLogVersion (const int ver)
 set version number of rcg format
bool addDispInfo (const dispinfo_t &dinfo)
 add new dispinfo_t (rcg v1, monitor v1)
bool addDispInfo2 (const dispinfo_t2 &dinfo2)
 add new dispinfo_t2 (monitor v2)
virtual bool addShowInfo (const showinfo_t &show)=0
 (pure virtual) add showinfo_t (rcg v2, monitor v1)
virtual bool addShowInfo2 (const showinfo_t2 &show)=0
 (pure virtual) add showinfo_t2 (monitor v2 only)
virtual bool addShortShowInfo2 (const short_showinfo_t2 &show2)=0
 (pure virtual) add short_showinfo_t2 (rcg v3 only)
virtual bool addMsgInfo (const Int16 board, const std::string &msg)=0
 (pure virtual) add msginfo_t
virtual bool addDrawInfo (const drawinfo_t &draw)=0
 (pure virtual) add drawinfo_t(rcg v1:v2, monitor v1)
virtual bool addPlayMode (const char pmode)=0
 (pure virtual) add playmode
virtual bool addTeamInfo (const team_t &team_l, const team_t &team_r)=0
 (pure virtual) add team_t * 2
virtual bool addPlayerType (const player_type_t &ptinfo)=0
 (pure virtual) add player_type_t
virtual bool addServerParam (const server_params_t &sparams)=0
 (pure virtual) add server_params_t
virtual bool addPlayerParam (const player_params_t &pparams)=0
 (pure virtual) add player_param_t
bool addDisp3 (const std::string &msg)
 add new display information for monitor version 3.
virtual bool addShow (const int time, const ShowInfoT &show)=0
 (pure virtual) add the start of show info v4
virtual bool addMsg (const int time, const int board, const std::string &msg)=0
 (pure virtual) add msg info v4
virtual bool addPlayMode (const int time, const PlayMode pm)=0
 (pure virtual) add playmode info v4
virtual bool addTeam (const int time, const TeamT &team_l, const TeamT &team_r)=0
 (pure virtual0 add team info v4
virtual bool addServerParam (const std::string &msg)=0
 (pure virtual) add server_param
virtual bool addPlayerParam (const std::string &msg)=0
 (pure virtual) add player_param
virtual bool addPlayerType (const std::string &msg)=0
 (pure virtual) add player_type


説明

data holder interface class

The cncrete class that implements this interface should hold the whole game log data.


関数

int rcsc::rcg::Holder::logVersion (  )  const [inline]

get version number of rcg format

戻り値:
version number

bool rcsc::rcg::Holder::setLogVersion ( const int  ver  )  [inline]

set version number of rcg format

戻り値:
always true

bool rcsc::rcg::Holder::addDispInfo ( const dispinfo_t dinfo  ) 

add new dispinfo_t (rcg v1, monitor v1)

引数:
dinfo dispinfo_t struct data
戻り値:
true if successfully added.
false mode is incorrect, or failed to add.

bool rcsc::rcg::Holder::addDispInfo2 ( const dispinfo_t2 dinfo2  ) 

add new dispinfo_t2 (monitor v2)

引数:
dinfo2 dispinfo_t2 struct data
戻り値:
true if successfully added.
false mode is incorrect, or failed to add.

virtual bool rcsc::rcg::Holder::addShowInfo ( const showinfo_t show  )  [pure virtual]

(pure virtual) add showinfo_t (rcg v2, monitor v1)

引数:
show added data
戻り値:
true if successfully added.
false mode is incorrect, or failed to add.

virtual bool rcsc::rcg::Holder::addShowInfo2 ( const showinfo_t2 show  )  [pure virtual]

(pure virtual) add showinfo_t2 (monitor v2 only)

引数:
show added data
戻り値:
true if successfully added.
false mode is incorrect, or failed to add.

virtual bool rcsc::rcg::Holder::addShortShowInfo2 ( const short_showinfo_t2 show2  )  [pure virtual]

(pure virtual) add short_showinfo_t2 (rcg v3 only)

引数:
show2 added data
戻り値:
true if successfully added.
false mode is incorrect, or failed to add.

virtual bool rcsc::rcg::Holder::addMsgInfo ( const Int16  board,
const std::string &  msg 
) [pure virtual]

(pure virtual) add msginfo_t

引数:
board added message type
msg added message
戻り値:
true if successfully added.
false mode is incorrect, or failed to add.

virtual bool rcsc::rcg::Holder::addDrawInfo ( const drawinfo_t draw  )  [pure virtual]

(pure virtual) add drawinfo_t(rcg v1:v2, monitor v1)

引数:
draw added data
戻り値:
true if successfully added.
false mode is incorrect, or failed to add.

virtual bool rcsc::rcg::Holder::addPlayMode ( const char  pmode  )  [pure virtual]

(pure virtual) add playmode

引数:
pmode added playmode character
戻り値:
true if successfully added.
false mode is incorrect, or failed to add.

virtual bool rcsc::rcg::Holder::addTeamInfo ( const team_t team_l,
const team_t team_r 
) [pure virtual]

(pure virtual) add team_t * 2

引数:
team_l added left team data
team_r added right team data
戻り値:
true if successfully added.
false mode is incorrect, or failed to add.

virtual bool rcsc::rcg::Holder::addPlayerType ( const player_type_t ptinfo  )  [pure virtual]

(pure virtual) add player_type_t

引数:
ptinfo added data
戻り値:
true if successfully added.
false mode is incorrect, or failed to add.

virtual bool rcsc::rcg::Holder::addServerParam ( const server_params_t sparams  )  [pure virtual]

(pure virtual) add server_params_t

引数:
sparams added data
戻り値:
true if successfully added.
false mode is incorrect, or failed to add.

virtual bool rcsc::rcg::Holder::addPlayerParam ( const player_params_t pparams  )  [pure virtual]

(pure virtual) add player_param_t

引数:
pparams added data
戻り値:
true if successfully added.
false mode is incorrect, or failed to add.

bool rcsc::rcg::Holder::addDisp3 ( const std::string &  msg  ) 

add new display information for monitor version 3.

引数:
msg received message string added result

virtual bool rcsc::rcg::Holder::addShow ( const int  time,
const ShowInfoT show 
) [pure virtual]

(pure virtual) add the start of show info v4

引数:
time game time of handled data
戻り値:
added result

virtual bool rcsc::rcg::Holder::addMsg ( const int  time,
const int  board,
const std::string &  msg 
) [pure virtual]

(pure virtual) add msg info v4

引数:
time game time of handled data
board parsed board info
msg parsed message string
戻り値:
added result

virtual bool rcsc::rcg::Holder::addPlayMode ( const int  time,
const PlayMode  pm 
) [pure virtual]

(pure virtual) add playmode info v4

引数:
time game time of handled data
pm parsed playmode type
戻り値:
added result

virtual bool rcsc::rcg::Holder::addTeam ( const int  time,
const TeamT team_l,
const TeamT team_r 
) [pure virtual]

(pure virtual0 add team info v4

引数:
time game time of handled data
team_l parsed left team data
team_r parsed right team data
戻り値:
added result

virtual bool rcsc::rcg::Holder::addServerParam ( const std::string &  msg  )  [pure virtual]

(pure virtual) add server_param

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

virtual bool rcsc::rcg::Holder::addPlayerParam ( const std::string &  msg  )  [pure virtual]

(pure virtual) add player_param

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

virtual bool rcsc::rcg::Holder::addPlayerType ( const std::string &  msg  )  [pure virtual]

(pure virtual) add player_type

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


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