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

Modules/SensorBehaviorControl/SensorBehaviorControlSelector.h

Go to the documentation of this file.
00001 /**
00002 * @file SensorBehaviorControlSelector.h
00003 * 
00004 * Definition of class SensorBehaviorControlSelector
00005 *
00006 * @author Max Risler
00007 * @author Martin Lötzsch
00008 * @author Matthias Jüngel
00009 */
00010 
00011 #ifndef __SensorBehaviorControlSelector_h_
00012 #define __SensorBehaviorControlSelector_h_
00013 
00014 #include "Tools/Module/ModuleSelector.h"
00015 #include "SensorBehaviorControl.h"
00016 
00017 /**
00018 * @class SensorBehaviorControlSelector
00019 * 
00020 * A module selector for sensor data to motion request modules.
00021 *
00022 * @author Martin Lötzsch
00023 */
00024 class SensorBehaviorControlSelector : public ModuleSelector, public SensorBehaviorControlInterfaces
00025 {
00026 public:
00027 /**
00028 * Constructor.
00029 * @param handler The module handler of the process.
00030 * @param interfaces The paramters of the SensorBehaviorControl module.
00031   */
00032   SensorBehaviorControlSelector(ModuleHandler &handler,const SensorBehaviorControlInterfaces& interfaces)
00033     : ModuleSelector(SolutionRequest::sensorBehaviorControl),
00034     SensorBehaviorControlInterfaces(interfaces)
00035   {
00036     handler.setModuleSelector(SolutionRequest::sensorBehaviorControl, this);
00037   }    
00038   
00039   /** 
00040   * Is called on start and when the selected solution changes
00041   * to create a specific solution.
00042   * @param id The id of the solution to create
00043   * @return The created solution or 0
00044   */
00045   virtual Module* createSolution(SolutionRequest::ModuleSolutionID id)
00046   {
00047 //    switch(id)
00048 //    {
00049 
00050 //    default:
00051       return 0;
00052 //    }
00053   }
00054   
00055 };
00056 
00057 #endif //__SensorBehaviorControlSelector_h_

Generated on Mon Mar 20 21:59:57 2006 for GT2005 by doxygen 1.3.6