|
LIBRCSC Docs
Documentation for HELIOS's BASE LIBRCSC library for RoboCup 2D Simulation League.
|
player's turn neck command More...
#include <player_command.h>


Public Member Functions | |
| PlayerPointtoCommand () | |
| target angle relative to body angle More... | |
| PlayerPointtoCommand (const double &dist, const double &rel_dir) | |
| construct on type pointto command with point target 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 paramter More... | |
| bool | pointtoOn () const |
| get pointto command switch More... | |
| const double & | pointtoDist () const |
| get pointto command parameter More... | |
| const double & | pointtoDir () const |
| get pointto command parameter More... | |
Public Member Functions inherited from rcsc::PlayerSupportCommand | |
| 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... | |
Public Member Functions inherited from rcsc::PlayerCommand | |
| 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... | |
Additional Inherited Members | |
Public Types inherited from rcsc::PlayerCommand | |
| 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... | |
Protected Member Functions inherited from rcsc::PlayerSupportCommand | |
| PlayerSupportCommand () | |
| constructor is protected because this is abstract class. | |
Protected Member Functions inherited from rcsc::PlayerCommand | |
| PlayerCommand () | |
| constructor is protected because this is abstract class. | |
player's turn neck command
Format: <- (pointto <dist> <dir>) <- (pointto off)
|
inline |
target angle relative to body angle
construct off type pointto command
|
inline |
construct on type pointto command with point target
| dist | point target distance |
| rel_dir | point target angle relative to body angle |
|
inlinevirtual |
|
inline |
get pointto command parameter
|
inline |
get pointto command parameter
|
inline |
get pointto command switch
|
virtual |
put command string to ostream
| to | reference to the output stream |
Implements rcsc::PlayerSupportCommand.
|
inlinevirtual |