#define HH_SENF_PPI_EventManager_ 1
// Custom includes
+#include <boost/utility.hpp>
#include <boost/ptr_container/ptr_vector.hpp>
#include <senf/Scheduler/ClockService.hh>
#include "predecl.hh"
responsibility of an external component (the Scheduler)
*/
class EventManager
+ : boost::noncopyable
{
public:
//-////////////////////////////////////////////////////////////////////////
//\{
static EventManager & instance();
+ static bool alive();
// default default constructor
// default copy constructor
protected:
private:
+ EventManager();
+ ~EventManager();
+
template <class Descriptor>
void registerEvent(module::Module & module,
typename Callback<Descriptor>::type callback,
ClockService::clock_type eventTime_;
+ static bool alive_;
+
friend class detail::EventBindingBase;
friend class module::Module;
friend class EventDescriptor;