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

RS::CoachCommand Class Reference

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

Inheritance diagram for RS::CoachCommand:

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

Collaboration graph
[legend]
List of all members.

Public Member Functions

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

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


Detailed Description

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

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

Unit:
Library
Revision
1.2
Author
s02davro
Date
2003/07/21 09:11:47

Definition at line 66 of file CoachCommand.h.


Member Function Documentation

virtual CoachCommand* RS::CoachCommand::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::CoachInitCommand, and RS::CoachSubstitutionCommand.


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