Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

RS::TrainerCommand Class Reference

Class used as the base class of all trainer commands defined in RoboSoc. More...

Inheritance diagram for RS::TrainerCommand:

Inheritance graph
[legend]
Collaboration diagram for RS::TrainerCommand:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 TrainerCommand (const CommandType)
virtual const std::string serverString () const=0
 Returns the server string that will execute the ServerCommand at the soccer server.

virtual TrainerCommand * clone () const=0
 Returns a new copy of the command.


Detailed Description

Class used as the base class of all trainer commands defined in RoboSoc.

(Can be sent directly to server, and more than one every cycle, only by trainer)

Unit:
Library
Revision
1.1
Author
s02davro
Date
2003/07/21 08:29:16

Definition at line 66 of file TrainerCommand.h.


Member Function Documentation

virtual TrainerCommand* RS::TrainerCommand::clone   const [pure virtual]
 

Returns a new copy of the command.

REMEMBER TO DELETE IT, OTHERWISE YOU WILL HAVE A MEMORY LEAK!!!

Implements RS::ImmediateCommand.

Implemented in RS::ChangeModeCommand, RS::CheckBallCommand, RS::EarCommand, RS::MoveObjectCommand, RS::RecoverCommand, RS::StartCommand, RS::TrainerChangeModeCommand, RS::TrainerCheckBallCommand, RS::TrainerEarCommand, RS::TrainerGetTeamnamesCommand, RS::TrainerInitCommand, RS::TrainerMoveObjectCommand, RS::TrainerRecoverCommand, RS::TrainerStartCommand, and RS::TrainerSubstitutionCommand.


The documentation for this class was generated from the following files:
Generated on Mon Aug 29 08:22:45 2011 for RoboSoc by doxygen1.3-rc3