|
LIBRCSC Docs
Documentation for HELIOS's BASE LIBRCSC library for RoboCup 2D Simulation League.
|
command to send a tile of xpm team graphic More...
#include <coach_command.h>


Public Member Functions | |
| CoachTeamGraphicCommand (const unsigned int x, const unsigned int y, const std::vector< std::string > &xpm_lines) | |
| construct with xpm string and its coordinate. More... | |
| 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... | |
Public Member Functions inherited from rcsc::CoachCommand | |
| 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... | |
Additional Inherited Members | |
Public Types inherited from rcsc::CoachCommand | |
| 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 | |
Protected Member Functions inherited from rcsc::CoachCommand | |
| CoachCommand () | |
| constructor is protected because this is abstract class. | |
command to send a tile of xpm team graphic
Format: <- (team_graphic (<x> <y> "<xpmline>" ... "<xpmline>")) Response: -> (ok team_graphic <x> <y>) -> (warning only_before_kick_off) -> (warning invalid_tile_location) -> (warning invalid_tile_size) -> (error illegal_command_form)
| rcsc::CoachTeamGraphicCommand::CoachTeamGraphicCommand | ( | const unsigned int | x, |
| const unsigned int | y, | ||
| const std::vector< std::string > & | xpm_lines | ||
| ) |
construct with xpm string and its coordinate.
| x | x coordinate of this tile in xpm image |
| y | y coordinate of this tile in xpm image |
| xpm_lines | a tile of xpm |
|
inlinevirtual |
|
virtual |
put command string to ostream
| to | reference to the output stream |
Implements rcsc::CoachCommand.
|
inlinevirtual |