AWind
ATimer Class Reference

#include <ATimer.h>

Public Member Functions

void RegisterTimerEventReceiver (ITimerEventReceiver *timerEventReceiver)
 Registers event receiver.
 
void SetAutoReset (bool isAutoreset)
 Set whether timer is in autoreset modus.
 
void SetInterval (uint32_t milliseconds)
 Set timer interval in milliseconds.
 
bool IsEnabled ()
 Returns true if timer is active.
 
void Enable ()
 Starts timer.
 
void Reset ()
 Disabels timer.
 
uint32_t Elapsed ()
 Returns actual elapsed time.
 
void loop ()
 

Detailed Description

Timer class. Implement timer events in window classes. If a Window need to receive timer events it need to be derived from ITimerEventReceiver and NotifyTimer meber function has to be implemented See VacuumPump example for details


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