Added initial interfaces and some sensors implementing them

This commit is contained in:
Mihai Stefanescu
2018-06-12 18:46:49 +03:00
committed by Serban Waltter
parent 85608a9f61
commit e7820f2831
102 changed files with 1183 additions and 182 deletions

View File

@ -25,6 +25,7 @@
#pragma once
#include "abp.h"
#include <interfaces/iTemperature.hpp>
namespace upm {
/**
@ -59,7 +60,7 @@ namespace upm {
* @snippet abp.cxx Interesting
*/
class ABP {
class ABP : virtual public iTemperature {
public:
/**
@ -90,7 +91,7 @@ namespace upm {
*
* @return float compensated temperature value
*/
float getTemperature();
virtual float getTemperature();
/**
* This functio has to be called before calling either of the get