LIBRCSC Docs
Documentation for HELIOS's BASE LIBRCSC library for RoboCup 2D Simulation League.
|
player's change focus command More...
#include <player_command.h>
Public Member Functions | |
PlayerChangeFocusCommand (const double moment_dist, const double moment_dir) | |
construct with command parameters 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 thencommand name More... | |
double | momentDist () const |
get the command parameter More... | |
double | momentDir () const |
get the command parameter More... | |
![]() | |
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... | |
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... | |
![]() | |
PlayerSupportCommand () | |
constructor is protected because this is abstract class. | |
![]() | |
PlayerCommand () | |
constructor is protected because this is abstract class. | |
player's change focus command
Format: <- (change_focus <moment_dist> <moment_dir>)
|
inline |
construct with command parameters
moment_dist | moment for the distance |
moment_dir | moment for the direction |
|
inline |
get the command parameter
|
inline |
get the command parameter
|
inlinevirtual |
|
virtual |
put command string to ostream
to | reference to the output stream |
Implements rcsc::PlayerSupportCommand.
|
inlinevirtual |