micro-ELC
Public Member Functions | List of all members
Measurement Class Referenceabstract

Defines an interface for measuring the frequency, rotational speed, or voltage of a generator to use as the input to the control loop. More...

#include <Measurement.h>

Inheritance diagram for Measurement:
Inheritance graph
[legend]

Public Member Functions

virtual float getMeasurement ()=0
 Use this method to get the most recent measurement on the speed of the generator. More...
 
virtual void run ()=0
 call this in loop() since some forms of measurement may need to be constantly polled More...
 

Detailed Description

Defines an interface for measuring the frequency, rotational speed, or voltage of a generator to use as the input to the control loop.

Member Function Documentation

◆ getMeasurement()

virtual float Measurement::getMeasurement ( )
pure virtual

Use this method to get the most recent measurement on the speed of the generator.

Return values
measurement(float)

Implemented in TachometerJEncoder.

◆ run()

virtual void Measurement::run ( )
pure virtual

call this in loop() since some forms of measurement may need to be constantly polled

Implemented in TachometerJEncoder.


The documentation for this class was generated from the following file: