SensorStateAccessor.h
Go to the documentation of this file.00001
00002 #ifndef INCLUDED_SensorStateAccessor_h_
00003 #define INCLUDED_SensorStateAccessor_h_
00004
00005 #include "local/DataSource.h"
00006
00007
00008 class SensorStateAccessor : public DataSource {
00009 public:
00010 virtual unsigned int nextTimestamp() { return 0; }
00011 virtual const std::string& nextName() { static std::string empty; return empty; }
00012 virtual bool advance() { return false; }
00013
00014 bool set(const std::string& key, const std::string& value) const;
00015 bool print(const std::string& key) const;
00016 };
00017
00018
00019
00020
00021
00022
00023 #endif