00001 /*************************************************************************** 00002 IRReceiver.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 // Modèle statique 00020 /* 00021 * changes : 00022 * - 08/06/03 MD Creation ! 00023 */ 00024 00025 00026 #ifndef __IRRECEIVER__ 00027 #define __IRRECEIVER__ 00028 00029 00030 // Include files 00031 #include "Sensor.h" 00032 #include "Leg.h" 00033 00034 namespace API { 00035 //class Leg; 00036 class IRReceiver : public Sensor 00037 { 00038 public: 00039 00040 IRReceiver(); 00041 virtual ~IRReceiver(); 00042 int getIRValue() const; 00043 int getMinValue() const; 00044 int getMaxValue() const; 00045 Leg * getLeg() const; 00046 00047 protected: 00048 void setLeg(Leg * aLeg); 00049 Leg * leg; 00050 int minValue; 00051 int maxValue; 00052 00053 };// END CLASS DEFINITION IRReceiver 00054 } 00055 #endif // __IRRECEIVER__