Scheduler: TimerEvent doku
[senf.git] / Scheduler / FdDispatcher.ih
index 81ea330..b0c1c01 100644 (file)
@@ -34,10 +34,18 @@ namespace senf {
 namespace scheduler {
 namespace detail {
     
+    /** \brief Internal: File descriptor task
+        
+        \implementation This class allows to inherit FIFORunner::TaskInfo multiple times to add
+            multiple tasks to one event and still allows efficient access to the event class
+     */
     template <unsigned index, class Self>
     struct FdTask
         : public FIFORunner::TaskInfo
     {
+        explicit FdTask(std::string const & name) 
+            : FIFORunner::TaskInfo (name) {}
+
         typedef boost::function<void (int)> Callback;
         virtual void run();
         Self & self();