クラス rcsc::CoachChangePlayerTypeCommand

command to change player type [詳細]

#include <coach_command.h>

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

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

Public メソッド

 CoachChangePlayerTypeCommand (const int unum, const int type)
 construct with target number and type id
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

説明

command to change player type

  Format:
  <- (change_player_type <unum> <typeid>)
  Response:
  -> (ok change_player_type <unum> <typeid>)
  -> (warning cannot_sub_while_playon)
  -> (warning no_team_found)
  -> (warning no_subs_left)
  -> (error out_of_range_player_type)
  -> (warning no_such_player)
  -> (warning cannot_change_goalie)
  -> (warning max_of_that_type_on_field)
  


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

rcsc::CoachChangePlayerTypeCommand::CoachChangePlayerTypeCommand ( const int  unum,
const int  type 
) [inline]

construct with target number and type id

引数:
unum target player's uniform number
type player type id


関数

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

get command type

戻り値:
command type Id

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

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

put command string to ostream

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

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

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

get command name

戻り値:
command name string

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


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