LIBRCSC Docs
Documentation for HELIOS's BASE LIBRCSC library for RoboCup 2D Simulation League.
All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
Public Types | Public Member Functions | Protected Member Functions | List of all members
rcsc::CoachCommand Class Referenceabstract

abstract coach command class More...

#include <coach_command.h>

Inheritance diagram for rcsc::CoachCommand:
Inheritance graph
[legend]

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.
 

Detailed Description

abstract coach command class

Member Function Documentation

◆ name()

virtual std::string rcsc::CoachCommand::name ( ) const
pure virtual

◆ toCommandString()

virtual std::ostream & rcsc::CoachCommand::toCommandString ( std::ostream &  to) const
pure virtual

◆ type()

virtual Type rcsc::CoachCommand::type ( ) const
pure virtual

The documentation for this class was generated from the following file: