クラス rcsc::PlayerInitCommand

player's init command [詳細]

#include <player_command.h>

rcsc::PlayerInitCommandに対する継承グラフ

rcsc::PlayerCommand すべてのメンバ一覧

Public メソッド

 PlayerInitCommand (const std::string &team_name, const double &version=3.0, const bool goalie=false)
 construct with init parameters
Type type () const
 get command type
std::ostream & toStr (std::ostream &to) const
 put command string to ostream
std::string name () const
 get command name

説明

player's init command

  Format:
  <- (init <teamname>[ (version <ver>)[ (goalie)]])
  Response:
  -> (init <side> <unum> <playmode>)
  


コンストラクタとデストラクタ

rcsc::PlayerInitCommand::PlayerInitCommand ( const std::string &  team_name,
const double &  version = 3.0,
const bool  goalie = false 
) [explicit]

construct with init parameters

引数:
team_name player's team name
version player's client version (default: 3.0)
goalie if true, player start as goalie


関数

Type rcsc::PlayerInitCommand::type (  )  const [inline, virtual]

get command type

戻り値:
command type Id

rcsc::PlayerCommandを実装しています。

std::ostream & rcsc::PlayerInitCommand::toStr ( std::ostream &  to  )  const [virtual]

put command string to ostream

引数:
to reference to the output stream
戻り値:
reference to the output stream

rcsc::PlayerCommandを実装しています。

std::string rcsc::PlayerInitCommand::name (  )  const [inline, virtual]

get command name

戻り値:
command name string

rcsc::PlayerCommandを実装しています。


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