21 #include <boost/format.hpp> 32 prefix_ senf::scheduler::detail::EventManager::EventManager()
34 #ifndef SENF_DISABLE_CONSOLE 37 .doc(
"List all scheduler events sorted by priority\n" 41 " fd file descriptor\n" 45 " NAME descriptive event name\n" 46 " ADDRESS address of event class instance\n" 47 " RUNCNT number of times, the event was called\n" 52 " INFO further event specific information")
60 boost::format fmt (
"%s %-55.55s 0x%016x %8d %s %s\n");
61 os << boost::format(
"%s %-55.55s %-18s %8s %s %s\n")
62 %
"TP" %
"NAME" %
"ADDRESS" %
"RUNCNT" %
"S" %
"INFO";
66 for (; i != i_end; ++i)
70 %
reinterpret_cast<unsigned long>(&(*i))
72 % (i->runnable() ?
"R" :
"W")
77 for (; i != i_end; ++i)
82 %
reinterpret_cast<unsigned long>(&(*i))
FIFORunner public header.
boost::function< R(Args)> membind(R(T::*fn)(Args), T *ob)
boost::filter_iterator< EventManager::IteratorFilter, TaskList::const_iterator > iterator
console::ScopedDirectory & consoleDir()
Scheduler ConsoleDir public header.
void listEvents(std::ostream &os)
boost::filter_iterator< IteratorFilter, EventList::const_iterator > iterator
NodeType & add(std::string const &name, boost::shared_ptr< NodeType > node)