00001 /*************************************************************************** 00002 Girometer.h - description 00003 ------------------- 00004 begin : mer jun 08 2003 00005 copyright : (C) 2003 by Michel Dubois, Yann Le Guyadec 00006 email : Michel.Dubois@univ-ubs.fr, Yann.Le-Guyadec@univ-ubs.fr 00007 ***************************************************************************/ 00008 00009 /*************************************************************************** 00010 * * 00011 * This program is free software; you can redistribute it and/or modify * 00012 * it under the terms of the GNU General Public License as published by * 00013 * the Free Software Foundation; either version 2 of the License, or * 00014 * (at your option) any later version. * 00015 * * 00016 ***************************************************************************/ 00017 00018 00019 00020 #ifndef __GIROMETER__ 00021 #define __GIROMETER__ 00022 00023 00024 // Include files 00025 #include "Sensor.h" 00026 #include "Atom.h" 00027 namespace API { 00028 class Atom; 00029 class Girometer : public Sensor 00030 { 00031 public: 00032 Girometer(); 00033 virtual ~Girometer(); 00034 Atom * getAtom() const; 00035 unsigned int getID() const; 00036 double toRadiusMinus1() const; 00037 00038 protected: 00039 void setAtom(Atom * anAtom); 00040 void setID(unsigned int anAccelerometerID); 00041 Atom * atom; 00042 unsigned int ID; 00043 00044 00045 };// END CLASS DEFINITION Girometer 00046 } 00047 #endif // __GIROMETER__