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