/** \file
\brief EventManager public header */
-#ifndef HH_SchedulerEventManager_
-#define HH_SchedulerEventManager_ 1
+#ifndef HH_SENF_Scheduler_EventManager_
+#define HH_SENF_Scheduler_EventManager_ 1
// Custom includes
#include <string>
#include "../boost/intrusive/ilist.hpp"
#include "../boost/intrusive/ilist_hook.hpp"
#include "../Utils/singleton.hh"
-#include "Console/LazyDirectory.hh"
+#include "../Utils/Console/LazyDirectory.hh"
//#include "EventManager.mpp"
///////////////////////////////hh.p////////////////////////////////////////
///@}
///////////////////////////////////////////////////////////////////////////
- std::string const & name() const;
- bool enabled() const;
- unsigned runCount() const;
- char const * type() const;
- std::string info() const;
+ std::string const & name() const; ///< Get event name
+ bool enabled() const; ///< \c true, if event is enabled, \c false otherwise
+ unsigned runCount() const; ///< Number of times, event was fired
+ char const * type() const; ///< Event type code
+ std::string info() const; ///< Additional event information
protected:
void countRun();
iterator begin() const;
iterator end() const;
+ void listEvents(std::ostream & os);
+
protected:
private:
friend class singleton<EventManager>;
#ifndef SENF_DISABLE_CONSOLE
- void consoleEvents(std::ostream & os);
-
console::LazyDirectory consoleDir_;
#endif
};