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

WalkingEngineSelector Class Reference

A module selector for WalkingEngine modules. More...

#include <WalkingEngineSelector.h>

Inheritance diagram for WalkingEngineSelector:

Inheritance graph
[legend]
Collaboration diagram for WalkingEngineSelector:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 WalkingEngineSelector (ModuleHandler &handler, SolutionRequest::ModuleID moduleID, const WalkingEngineInterfaces &interfaces, InvKinWalkingEngine *pInvKinWalkingEngine)
 Constructor.

virtual ModulecreateSolution (SolutionRequest::ModuleSolutionID id)
 Is called on start and when the selected solution changes to create a specific solution.

bool executeParameterized (JointData &jointData, const WalkRequest &walkRequest, double positionInWalkingCycle)
 Executes the module.

virtual bool handleMessage (InMessage &message)
 Handles a message.


Public Attributes

InvKinWalkingEnginepInvKinWalkingEngine
 The only used InvKinWalkingEngine.


Detailed Description

A module selector for WalkingEngine modules.

Definition at line 24 of file WalkingEngineSelector.h.


Constructor & Destructor Documentation

WalkingEngineSelector::WalkingEngineSelector ModuleHandler handler,
SolutionRequest::ModuleID  moduleID,
const WalkingEngineInterfaces interfaces,
InvKinWalkingEngine pInvKinWalkingEngine
[inline]
 

Constructor.

Parameters:
handler The module handler of the process.
moduleID The module id of the walking engine.
interfaces The paramters of the MotionControl module.
pInvKinWalkingEngine Pointer to an InvKinWalkingEngine to be used to avoid having different engines for different parameter sets.

Definition at line 34 of file WalkingEngineSelector.h.

References ModuleHandler::setModuleSelector().

Here is the call graph for this function:


Member Function Documentation

virtual Module* WalkingEngineSelector::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 51 of file WalkingEngineSelector.h.

bool WalkingEngineSelector::executeParameterized JointData jointData,
const WalkRequest walkRequest,
double  positionInWalkingCycle
[inline, virtual]
 

Executes the module.

Implements WalkingEngine.

Definition at line 82 of file WalkingEngineSelector.h.

References JointData::data.

virtual bool WalkingEngineSelector::handleMessage InMessage message  )  [inline, virtual]
 

Handles a message.

Reimplemented from ModuleSelector.

Definition at line 98 of file WalkingEngineSelector.h.


Member Data Documentation

InvKinWalkingEngine* WalkingEngineSelector::pInvKinWalkingEngine
 

The only used InvKinWalkingEngine.

Definition at line 106 of file WalkingEngineSelector.h.


The documentation for this class was generated from the following file:
Generated on Thu Sep 23 20:12:14 2004 for GT2004 by doxygen 1.3.6