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

RS::CommandStrategy Class Reference

Updates the world model when the agent has executed a command. More...

Inheritance diagram for RS::CommandStrategy:

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

Collaboration graph
[legend]
List of all members.

Public Member Functions

virtual void updateAfterCommand (WorldModel &world, ServerCommand *cmd) const=0
 This function is called when we have executed a command.


Detailed Description

Updates the world model when the agent has executed a command.

This class makes updates of the worldModel based on the command executed adaptive. Inherit and supply your own implementation of the updateAfterCommand function.

Unit:
Framework/strategy
Revision
1.4
Author
s02davro
Date
2003/10/14 18:03:06

Definition at line 75 of file CommandStrategy.h.


Member Function Documentation

virtual void RS::CommandStrategy::updateAfterCommand WorldModel   world,
ServerCommand   cmd
const [pure virtual]
 

This function is called when we have executed a command.

Overload it to make changes in the worldModel based on this new information.

Implemented in RS::BasicCommandStrategy.

Referenced by RS::TurnNeckToPoint::generateStep(), RS::TurnNeckToBall::generateStep(), and RS::TurnNeckToAbsoluteDirection::generateStep().


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