#include <trainer_command.h>
rcsc::TrainerMoveBallCommandに対する継承グラフ
Public メソッド | |
TrainerMoveBallCommand (const double &x, const double &y) | |
construct with move target point. no velocity. | |
TrainerMoveBallCommand (const Vector2D &pos) | |
construct with move target point. no velocity. | |
TrainerMoveBallCommand (const double &x, const double &y, const double &vx, const double &vy) | |
construct with move target point and ball velocity. | |
TrainerMoveBallCommand (const Vector2D &pos, const Vector2D &vel) | |
construct with move target point. no velocity. | |
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: <- (move (ball) <x> <y>[ <angle> <vx> <vy>]) Response: -> (ok move) -> (error illegal_command_form)
rcsc::TrainerMoveBallCommand::TrainerMoveBallCommand | ( | const double & | x, | |
const double & | y | |||
) |
construct with move target point. no velocity.
x | move target x | |
y | move target y |
rcsc::TrainerMoveBallCommand::TrainerMoveBallCommand | ( | const Vector2D & | pos | ) | [explicit] |
construct with move target point. no velocity.
pos | move target |
rcsc::TrainerMoveBallCommand::TrainerMoveBallCommand | ( | const double & | x, | |
const double & | y, | |||
const double & | vx, | |||
const double & | vy | |||
) |
construct with move target point and ball velocity.
x | move target x | |
y | move target y | |
vx | velocity x after move | |
vy | velocity y after move |
construct with move target point. no velocity.
pos | move target position | |
vel | velocity after move |
Type rcsc::TrainerMoveBallCommand::type | ( | ) | const [inline, virtual] |
std::ostream & rcsc::TrainerMoveBallCommand::toStr | ( | std::ostream & | to | ) | const [virtual] |
put command string to ostream
to | referent to the output stream |
rcsc::TrainerCommandを実装しています。
std::string rcsc::TrainerMoveBallCommand::name | ( | ) | const [inline, virtual] |