#include <say_message_builder.h>
rcsc::BallPlayerMessageに対する継承グラフ
Public メソッド | |
BallPlayerMessage (const Vector2D &ball_pos, const Vector2D &ball_vel, const int unum, const Vector2D &player_pos, const AngleDeg &player_body) | |
construct with raw information | |
char | header () const |
get the header character of this message | |
std::size_t | length () const |
get the length of this message | |
bool | toStr (std::string &to) const |
append this info to the audio message | |
Static Public メソッド | |
static std::size_t | slength () |
get the length of this message. |
format: "1<bpos_bvel_unum_ppos_pbody:9>" the length of message == 10
rcsc::BallPlayerMessage::BallPlayerMessage | ( | const Vector2D & | ball_pos, | |
const Vector2D & | ball_vel, | |||
const int | unum, | |||
const Vector2D & | player_pos, | |||
const AngleDeg & | player_body | |||
) | [inline] |
construct with raw information
ball_pos | ball position | |
ball_vel | ball velocity | |
unum | player's unum | |
player_pos | goalie's global position | |
player_body | goalie's body angle |
char rcsc::BallPlayerMessage::header | ( | ) | const [inline, virtual] |
get the header character of this message
rcsc::SayMessageを実装しています。
static std::size_t rcsc::BallPlayerMessage::slength | ( | ) | [inline, static] |
get the length of this message.
std::size_t rcsc::BallPlayerMessage::length | ( | ) | const [inline, virtual] |
bool rcsc::BallPlayerMessage::toStr | ( | std::string & | to | ) | const [virtual] |
append this info to the audio message
to | reference to the message string instance |
rcsc::SayMessageを実装しています。