mirror of
https://github.com/eclipse/upm.git
synced 2025-07-05 19:31:15 +03:00
Added interfaces iEC,iEmg,iClock,iHeartRate,iLineFinder
Signed-off-by: Stefan Andritoiu <stefan.andritoiu@gmail.com>
This commit is contained in:

committed by
Serban Waltter

parent
e7820f2831
commit
69464ae93b
@ -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