LIBRCSC Docs
Documentation for HELIOS's BASE LIBRCSC library for RoboCup 2D Simulation League.
|
abstract support command More...
#include <player_command.h>
Public Member Functions | |
virtual | ~PlayerSupportCommand () |
virtual destructor, but nothing to do | |
virtual Type | type () const =0 |
get command type (pure virtual) More... | |
virtual std::ostream & | toCommandString (std::ostream &to) const =0 |
put command string to ostream (pure virtual) More... | |
virtual std::string | name () const =0 |
get command name (pure virtual) More... | |
![]() | |
virtual | ~PlayerCommand () |
virtual destructor, but nothing to do | |
virtual Type | type () const =0 |
get command type (pure virtual) More... | |
virtual std::ostream & | toCommandString (std::ostream &to) const =0 |
put command string to ostream (pure virtual) More... | |
virtual std::string | name () const =0 |
get command name (pure virtual) More... | |
Protected Member Functions | |
PlayerSupportCommand () | |
constructor is protected because this is abstract class. | |
![]() | |
PlayerCommand () | |
constructor is protected because this is abstract class. | |
Additional Inherited Members | |
![]() | |
enum | Type { INIT , RECONNECT , BYE , MOVE , DASH , TURN , KICK , CATCH , TACKLE , TURN_NECK , CHANGE_VIEW , CHANGE_FOCUS , SAY , POINTTO , ATTENTIONTO , CLANG , EAR , SENSE_BODY , SCORE , COMPRESSION , DONE , ILLEGAL } |
player client command Id More... | |
abstract support command
|
pure virtual |
get command name (pure virtual)
Implements rcsc::PlayerCommand.
Implemented in rcsc::PlayerTurnNeckCommand, rcsc::PlayerChangeViewCommand, rcsc::PlayerChangeFocusCommand, rcsc::PlayerSayCommand, rcsc::PlayerPointtoCommand, rcsc::PlayerAttentiontoCommand, rcsc::PlayerCLangCommand, rcsc::PlayerEarCommand, rcsc::PlayerSenseBodyCommand, rcsc::PlayerScoreCommand, rcsc::PlayerCompressionCommand, and rcsc::PlayerDoneCommand.
|
pure virtual |
put command string to ostream (pure virtual)
to | reference to the output stream |
Implements rcsc::PlayerCommand.
Implemented in rcsc::PlayerTurnNeckCommand, rcsc::PlayerChangeViewCommand, rcsc::PlayerChangeFocusCommand, rcsc::PlayerSayCommand, rcsc::PlayerPointtoCommand, rcsc::PlayerAttentiontoCommand, rcsc::PlayerCLangCommand, rcsc::PlayerEarCommand, rcsc::PlayerSenseBodyCommand, rcsc::PlayerScoreCommand, rcsc::PlayerCompressionCommand, and rcsc::PlayerDoneCommand.
|
pure virtual |
get command type (pure virtual)
Implements rcsc::PlayerCommand.
Implemented in rcsc::PlayerTurnNeckCommand, rcsc::PlayerChangeViewCommand, rcsc::PlayerChangeFocusCommand, rcsc::PlayerSayCommand, rcsc::PlayerPointtoCommand, rcsc::PlayerAttentiontoCommand, rcsc::PlayerCLangCommand, rcsc::PlayerEarCommand, rcsc::PlayerSenseBodyCommand, rcsc::PlayerScoreCommand, rcsc::PlayerCompressionCommand, and rcsc::PlayerDoneCommand.