LIBRCSC Docs
Documentation for HELIOS's BASE LIBRCSC library for RoboCup 2D Simulation League.
|
command to check ball status More...
#include <trainer_command.h>
Public Member Functions | |
TrainerCheckBallCommand () | |
constructor. nothing to do | |
Type | type () const |
get command type More... | |
std::ostream & | toCommandString (std::ostream &to) const |
put command string to ostream More... | |
std::string | name () const |
get command name More... | |
![]() | |
virtual | ~TrainerCommand () |
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... | |
Additional Inherited Members | |
![]() | |
enum | Type { INIT , CHECK_BALL , LOOK , TEAM_NAMES , EAR , EYE , START , CHANGE_MODE , MOVE , RECOVER , CHANGE_PLAYER_TYPE , SAY , COMPRESSION , DONE , ILLEGAL } |
trainer command type Id More... | |
![]() | |
TrainerCommand () | |
constructor is protected because this is abstract class. | |
command to check ball status
Format: <- (check_ball) Response: -> (ok check_ball <ball_status>) ball_status :- "in_field" | "goal_l" | "goal_r" | "out_of_field"
|
inlinevirtual |
|
virtual |
put command string to ostream
to | referent to the output stream |
Implements rcsc::TrainerCommand.
|
inlinevirtual |