00001
00002
00003
00004
00005
00006
00007 #ifndef TOUCHSENSOR_H_
00008 #define TOUCHSENSOR_H_
00009
00010 #include "Sensor.h"
00011
00012 namespace ecrobot
00013 {
00017 class TouchSensor: public Sensor
00018 {
00019 public:
00029 explicit TouchSensor(ePortS port);
00030
00036 bool isPressed(void) const;
00037 };
00038 }
00039
00040 #endif