32#ifndef RCSC_PLAYER_SAY_MESSAGE_BUILDER_H
33#define RCSC_PLAYER_SAY_MESSAGE_BUILDER_H
69 : M_ball_pos( ball_pos ),
70 M_ball_vel( ball_vel )
149 : M_receiver_unum( receiver_unum ),
150 M_receive_point( receive_point ),
151 M_ball_pos( ball_pos ),
152 M_ball_vel( ball_vel )
304 : M_goalie_unum( goalie_unum ),
305 M_goalie_pos( goalie_pos ),
306 M_goalie_body( goalie_body )
386 const int player_number,
388 : M_goalie_unum( goalie_unum ),
389 M_goalie_pos( goalie_pos ),
390 M_goalie_body( goalie_body ),
391 M_player_number( player_number ),
392 M_player_pos( player_pos )
452 double M_offside_line_x;
462 : M_offside_line_x( offside_line_x )
522 double M_defense_line_x;
532 : M_defense_line_x( defense_line_x )
666 : M_wait_step( wait_step )
736 : M_target_point( target_point )
806 : M_stamina( stamina )
876 : M_recovery( recovery )
936 double M_stamina_capacity;
946 : M_stamina_capacity( value )
1017 const int queue_count )
1018 : M_target_point( target_point ),
1019 M_queue_count( queue_count )
1097 : M_ball_pos( ball_pos ),
1098 M_ball_vel( ball_vel ),
1099 M_goalie_pos( goalie_pos ),
1100 M_goalie_body( goalie_body )
1173 M_player_pos( player_pos )
1233 int M_player_unum[2];
1249 const int player1_unum,
1309 int M_player_unum[3];
1325 const int player1_unum,
1327 const int player2_unum,
1389 double M_self_stamina;
1401 const double & self_stamina )
1402 : M_self_pos( self_pos ),
1403 M_self_body( self_body ),
1404 M_self_stamina( self_stamina )
1480 M_player_pos( player_pos ),
1481 M_player_body( player_body )
1557 M_player_pos( player_pos ),
1558 M_player_body( player_body )
1640 : M_ball_pos( ball_pos ),
1641 M_ball_vel( ball_vel ),
1643 M_player_pos( player_pos ),
1644 M_player_body( player_body )
degree wrapper class
Definition: angle_deg.h:45
static int slength()
get the length of this message.
Definition: say_message_parser.h:1015
static char sheader()
get the header character.
Definition: say_message_parser.h:1002
ball & goalie info message encoder
Definition: say_message_builder.h:1076
int length() const
get the length of this message
Definition: say_message_builder.h:1126
bool appendTo(std::string &to) const
append this info to the audio message
std::ostream & printDebug(std::ostream &os) const
append the debug message
char header() const
get the header character of this message
Definition: say_message_builder.h:1107
static int slength()
get the length of this message.
Definition: say_message_builder.h:1117
BallGoalieMessage(const Vector2D &ball_pos, const Vector2D &ball_vel, const Vector2D &goalie_pos, const AngleDeg &goalie_body)
construct with raw information
Definition: say_message_builder.h:1093
static char sheader()
get the header character.
Definition: say_message_parser.h:132
static int slength()
get the length of this message.
Definition: say_message_parser.h:145
ball info message encoder
Definition: say_message_builder.h:54
BallMessage(const Vector2D &ball_pos, const Vector2D &ball_vel)
construct with raw information
Definition: say_message_builder.h:67
std::ostream & printDebug(std::ostream &os) const
append the debug message
int length() const
get the length of this message
Definition: say_message_builder.h:96
char header() const
get the header character of this message
Definition: say_message_builder.h:77
bool appendTo(std::string &to) const
append this info to the audio message
static int slength()
get the length of this message.
Definition: say_message_builder.h:87
static int slength()
get the length of this message.
Definition: say_message_parser.h:1449
static char sheader()
get the header character.
Definition: say_message_parser.h:1436
ball & player info message encoder
Definition: say_message_builder.h:1615
char header() const
get the header character of this message
Definition: say_message_builder.h:1651
int length() const
get the length of this message
Definition: say_message_builder.h:1670
BallPlayerMessage(const Vector2D &ball_pos, const Vector2D &ball_vel, const int unum, const Vector2D &player_pos, const AngleDeg &player_body)
construct with raw information
Definition: say_message_builder.h:1635
static int slength()
get the length of this message.
Definition: say_message_builder.h:1661
bool appendTo(std::string &to) const
append this info to the audio message
std::ostream & printDebug(std::ostream &os) const
append the debug message
static int slength()
get the length of this message.
Definition: say_message_parser.h:519
static char sheader()
get the header character.
Definition: say_message_parser.h:506
defense line info message encoder
Definition: say_message_builder.h:519
char header() const
get the header character of this message
Definition: say_message_builder.h:539
int length() const
get the length of this message
Definition: say_message_builder.h:558
DefenseLineMessage(const double &defense_line_x)
construct with raw information
Definition: say_message_builder.h:531
std::ostream & printDebug(std::ostream &os) const
append the debug message
static int slength()
get the length of this message.
Definition: say_message_builder.h:549
bool appendTo(std::string &to) const
append this info to the audio message
static char sheader()
get the header character.
Definition: say_message_parser.h:940
static int slength()
get the length of this message.
Definition: say_message_parser.h:953
dribble info message encoder
Definition: say_message_builder.h:1003
static int slength()
get the length of this message.
Definition: say_message_builder.h:1036
char header() const
get the header character of this message
Definition: say_message_builder.h:1026
std::ostream & printDebug(std::ostream &os) const
append the debug message
bool appendTo(std::string &to) const
append this info to the audio message
DribbleMessage(const Vector2D &target_point, const int queue_count)
construct with raw information
Definition: say_message_builder.h:1016
int length() const
get the length of this message
Definition: say_message_builder.h:1045
static int slength()
get the length of this message.
Definition: say_message_parser.h:394
static char sheader()
get the header character.
Definition: say_message_parser.h:381
goalie & 1 field player message encoder
Definition: say_message_builder.h:363
int length() const
get the length of this message
Definition: say_message_builder.h:418
static int slength()
get the length of this message.
Definition: say_message_builder.h:409
char header() const
get the header character of this message
Definition: say_message_builder.h:399
GoalieAndPlayerMessage(const int goalie_unum, const Vector2D &goalie_pos, const AngleDeg &goalie_body, const int player_number, const Vector2D &player_pos)
construct with raw information
Definition: say_message_builder.h:383
std::ostream & printDebug(std::ostream &os) const
append the debug message
bool appendTo(std::string &to) const
append this info to the audio message
static char sheader()
get the header character.
Definition: say_message_parser.h:318
static int slength()
get the length of this message.
Definition: say_message_parser.h:331
goalie info message encoder
Definition: say_message_builder.h:286
bool appendTo(std::string &to) const
append this info to the audio message
std::ostream & printDebug(std::ostream &os) const
append the debug message
int length() const
get the length of this message
Definition: say_message_builder.h:332
GoalieMessage(const int goalie_unum, const Vector2D &goalie_pos, const AngleDeg &goalie_body)
construct with raw information
Definition: say_message_builder.h:301
char header() const
get the header character of this message
Definition: say_message_builder.h:313
static int slength()
get the length of this message.
Definition: say_message_builder.h:323
static char sheader()
get the header character.
Definition: say_message_parser.h:256
static int slength()
get the length of this message.
Definition: say_message_parser.h:269
intercept info message encoder
Definition: say_message_builder.h:209
InterceptMessage(const bool our, const int unum, const int cycle)
construct with raw information
Definition: say_message_builder.h:224
static int slength()
get the length of this message.
Definition: say_message_builder.h:246
char header() const
get the header character of this message
Definition: say_message_builder.h:236
int length() const
get the length of this message
Definition: say_message_builder.h:255
bool appendTo(std::string &to) const
append this info to the audio message
std::ostream & printDebug(std::ostream &os) const
append the debug message
static char sheader()
get the header character.
Definition: say_message_parser.h:444
static int slength()
get the length of this message.
Definition: say_message_parser.h:457
offside line info message encoder
Definition: say_message_builder.h:449
static int slength()
get the length of this message.
Definition: say_message_builder.h:479
OffsideLineMessage(const double &offside_line_x)
construct with raw information
Definition: say_message_builder.h:461
int length() const
get the length of this message
Definition: say_message_builder.h:488
std::ostream & printDebug(std::ostream &os) const
append the debug message
char header() const
get the header character of this message
Definition: say_message_builder.h:469
bool appendTo(std::string &to) const
append this info to the audio message
static char sheader()
get the header character.
Definition: say_message_parser.h:1064
static int slength()
get the length of this message.
Definition: say_message_parser.h:1077
one player info message encoder
Definition: say_message_builder.h:1157
OnePlayerMessage(const int unum, const Vector2D &player_pos)
construct with raw information
Definition: say_message_builder.h:1170
char header() const
get the header character of this message
Definition: say_message_builder.h:1180
static int slength()
get the length of this message.
Definition: say_message_builder.h:1190
int length() const
get the length of this message
Definition: say_message_builder.h:1199
std::ostream & printDebug(std::ostream &os) const
append the debug message
bool appendTo(std::string &to) const
append this info to the audio message
static int slength()
get the length of this message.
Definition: say_message_parser.h:1387
static char sheader()
get the header character.
Definition: say_message_parser.h:1374
opponent info message encoder
Definition: say_message_builder.h:1538
static int slength()
get the length of this message.
Definition: say_message_builder.h:1575
OpponentMessage(const int unum, const Vector2D &player_pos, const AngleDeg &player_body)
construct with raw information
Definition: say_message_builder.h:1553
int length() const
get the length of this message
Definition: say_message_builder.h:1584
bool appendTo(std::string &to) const
append this info to the audio message
std::ostream & printDebug(std::ostream &os) const
append the debug message
char header() const
get the header character of this message
Definition: say_message_builder.h:1565
static int slength()
get the length of this message.
Definition: say_message_parser.h:207
static char sheader()
get the header character.
Definition: say_message_parser.h:194
pass info message encoder
Definition: say_message_builder.h:127
int length() const
get the length of this message
Definition: say_message_builder.h:178
char header() const
get the header character of this message
Definition: say_message_builder.h:159
PassMessage(const int receiver_unum, const Vector2D &receive_point, const Vector2D &ball_pos, const Vector2D &ball_vel)
construct with raw information
Definition: say_message_builder.h:145
static int slength()
get the length of this message.
Definition: say_message_builder.h:169
std::ostream & printDebug(std::ostream &os) const
append the debug message
bool appendTo(std::string &to) const
append this info to the audio message
static int slength()
get the length of this message.
Definition: say_message_parser.h:705
static char sheader()
get the header character.
Definition: say_message_parser.h:692
pass request info message encoder
Definition: say_message_builder.h:723
bool appendTo(std::string &to) const
append this info to the audio message
PassRequestMessage(const Vector2D &target_point)
construct with raw information
Definition: say_message_builder.h:735
std::ostream & printDebug(std::ostream &os) const
append the debug message
char header() const
get the header character of this message
Definition: say_message_builder.h:743
static int slength()
get the length of this message.
Definition: say_message_builder.h:753
int length() const
get the length of this message
Definition: say_message_builder.h:762
static char sheader()
get the header character.
Definition: say_message_parser.h:816
static int slength()
get the length of this message.
Definition: say_message_parser.h:829
recovery info message encoder
Definition: say_message_builder.h:863
int length() const
get the length of this message
Definition: say_message_builder.h:902
RecoveryMessage(const double &recovery)
construct with raw information
Definition: say_message_builder.h:875
std::ostream & printDebug(std::ostream &os) const
append the debug message
char header() const
get the header character of this message
Definition: say_message_builder.h:883
static int slength()
get the length of this message.
Definition: say_message_builder.h:893
bool appendTo(std::string &to) const
append this info to the audio message
abstract player's say message
Definition: say_message.h:46
static char sheader()
get the header character.
Definition: say_message_parser.h:1250
static int slength()
get the length of this message.
Definition: say_message_parser.h:1263
self info message encoder
Definition: say_message_builder.h:1384
bool appendTo(std::string &to) const
append this info to the audio message
std::ostream & printDebug(std::ostream &os) const
append the debug message
SelfMessage(const Vector2D &self_pos, const AngleDeg &self_body, const double &self_stamina)
construct with raw information
Definition: say_message_builder.h:1399
static int slength()
get the length of this message.
Definition: say_message_builder.h:1421
char header() const
get the header character of this message
Definition: say_message_builder.h:1411
int length() const
get the length of this message
Definition: say_message_builder.h:1430
static int slength()
get the length of this message.
Definition: say_message_parser.h:643
static char sheader()
get the header character.
Definition: say_message_parser.h:630
setplay message encoder
Definition: say_message_builder.h:654
char header() const
get the header character of this message
Definition: say_message_builder.h:673
std::ostream & printDebug(std::ostream &os) const
append the debug message
static int slength()
get the length of this message.
Definition: say_message_builder.h:683
SetplayMessage(const int wait_step)
construct with raw information
Definition: say_message_builder.h:665
int length() const
get the length of this message
Definition: say_message_builder.h:692
bool appendTo(std::string &to) const
append this info to the audio message
static int slength()
get the length of this message.
Definition: say_message_parser.h:891
static char sheader()
get the header character.
Definition: say_message_parser.h:878
stamina info message encoder
Definition: say_message_builder.h:933
static int slength()
get the length of this message.
Definition: say_message_builder.h:963
int length() const
get the length of this message
Definition: say_message_builder.h:972
bool appendTo(std::string &to) const
append this info to the audio message
char header() const
get the header character of this message
Definition: say_message_builder.h:953
std::ostream & printDebug(std::ostream &os) const
append the debug message
StaminaCapacityMessage(const double value)
construct with raw information
Definition: say_message_builder.h:945
static char sheader()
get the header character.
Definition: say_message_parser.h:754
static int slength()
get the length of this message.
Definition: say_message_parser.h:767
stamina info message encoder
Definition: say_message_builder.h:793
static int slength()
get the length of this message.
Definition: say_message_builder.h:823
int length() const
get the length of this message
Definition: say_message_builder.h:832
bool appendTo(std::string &to) const
append this info to the audio message
std::ostream & printDebug(std::ostream &os) const
append the debug message
char header() const
get the header character of this message
Definition: say_message_builder.h:813
StaminaMessage(const double &stamina)
construct with raw information
Definition: say_message_builder.h:805
static int slength()
get the length of this message.
Definition: say_message_parser.h:1325
static char sheader()
get the header character.
Definition: say_message_parser.h:1312
teammate info message encoder
Definition: say_message_builder.h:1461
static int slength()
get the length of this message.
Definition: say_message_builder.h:1498
int length() const
get the length of this message
Definition: say_message_builder.h:1507
bool appendTo(std::string &to) const
append this info to the audio message
std::ostream & printDebug(std::ostream &os) const
append the debug message
TeammateMessage(const int unum, const Vector2D &player_pos, const AngleDeg &player_body)
construct with raw information
Definition: say_message_builder.h:1476
char header() const
get the header character of this message
Definition: say_message_builder.h:1488
static char sheader()
get the header character.
Definition: say_message_parser.h:1188
static int slength()
get the length of this message.
Definition: say_message_parser.h:1201
3 players info message encoder
Definition: say_message_builder.h:1306
std::ostream & printDebug(std::ostream &os) const
append the debug message
bool appendTo(std::string &to) const
append this info to the audio message
ThreePlayerMessage(const int player0_unum, const Vector2D &player0_pos, const int player1_unum, const Vector2D &player1_pos, const int player2_unum, const Vector2D &player2_pos)
construct with raw information
static int slength()
get the length of this message.
Definition: say_message_builder.h:1344
char header() const
get the header character of this message
Definition: say_message_builder.h:1334
int length() const
get the length of this message
Definition: say_message_builder.h:1353
static char sheader()
get the header character.
Definition: say_message_parser.h:1126
static int slength()
get the length of this message.
Definition: say_message_parser.h:1139
2 players info message encoder
Definition: say_message_builder.h:1230
int length() const
get the length of this message
Definition: say_message_builder.h:1275
std::ostream & printDebug(std::ostream &os) const
append the debug message
static int slength()
get the length of this message.
Definition: say_message_builder.h:1266
bool appendTo(std::string &to) const
append this info to the audio message
TwoPlayerMessage(const int player0_unum, const Vector2D &player0_pos, const int player1_unum, const Vector2D &player1_pos)
construct with raw information
char header() const
get the header character of this message
Definition: say_message_builder.h:1256
2D point vector class
Definition: vector_2d.h:46
static char sheader()
get the header character.
Definition: say_message_parser.h:568
static int slength()
get the length of this message.
Definition: say_message_parser.h:581
wait request message encoder
Definition: say_message_builder.h:589
char header() const
get the header character of this message
Definition: say_message_builder.h:604
int length() const
get the length of this message
Definition: say_message_builder.h:623
std::ostream & printDebug(std::ostream &os) const
append the debug message
static int slength()
get the length of this message.
Definition: say_message_builder.h:614
bool appendTo(std::string &to) const
append this info to the audio message
WaitRequestMessage()
construct with raw information
Definition: say_message_builder.h:597
abstract player's say message Header File
player's say message parser Header File
2d vector class Header File.