#include <player_command.h>
rcsc::PlayerAttentiontoCommandに対する継承グラフ
Public 型 | |
enum | SideType { SIDE = -1, SYNMETRY = 1, CENTER = 0, OUR, OPP, NONE, OUR, OPP } |
target player's side type [詳細] | |
Public メソッド | |
PlayerAttentiontoCommand () | |
construct off type attentionto command | |
PlayerAttentiontoCommand (const SideType side, const int unum) | |
construct on type attentionto command | |
Type | type () const |
get command type | |
std::ostream & | toStr (std::ostream &to) const |
put command string to ostream | |
std::string | name () const |
get command paramter | |
bool | isOn () const |
get on/off flag | |
SideType | side () const |
get target player's side type | |
int | number () const |
get target player's uniform number |
Format: <- (attentionto <side> <unum>) <- (attentionto off)
side :- our | opp | l | left | r | right | TEAMNAME
rcsc::PlayerAttentiontoCommand::PlayerAttentiontoCommand | ( | const SideType | side, | |
const int | unum | |||
) | [inline] |
construct on type attentionto command
side | target player's side | |
unum | target player's uniform number |
Type rcsc::PlayerAttentiontoCommand::type | ( | ) | const [inline, virtual] |
std::ostream & rcsc::PlayerAttentiontoCommand::toStr | ( | std::ostream & | to | ) | const [virtual] |
put command string to ostream
to | reference to the output stream |
rcsc::PlayerSupportCommandを実装しています。
std::string rcsc::PlayerAttentiontoCommand::name | ( | ) | const [inline, virtual] |
bool rcsc::PlayerAttentiontoCommand::isOn | ( | ) | const [inline] |
get on/off flag
SideType rcsc::PlayerAttentiontoCommand::side | ( | ) | const [inline] |
get target player's side type
int rcsc::PlayerAttentiontoCommand::number | ( | ) | const [inline] |
get target player's uniform number