Main Page | Modules | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | Examples

LCDTimeSensor.h

00001 #ifndef _LCD_TIME_SENSOR_H_
00002 #define _LCD_TIME_SENSOR_H_
00003 
00004 #include "LCDSensor.h"
00005 #include <string>
00006 
00007 const std::string LCD_TIME_HOUR_MINUTE = "+%H:%M";
00008 const std::string LCD_TIME_HOUR_MINUTE_SECOND = "+%H:%M:%S";
00009 
00016 class LCDTimeSensor : public LCDSensor
00017 {
00018  private:
00019     std::string _format;
00020 
00021  public:
00022   virtual void waitForChange();
00023   virtual std::string getCurrentValue();
00024 
00031   LCDTimeSensor(const std::string &format = LCD_TIME_HOUR_MINUTE);
00032 };
00033 
00034 #endif

Generated on Wed Aug 4 19:39:09 2004 for LCDApi by doxygen 1.3.6