ScheduleTask.h
Go to the documentation of this file.
1 #ifndef art_Framework_Core_detail_ScheduleTask_h
2 #define art_Framework_Core_detail_ScheduleTask_h
3 // vim: set sw=2 expandtab :
4 
5 //
6 // Top level schedule task for processing events.
7 //
8 
10 
11 #include "tbb/task.h"
12 
13 namespace art::detail {
14  class ScheduleTask;
15 }
16 
17 class art::detail::ScheduleTask : public tbb::task {
18 public:
19  ScheduleTask(ScheduleID const sid);
20 
21  ScheduleID scheduleID() const;
22 
23  tbb::task* execute() override;
24 
25 private:
26  ScheduleID const id_;
27 };
28 
30 {}
31 
32 inline art::ScheduleID
34 {
35  return id_;
36 }
37 #endif /* art_Framework_Core_detail_ScheduleTask_h */
38 
39 // Local Variables:
40 // mode: c++
41 // End:
ScheduleTask(ScheduleID const sid)
Definition: ScheduleTask.h:29
ScheduleID scheduleID() const
Definition: ScheduleTask.h:33
tbb::task * execute() override
Definition: ScheduleTask.cc:6
ScheduleID const id_
Definition: ScheduleTask.h:26