X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=senf%2FPPI%2FIOEvent.hh;h=a314fd95ac0317da9c29820c641fcda450a9f733;hb=73c33f663ff0f65e4656ea5a5f6f07a43a2e1722;hp=32c699fa899d6b390d9c05c2627c5d16cb7dd3e6;hpb=82e794070d4f3ae8aacb1827b21a93b9d48ce57f;p=senf.git diff --git a/senf/PPI/IOEvent.hh b/senf/PPI/IOEvent.hh index 32c699f..a314fd9 100644 --- a/senf/PPI/IOEvent.hh +++ b/senf/PPI/IOEvent.hh @@ -54,7 +54,7 @@ namespace ppi { type of event is specified using the \a events mask with values from EventFlags. There are two types of flags: - + \li Event flags (\ref Read, \ref Prio, \ref Write) specify the type of event. The callback will be called whenever one of the specified events occurs on the filehandle \li Error flags (\ref Hup, \ref Err) specify some type of error condition on the @@ -76,7 +76,7 @@ namespace ppi { // This is stupid, however there is no way to import the Scheduler::EventId enum together // with the enumeration symbols - enum EventFlags { + enum EventFlags { Read = scheduler::FdEvent::EV_READ /**< FileHandle is readable */ , Prio = scheduler::FdEvent::EV_PRIO /**< FileHandle priority data is readable */ , Write = scheduler::FdEvent::EV_WRITE /**< FileHandle is writable */ @@ -112,14 +112,14 @@ namespace ppi { private: virtual void v_enable(); virtual void v_disable(); - + void cb(int event); int fd_; scheduler::FdEvent event_; }; - + }} ///////////////////////////////hh.e////////////////////////////////////////