X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=senf%2FScheduler%2FSignalEvent.hh;h=251a98c40579f6924520e6dbae513ce578e9d60c;hb=e3179a2123ad51d0d9eb63834a581145c4f77c92;hp=d3ff3ab796bf74ebde33865f3a0aa88db752116d;hpb=601d1f509f5bb24df167a4dd5a20da67a0af9af8;p=senf.git diff --git a/senf/Scheduler/SignalEvent.hh b/senf/Scheduler/SignalEvent.hh index d3ff3ab..251a98c 100644 --- a/senf/Scheduler/SignalEvent.hh +++ b/senf/Scheduler/SignalEvent.hh @@ -1,6 +1,6 @@ // $Id$ // -// Copyright (C) 2008 +// Copyright (C) 2008 // Fraunhofer Institute for Open Communication Systems (FOKUS) // Competence Center NETwork research (NET), St. Augustin, GERMANY // Stefan Bund @@ -30,10 +30,10 @@ #include #include #include "FIFORunner.hh" -#include +#include //#include "SignalEvent.mpp" -///////////////////////////////hh.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { @@ -61,18 +61,18 @@ namespace scheduler { */ class SignalEvent : public detail::FIFORunner::TaskInfo, - public detail::SignalSetBase + public detail::SignalSetBase { public: - /////////////////////////////////////////////////////////////////////////// + //-//////////////////////////////////////////////////////////////////////// // Types typedef boost::function Callback; ///< Callback type - /////////////////////////////////////////////////////////////////////////// + //-//////////////////////////////////////////////////////////////////////// ///\name Structors and default members - ///@{ + //\{ SignalEvent(int signal, Callback const & cb, bool initiallyEnabled=true); ///< Register a signal event @@ -86,8 +86,8 @@ namespace scheduler { enable callback automatically. */ ~SignalEvent(); - ///@} - /////////////////////////////////////////////////////////////////////////// + //\} + //-//////////////////////////////////////////////////////////////////////// void disable(); ///< Enable signal event registration void enable(); ///< Disable the signal event registration @@ -98,7 +98,7 @@ namespace scheduler { virtual void v_run(); virtual char const * v_type() const; virtual std::string v_info() const; - + int signal_; Callback cb_; siginfo_t siginfo_; @@ -111,7 +111,7 @@ namespace scheduler { }} -///////////////////////////////hh.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #include "SignalEvent.cci" //#include "SignalEvent.ct" //#include "SignalEvent.cti"