EMIPLIB
Public Member Functions

MIPAverageTimer Class Reference

A simple timing component. More...

#include <mipaveragetimer.h>

Inheritance diagram for MIPAverageTimer:
Inheritance graph
[legend]
Collaboration diagram for MIPAverageTimer:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 MIPAverageTimer (MIPTime interval)
 Creates a timing object.
void reset ()
 Re-initializes the component.

Detailed Description

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.


Constructor & Destructor Documentation

MIPAverageTimer::MIPAverageTimer ( MIPTime  interval)

Using this constructor, a timing object will be created which will generate messages eacht time interval has elapsed.


Member Function Documentation

void MIPAverageTimer::reset ( )

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