srAlmende::AlmChoreoAgent Class Reference

#include <almChoreoAgent.h>

Inherits srAlmende::AlmPuppet.

List of all members.

Public Member Functions

 AlmChoreoAgent (const std::string &name, srCore::RobotActorBase *robotActor)
void ProcessMessage (const dtGame::Message &message)

Detailed Description

This robot does have two wheels and one led. It is derived from the almEvolutionAgent which is able to listen to TCP/IP and receive commands to reposition it in the scene to the whims of an evolutionary engine talking over that TCP/IP line. This led on this robot is used to tell the almEvolutionAgent that it is finished in one evolutionary trial, it therefore calls PostProcessMessage of its parent class in the ProcessMessage routine.

Author:
Anne C. van Rossum

Definition at line 24 of file almChoreoAgent.h.


Constructor & Destructor Documentation

srAlmende::AlmChoreoAgent::AlmChoreoAgent ( const std::string &  name,
srCore::RobotActorBase *  robotActor 
)

The constructor is just a ControllerComponent, no additional fields needed.

Definition at line 12 of file almChoreoAgent.cpp.


Member Function Documentation

void srAlmende::AlmChoreoAgent::ProcessMessage ( const dtGame::Message &  message  ) 

The sender of this message already knows how to extract the type of the message, and the id of the receiver. It doesn't know how to interpret the rest of the message. The only thing that the almEvolutionAgent has to do is to transform the message in a position and place the robot in that position.

Reimplemented from srAlmende::AlmEvolutionAgent.

Definition at line 30 of file almChoreoAgent.cpp.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations

Generated on Thu Feb 4 16:32:06 2010 for Delta3D Plugin by  doxygen 1.6.1