#include <coach_command.h>
rcsc::CoachInitCommandに対する継承グラフ
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 |
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] |
std::ostream & rcsc::CoachInitCommand::toStr | ( | std::ostream & | to | ) | const [virtual] |
put command string to ostream
to | reference to the output stream |
rcsc::CoachCommandを実装しています。
std::string rcsc::CoachInitCommand::name | ( | ) | const [inline, virtual] |