EMIPLIB
|
A simple timing component. More...
#include <mipaveragetimer.h>
Public Member Functions | |
MIPAverageTimer (MIPTime interval) | |
Creates a timing object. | |
void | reset () |
Re-initializes the component. |
This is a simple timing component which accepts MIPSYSTEMMESSAGE_WAITTIME system messages. It generates a MIPSYSTEMMESSAGE_ISTIME system message each time the specified interval has elapsed. Note that this is only on average after each interval: fluctuation will be present.
MIPAverageTimer::MIPAverageTimer | ( | MIPTime | interval | ) |
Using this constructor, a timing object will be created which will generate messages eacht time interval
has elapsed.
void MIPAverageTimer::reset | ( | ) |