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

RS::FrameworkAgent Class Reference

This is a class that can be used to create the basic system and framework for an agent so the user do not have to create and connect all the units herself. More...

Collaboration diagram for RS::FrameworkAgent:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 FrameworkAgent (Decision *decision)
 Default construcor Supply a decision object to make the agents decisions.

virtual ~FrameworkAgent ()
 Destructor for the FrameworkAgent.

virtual bool start ()
 Start the agent.


Protected Attributes

ViewManagerviewManager
 ViewManager isn't needed here I think The worldModelInterface should take care of the updates.

const WorldFactsfacts
 The facts of the world, we need some parameters for initialization.

ServerInterfaceserverInterface
 Pointer to the server interface.

FrameworkSensorInterfacesensorInterface
 Pointer to the server interface.

CLangParser clangParser
 Coach message parser from soccerserver to parse coach data.

Sensorssensors
 Pointer to the agents sensors.

ActuatorInterfaceactuatorInterface
 Pointer to the acutator interface.

Actuatorsactuators
 Pointer to the agents acutators.

Decisiondecision
 Pointer to the agents decision handler.

ControlInterfacecontrolInterface
 Pointer to the controll interface.

Controllercontroller
 Pointer to the agents controller.


Detailed Description

This is a class that can be used to create the basic system and framework for an agent so the user do not have to create and connect all the units herself.

Only supply a decision object and command line arguments with the necessary parameters to start the agent. Now uses soccerserver coachlanguage parser and sends this to the sensors.

Todo:
startAsCoach need to be fixed.

separete coach and players FrameworkAgent?

Unit:
BasicSystem
Revision
1.5
Author
s02davro
Date
2003/07/21 09:01:07

Definition at line 114 of file FrameworkAgent.h.


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