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

Modules/BehaviorControl/CommonXabsl2Symbols/JoystickSymbols.h

Go to the documentation of this file.
00001 /** 
00002 * @file JoystickSymbols.h
00003 *
00004 * Declaration of class JoystickSymbols.
00005 *
00006 * @author Matthias Jüngel
00007 */
00008 
00009 #ifndef __JoystickSymbols_h_
00010 #define __JoystickSymbols_h_
00011 
00012 #include "../BehaviorControl.h"
00013 #include "Tools/Xabsl2/Xabsl2Engine/Xabsl2Engine.h"
00014 
00015 /**
00016 * The Xabsl2 symbols that are defined in "joystick-symbols.xml"
00017 *
00018 * @author Matthias Jüngel
00019 */ 
00020 class JoystickSymbols : public Xabsl2FunctionProvider, public BehaviorControlInterfaces
00021 {
00022 public:
00023 /*
00024 * Constructor.
00025 * @param interfaces The paramters of the BehaviorControl module.
00026   */
00027   JoystickSymbols(const BehaviorControlInterfaces& interfaces);
00028   
00029   /** registers the symbols at an engine */
00030   void registerSymbols(Xabsl2Engine& engine);
00031   
00032     /** updates the symbols */
00033   void update();
00034 
00035   //!@name Input symbols
00036   //!@{
00037   int getJoystickButton(); /*!< A function for the symbol "joystick-data.button" */
00038   double getJoystickTimeSinceLastMessage(); /*!< A function for the symbol "joystick-data.time-since-last-message" */
00039   double getSpecialActionId(); /*!< A function for the symbol "joystick-data.special-action-id" */
00040   //!@}
00041 };
00042 
00043 
00044 #endif // __JoystickSymbols_h_
00045 
00046 /*
00047 * Change Log
00048 * 
00049 * $Log: JoystickSymbols.h,v $
00050 * Revision 1.1.1.1  2004/05/22 17:16:58  cvsadm
00051 * created new repository GT2004_WM
00052 *
00053 * Revision 1.3  2004/04/26 15:58:59  thomas
00054 * added new project RobotRemote based on ATHAiboControl
00055 *
00056 * Revision 1.2  2004/03/08 00:58:56  roefer
00057 * Interfaces should be const
00058 *
00059 * Revision 1.1  2003/10/22 22:18:44  loetzsch
00060 * prepared the cloning of the GT2003BehaviorControl
00061 *
00062 * Revision 1.1  2003/10/06 13:39:28  cvsadm
00063 * Created GT2004 (M.J.)
00064 *
00065 * Revision 1.1.1.1  2003/07/02 09:40:23  cvsadm
00066 * created new repository for the competitions in Padova from the 
00067 * tamara CVS (Tuesday 2:00 pm)
00068 *
00069 * removed unused solutions
00070 *
00071 * Revision 1.1  2003/05/07 17:54:39  juengel
00072 * Added missing symbols to GT2003BehaviorControl.
00073 *
00074 */
00075 

Generated on Thu Sep 23 19:57:25 2004 for GT2004 by doxygen 1.3.6