クラス rcsc::CoachInitCommand

coach's connection command [詳細]

#include <coach_command.h>

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

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

Public メソッド

 CoachInitCommand (const std::string &team_name, const double &version, const std::string &coach_name="")
 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

説明

coach's connection command

  Format:
  <- (init <teamname> (version <ver>))
  Response:
  -> (init l ok) | (init r ok)  : version 6.0 or later
  -> (init ok)
  -> (error no_such_team_or_already_have_coach)
  


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

rcsc::CoachInitCommand::CoachInitCommand ( const std::string &  team_name,
const double &  version,
const std::string &  coach_name = "" 
)

construct with init parameters

引数:
team_name coach's team name string
version coach's client version
coach_name the name string of coach


関数

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

get command type

戻り値:
command type Id

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

std::ostream & rcsc::CoachInitCommand::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::CoachInitCommand::name (  )  const [inline, virtual]

get command name

戻り値:
command name string

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


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