#include <trainer_command.h>
rcsc::TrainerChangeModeCommandに対する継承グラフ
Public メソッド | |
TrainerChangeModeCommand (const PlayMode mode) | |
construct with playmode type | |
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_mode <playmode>) Response: -> (ok change_mode) -> (error illegal_mode)
rcsc::TrainerChangeModeCommand::TrainerChangeModeCommand | ( | const PlayMode | mode | ) | [inline, explicit] |
construct with playmode type
mode | playmode type |
Type rcsc::TrainerChangeModeCommand::type | ( | ) | const [inline, virtual] |
std::ostream & rcsc::TrainerChangeModeCommand::toStr | ( | std::ostream & | to | ) | const [virtual] |
put command string to ostream
to | referent to the output stream |
rcsc::TrainerCommandを実装しています。
std::string rcsc::TrainerChangeModeCommand::name | ( | ) | const [inline, virtual] |