libalarm Documentation

Author:
Simo Piiroinen <simo.piiroinen@nokia.com>

Copyright

Alarm daemon and libalarm are:
Copyright (C) 2008 Nokia. All rights reserved.

Introduction

Alarm service is a subsysten that consists of two parts:

Architecture

Simplified view to system utilizing alarm service:

ASCII art diagram of the above:

   +----------+  +-------+  +-------+
   |          |  |       |  |       |
   | calendar |  | clock |  | app X |
   |          |  |       |  |       |
 ======================================  libalarm.h
               |          |
               | libalarm |
               |          |
               +----------+
                    ^
                    |
                  ==z=== D-Bus
                    |
                    v
               +---------+
               |         |            +---------+
               |         |<-----------| snooze  |
               |         |            +---------+
               | alarmd  |                  ^
               |         |                  |
  +-------+    |         |            +------------------+
  | alarm |<-->|         |----------->|  alarm action    |
  | queue |    +---------+            +------------------+
  | file  |     ^     | ^                   |          |
  +-------+     |     | |            exec ==z==      ==z== D-Bus
                |     | |                   |          |
                |     | |                   v          v
       ioctl ===z== ==z=z=== D-Bus    +---------+ +-------------+
                |     | |             |         | | dbus signal |
                v     v |             | command | | or method   |
      +----------+  +----------+      |         | | call        |
      |          |  | systemui |      +---------+ +-------------+
      | /dev/rtc |  | dialog   |
      |          |  | service  |
      +----------+  +----------+
                        ^
                        |
                      ==z=== Touchscreen
                        |
                        v
                    +----------+
                    | response |
                    | from the |
                    | user     |
                    +----------+

SVN

All source code is stored in subversion repository dms, subdirectory alarmd.
Generated on Tue Feb 24 16:21:30 2009 for libalarm by  doxygen 1.5.1