X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Scheduler%2FFdEvent.hh;h=ff3642de866c95908fa4eb5160b5280a23b3677a;hb=766eca0ea64f3d7de6f49279cf88d5e587c5a100;hp=75e3f52f227b4e5d3759e5d29535adae06c8542b;hpb=7fe2d6a5663e7723b8f646333e17fe4ba2a1b77a;p=senf.git diff --git a/Scheduler/FdEvent.hh b/Scheduler/FdEvent.hh index 75e3f52..ff3642d 100644 --- a/Scheduler/FdEvent.hh +++ b/Scheduler/FdEvent.hh @@ -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,9 +173,15 @@ namespace scheduler { friend class detail::FileDispatcher; }; -}} + /** \brief Get file descriptor from handle object -int retrieve_filehandle(int fd); + 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 + int get_descriptor(Handle const & handle); +}} ///////////////////////////////hh.e//////////////////////////////////////// #include "FdEvent.cci"