micro-ELC
src
measurement
Measurement.h
Go to the documentation of this file.
1
#ifndef MEASUREMENT_H
2
#define MEASUREMENT_H
6
class
Measurement
{
7
public
:
12
virtual
float
getMeasurement
() = 0;
16
virtual
void
run
() = 0;
17
};
18
#endif
Measurement
Defines an interface for measuring the frequency, rotational speed, or voltage of a generator to use ...
Definition:
Measurement.h:6
Measurement::getMeasurement
virtual float getMeasurement()=0
Use this method to get the most recent measurement on the speed of the generator.
Measurement::run
virtual void run()=0
call this in loop() since some forms of measurement may need to be constantly polled
Generated by
1.9.3