BehaviorControlSelector Class Reference

#include <BehaviorControlSelector.h>

Inheritance diagram for BehaviorControlSelector:

ModuleSelector BehaviorControlInterfaces MessageHandler List of all members.

Public Member Functions

 BehaviorControlSelector (ModuleHandler &handler, const BehaviorControlInterfaces &interfaces)
virtual ModulecreateSolution (SolutionRequest::ModuleSolutionID id)

Detailed Description

BehaviorControl selection module.

A selector for behavior control modules.

Definition at line 31 of file BehaviorControlSelector.h.


Constructor & Destructor Documentation

BehaviorControlSelector::BehaviorControlSelector ( ModuleHandler handler,
const BehaviorControlInterfaces interfaces 
) [inline]

Constructor.

Parameters:
handler The module handler of the process.
interfaces The paramters of the BehaviorControl module.

Definition at line 39 of file BehaviorControlSelector.h.

References SolutionRequest::behaviorControl, and ModuleHandler::setModuleSelector().


Member Function Documentation

virtual Module* BehaviorControlSelector::createSolution ( SolutionRequest::ModuleSolutionID  id  )  [inline, virtual]

Is called on start and when the selected solution changes to create a specific solution.

Parameters:
id The id of the solution to create
Returns:
The created solution or 0

Implements ModuleSelector.

Definition at line 53 of file BehaviorControlSelector.h.

References SolutionRequest::dt2005BehaviorControlAgentOdometryTest, SolutionRequest::dt2005BehaviorControlAgentSLAMChallenge, SolutionRequest::dt2005BehaviorControlAgentSLAMTest, SolutionRequest::dt2005BehaviorControlAgentVariableLightingChallenge, SolutionRequest::gt2004BehaviorControlAgentJoystickControlled, SolutionRequest::gt2004BehaviorControlAgentOpenChallenge, SolutionRequest::gt2004BehaviorControlAgentPenaltyShooter, and SolutionRequest::gt2004BehaviorControlAgentSoccer.


The documentation for this class was generated from the following file:
Generated on Thu Dec 7 01:19:16 2006 for DT2005.panorama by  doxygen 1.4.7