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

RS::ServerCommand Class Reference

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

Inheritance diagram for RS::ServerCommand:

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

Collaboration graph
[legend]
List of all members.

Public Member Functions

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

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


Detailed Description

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

Unit:
Library
Revision
1.9
Author
s02davro
Date
2003/07/21 09:19:19

Definition at line 86 of file ServerCommand.h.


Member Function Documentation

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

Returns a new copy of the command.

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

Implements RS::Command.

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

Referenced by RS::Sensors::analyze(), RS::AgentStep::getNextCommand(), RS::AgentStep::merge(), RS::AgentStep::operator=(), RS::SkillWithPositionAndCommand::setCommand(), RS::SkillWithDirectionAndCommand::setCommand(), and RS::SkillWithCommand::setCommand().


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