gedi::AlarmListener Class Reference

#include <AlarmClock.h>

Inherits gedi::EventListener.

Inherited by gedi::AlarmUntilListener.

Inheritance diagram for gedi::AlarmListener:

[legend]
Collaboration diagram for gedi::AlarmListener:
[legend]
List of all members.

Public Member Functions

 AlarmListener ()
 AlarmListener (gedi::RealTime fWakeup)

Detailed Description

This is the basic alarm listener class, objects of which can be added to the gedi::AlarmClock listener queue. If alarm goes off, the alarm is automatically reset. To disable it, the EventCalled method should set the wakeup time to zero. To deregister the listener after it has been called at least once, the EventCalled method should return gedi::False.


Constructor & Destructor Documentation

gedi::AlarmListener::AlarmListener (  )  [inline]

Default constructor which initializes the wakeup time to zero.

gedi::AlarmListener::AlarmListener ( gedi::RealTime  fWakeup  )  [inline]

Constructor.

Parameters:
fWakeup Wake up time from "now". If value is zero, listener disabled.


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