#include <BehaviorControlSelector.h>
Inheritance diagram for BehaviorControlSelector:
Public Member Functions | |
BehaviorControlSelector (ModuleHandler &handler, const BehaviorControlInterfaces &interfaces) | |
virtual Module * | createSolution (SolutionRequest::ModuleSolutionID id) |
A selector for behavior control modules.
Definition at line 31 of file BehaviorControlSelector.h.
BehaviorControlSelector::BehaviorControlSelector | ( | ModuleHandler & | handler, | |
const BehaviorControlInterfaces & | interfaces | |||
) | [inline] |
Constructor.
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().
virtual Module* BehaviorControlSelector::createSolution | ( | SolutionRequest::ModuleSolutionID | id | ) | [inline, virtual] |
Is called on start and when the selected solution changes to create a specific solution.
id | The id of the solution to create |
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.