Packets: Fix VariantParser invalid parser access bug
[senf.git] / PPI / IdleEvent.hh
index 3064380..128dcba 100644 (file)
@@ -1,8 +1,8 @@
 // $Id$
 //
-// Copyright (C) 2007 
-// Fraunhofer Institut fuer offene Kommunikationssysteme (FOKUS)
-// Kompetenzzentrum fuer Satelitenkommunikation (SatCom)
+// Copyright (C) 2007
+// Fraunhofer Institute for Open Communication Systems (FOKUS)
+// Competence Center NETwork research (NET), St. Augustin, GERMANY
 //     Stefan Bund <g0dil@berlios.de>
 //
 // This program is free software; you can redistribute it and/or modify
@@ -23,8 +23,8 @@
 /** \file
     \brief IdleEvent public header */
 
-#ifndef HH_IdleEvent_
-#define HH_IdleEvent_ 1
+#ifndef HH_SENF_PPI_IdleEvent_
+#define HH_SENF_PPI_IdleEvent_ 1
 
 // Custom includes
 #include "Events.hh"
 namespace senf {
 namespace ppi {
 
+    /** \brief Continually signaled event
+
+        An IdleEvent is signaled continually and repeatedly while enabled. It will consume 100% of
+        available CPU resources. The resource usage is controlled by adequate event throttling.
+        
+        \ingroup event_group
+     */
     class IdleEvent
         : public EventImplementation<>
     {
@@ -49,7 +56,7 @@ namespace ppi {
 
         void cb();
         
-        unsigned id_;
+        scheduler::TimerEvent timer_;
     };
 
 }}