namespace scheduler {
namespace detail {
+ /** \brief Internal: File descriptor task
+
+ \implementation This class allows to inherit FIFORunner::TaskInfo multiple times to add
+ multiple tasks to one event and still allows efficient access to the event class
+ */
template <unsigned index, class Self>
struct FdTask
: public FIFORunner::TaskInfo
{
+ explicit FdTask(std::string const & name)
+ : FIFORunner::TaskInfo (name) {}
+
typedef boost::function<void (int)> Callback;
virtual void run();
Self & self();