#define HH_SENF_PPI_IOEvent_ 1
// Custom includes
-#include <senf/Scheduler/Scheduler.hh>
-#include "Events.hh"
+#include <senf/Scheduler/FdEvent.hh>
#include <senf/Utils/Exception.hh>
+#include "Events.hh"
//#include "IOEvent.mpp"
-///////////////////////////////hh.p////////////////////////////////////////
+//-/////////////////////////////////////////////////////////////////////////////////////////////////
namespace senf {
namespace ppi {
: public EventImplementation<IOEventInfo>
{
public:
- ///////////////////////////////////////////////////////////////////////////
+ //-////////////////////////////////////////////////////////////////////////
// Types
// This is stupid, however there is no way to import the Scheduler::EventId enum together
, Err = scheduler::FdEvent::EV_ERR /**< Some other error condition on FileHandle */
};
- ///////////////////////////////////////////////////////////////////////////
+ //-////////////////////////////////////////////////////////////////////////
///\name Structors and default members
- ///@{
+ //\{
IOEvent();
template <class Handle>
IOEvent(Handle handle, unsigned events);
- ///@}
- ///////////////////////////////////////////////////////////////////////////
+ //\}
+ //-////////////////////////////////////////////////////////////////////////
template <class Handle>
void set(Handle handle, unsigned events);
struct HangupException : public senf::Exception
{ HangupException() : senf::Exception("senf::ppi::IOEvent::HangupException") {} };
- protected:
-
private:
virtual void v_enable();
virtual void v_disable();
scheduler::FdEvent event_;
};
-
}}
-///////////////////////////////hh.e////////////////////////////////////////
+//-/////////////////////////////////////////////////////////////////////////////////////////////////
#include "IOEvent.cci"
#include "IOEvent.ct"
#include "IOEvent.cti"