Added interfaces iEC,iEmg,iClock,iHeartRate,iLineFinder
Signed-off-by: Stefan Andritoiu <stefan.andritoiu@gmail.com> Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
This commit is contained in:
committed by
Mihai Tudor Panu
parent
f035470822
commit
a589f92cec
@@ -31,6 +31,7 @@
|
||||
#include <string.h>
|
||||
|
||||
#include "dfrec.h"
|
||||
#include <interfaces/iEC.hpp>
|
||||
|
||||
namespace upm {
|
||||
/**
|
||||
@@ -65,7 +66,7 @@ namespace upm {
|
||||
* @snippet dfrec.cxx Interesting
|
||||
*/
|
||||
|
||||
class DFREC {
|
||||
class DFREC : virtual public iEC {
|
||||
public:
|
||||
|
||||
/**
|
||||
@@ -120,6 +121,13 @@ namespace upm {
|
||||
*/
|
||||
float getEC();
|
||||
|
||||
/**
|
||||
* Get computed EC (ms/cm) value from the sensor. update() is called
|
||||
* in this function.
|
||||
* @return EC value in ms/cm.
|
||||
*/
|
||||
virtual float getECValue();
|
||||
|
||||
/**
|
||||
* Get the measured volts from the sensor. update() must have been
|
||||
* called prior to calling this function.
|
||||
|
||||
Reference in New Issue
Block a user