Scheduler: Sort 'events' list by priority
[senf.git] / Scheduler / FdEvent.hh
index 90ddc7a..ff3642d 100644 (file)
@@ -157,7 +157,9 @@ namespace scheduler {
 
     private:
        virtual void signal(int events);
-       virtual void run();
+       virtual void v_run();
+        virtual char const * v_type() const;
+        virtual std::string v_info() const;
 
        Callback cb_;
        int fd_;
@@ -171,6 +173,12 @@ namespace scheduler {
         friend class detail::FileDispatcher;
     };
 
+    /** \brief Get file descriptor from handle object
+
+        This function will query the \a handle for it's file descriptor. The real implementation
+        must be provided by a freestanding function \c retrieve_filehandle(Handle const & h) within
+        the namespace of \a Handle.
+     */
     template <class Handle>
     int get_descriptor(Handle const & handle);
 }}