|
LIBRCSC Docs
Documentation for HELIOS's BASE LIBRCSC library for RoboCup 2D Simulation League.
|
abstract coach command class More...
#include <coach_command.h>

Public Types | |
| enum | Type { INIT , BYE , CHECK_BALL , LOOK , TEAM_NAMES , EYE , CHANGE_PLAYER_TYPE , CHANGE_PLAYER_TYPES , CLANG_FREEFORM , TEAM_GRAPHIC , COMPRESSION , DONE , ILLEGAL } |
| online coach command type Id | |
Public Member Functions | |
| virtual | ~CoachCommand () |
| 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 | |
| CoachCommand () | |
| constructor is protected because this is abstract class. | |
abstract coach command class
|
pure virtual |
get command name (pure virtual)
Implemented in rcsc::CoachInitCommand, rcsc::CoachByeCommand, rcsc::CoachCheckBallCommand, rcsc::CoachLookCommand, rcsc::CoachTeamNamesCommand, rcsc::CoachEyeCommand, rcsc::CoachChangePlayerTypeCommand, rcsc::CoachChangePlayerTypesCommand, rcsc::CoachFreeformCommand, rcsc::CoachTeamGraphicCommand, rcsc::CoachCompressionCommand, and rcsc::CoachDoneCommand.
|
pure virtual |
put command string to ostream (pure virtual)
| to | reference to the output stream |
Implemented in rcsc::CoachInitCommand, rcsc::CoachByeCommand, rcsc::CoachCheckBallCommand, rcsc::CoachLookCommand, rcsc::CoachTeamNamesCommand, rcsc::CoachEyeCommand, rcsc::CoachChangePlayerTypeCommand, rcsc::CoachChangePlayerTypesCommand, rcsc::CoachFreeformCommand, rcsc::CoachTeamGraphicCommand, rcsc::CoachCompressionCommand, and rcsc::CoachDoneCommand.
|
pure virtual |
get command type (pure virtual)
Implemented in rcsc::CoachInitCommand, rcsc::CoachByeCommand, rcsc::CoachCheckBallCommand, rcsc::CoachLookCommand, rcsc::CoachTeamNamesCommand, rcsc::CoachEyeCommand, rcsc::CoachChangePlayerTypeCommand, rcsc::CoachChangePlayerTypesCommand, rcsc::CoachFreeformCommand, rcsc::CoachTeamGraphicCommand, rcsc::CoachCompressionCommand, and rcsc::CoachDoneCommand.