|
LIBRCSC Docs
Documentation for HELIOS's BASE LIBRCSC library for RoboCup 2D Simulation League.
|
abstract player's say message More...
#include <say_message.h>

Public Types | |
| typedef std::shared_ptr< const SayMessage > | Ptr |
| definition of the smart pointer type. | |
Public Member Functions | |
| virtual | ~SayMessage ()=default |
| virtual destruct. do nothing. | |
| virtual char | header () const =0 |
| pure virtual method. get the header character of this message More... | |
| virtual int | length () const =0 |
| pure virtual method. get the length of this message More... | |
| virtual bool | appendTo (std::string &to) const =0 |
| append an audio message to the string More... | |
| virtual std::ostream & | printDebug (std::ostream &os) const =0 |
| append the debug message More... | |
Protected Member Functions | |
| SayMessage ()=default | |
| protected constructer | |
abstract player's say message
|
pure virtual |
append an audio message to the string
| to | reference to the message string object |
Implemented in rcsc::BallMessage, rcsc::PassMessage, rcsc::InterceptMessage, rcsc::GoalieMessage, rcsc::GoalieAndPlayerMessage, rcsc::OffsideLineMessage, rcsc::DefenseLineMessage, rcsc::WaitRequestMessage, rcsc::SetplayMessage, rcsc::PassRequestMessage, rcsc::StaminaMessage, rcsc::RecoveryMessage, rcsc::StaminaCapacityMessage, rcsc::DribbleMessage, rcsc::BallGoalieMessage, rcsc::OnePlayerMessage, rcsc::TwoPlayerMessage, rcsc::ThreePlayerMessage, rcsc::SelfMessage, rcsc::TeammateMessage, rcsc::OpponentMessage, and rcsc::BallPlayerMessage.
|
pure virtual |
pure virtual method. get the header character of this message
Implemented in rcsc::FreeMessage< LEN >, rcsc::BallMessage, rcsc::PassMessage, rcsc::InterceptMessage, rcsc::GoalieMessage, rcsc::GoalieAndPlayerMessage, rcsc::OffsideLineMessage, rcsc::DefenseLineMessage, rcsc::WaitRequestMessage, rcsc::SetplayMessage, rcsc::PassRequestMessage, rcsc::StaminaMessage, rcsc::RecoveryMessage, rcsc::StaminaCapacityMessage, rcsc::DribbleMessage, rcsc::BallGoalieMessage, rcsc::OnePlayerMessage, rcsc::TwoPlayerMessage, rcsc::ThreePlayerMessage, rcsc::SelfMessage, rcsc::TeammateMessage, rcsc::OpponentMessage, and rcsc::BallPlayerMessage.
|
pure virtual |
pure virtual method. get the length of this message
Implemented in rcsc::FreeMessage< LEN >, rcsc::BallMessage, rcsc::PassMessage, rcsc::InterceptMessage, rcsc::GoalieMessage, rcsc::GoalieAndPlayerMessage, rcsc::OffsideLineMessage, rcsc::DefenseLineMessage, rcsc::WaitRequestMessage, rcsc::SetplayMessage, rcsc::PassRequestMessage, rcsc::StaminaMessage, rcsc::RecoveryMessage, rcsc::StaminaCapacityMessage, rcsc::DribbleMessage, rcsc::BallGoalieMessage, rcsc::OnePlayerMessage, rcsc::TwoPlayerMessage, rcsc::ThreePlayerMessage, rcsc::SelfMessage, rcsc::TeammateMessage, rcsc::OpponentMessage, and rcsc::BallPlayerMessage.
|
pure virtual |
append the debug message
| os | reference to the output stream |
Implemented in rcsc::FreeMessage< LEN >, rcsc::BallMessage, rcsc::PassMessage, rcsc::InterceptMessage, rcsc::GoalieMessage, rcsc::GoalieAndPlayerMessage, rcsc::OffsideLineMessage, rcsc::DefenseLineMessage, rcsc::WaitRequestMessage, rcsc::SetplayMessage, rcsc::PassRequestMessage, rcsc::StaminaMessage, rcsc::RecoveryMessage, rcsc::StaminaCapacityMessage, rcsc::DribbleMessage, rcsc::BallGoalieMessage, rcsc::OnePlayerMessage, rcsc::TwoPlayerMessage, rcsc::ThreePlayerMessage, rcsc::SelfMessage, rcsc::TeammateMessage, rcsc::OpponentMessage, and rcsc::BallPlayerMessage.