Tekkotsu Homepage
Demos
Overview
Downloads
Dev. Resources
Reference
Credits

SensorStateAccessor.h

Go to the documentation of this file.
00001 //-*-c++-*-
00002 #ifndef INCLUDED_SensorStateAccessor_h_
00003 #define INCLUDED_SensorStateAccessor_h_
00004 
00005 #include "local/DataSource.h"
00006 
00007 //! Not a real DataSource, but an interface for the HAL command line to support set/print of values
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 /*! @file
00019  * @brief Describes SensorStateAccessor, not a real DataSource, but an interface for the HAL command line to support set/print of values
00020  * @author Ethan Tira-Thompson (ejt) (Creator)
00021  */
00022 
00023 #endif

Tekkotsu Hardware Abstraction Layer 5.1CVS
Generated Mon May 9 05:01:39 2016 by Doxygen 1.6.3