Added Initial interface implementations

This commit is contained in:
UPSquared
2018-05-31 17:21:00 +03:00
committed by Stefan Andritoiu
parent 9a959b578c
commit 551a86ee8c
102 changed files with 1072 additions and 183 deletions

View File

@ -25,6 +25,7 @@
#include <string>
#include <otp538u.h>
#include <interfaces/iTemperature.hpp>
namespace upm {
@ -73,7 +74,7 @@ namespace upm {
* @image html otp538u.jpg
* @snippet otp538u.cxx Interesting
*/
class OTP538U {
class OTP538U : virtual public iTemperature {
public:
/**
* OTP538U constructor
@ -96,6 +97,13 @@ namespace upm {
*/
float ambientTemperature();
/**
* Gets the ambient temperature in Celsius
*
* @return Ambient temperature
*/
virtual float getTemperature();
/**
* Gets the object temperature in Celsius
*