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

RS::ImmediateCommand Class Reference

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

Inheritance diagram for RS::ImmediateCommand:

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

Collaboration graph
[legend]
List of all members.

Public Member Functions

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

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


Detailed Description

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

(Can be sent directly to server, and more than one every cycle.)

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

Definition at line 66 of file ImmediateCommand.h.


Member Function Documentation

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

Returns a new copy of the command.

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

Implements RS::ServerCommand.

Implemented in RS::CoachCommand, RS::CoachOrTrainerCommand, RS::TrainerCommand, RS::AttentionToCommand, RS::ByeCommand, RS::ChangeModeCommand, RS::ChangeViewCommand, RS::CheckBallCommand, RS::ClangVersionCommand, RS::CoachFreeformCommand, RS::CoachInitCommand, RS::CoachSayCommand, RS::CoachSubstitutionCommand, RS::EarCommand, RS::EyeCommand, RS::InitCommand, RS::LookCommand, RS::MoveObjectCommand, RS::PointToCommand, RS::RecoverCommand, RS::SayCommand, RS::StartCommand, RS::TeamNamesCommand, RS::TrainerChangeModeCommand, RS::TrainerCheckBallCommand, RS::TrainerEarCommand, RS::TrainerGetTeamnamesCommand, RS::TrainerInitCommand, RS::TrainerMoveObjectCommand, RS::TrainerRecoverCommand, RS::TrainerStartCommand, RS::TrainerSubstitutionCommand, and RS::TurnNeckCommand.


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