CMS 3D CMS Logo

CmsShowTaskExecutor.h
Go to the documentation of this file.
1 #ifndef Fireworks_Core_CmsShowTaskExecutor_h
2 #define Fireworks_Core_CmsShowTaskExecutor_h
3 // -*- C++ -*-
4 //
5 // Package: Core
6 // Class : CmsShowTaskExecutor
7 //
16 //
17 // Original Author: Chris Jones
18 // Created: Fri Jul 11 12:09:45 EDT 2008
19 //
20 
21 // system include files
22 #include <deque>
23 #include <functional>
24 
25 // user include files
27 
28 // forward declarations
29 
31 public:
33  ~CmsShowTaskExecutor() override;
34 
36  // ---------- const member functions ---------------------
37 
38  // ---------- static member functions --------------------
39 
40  // ---------- member functions ---------------------------
41  void addTask(const TaskFunctor& iTask);
42 
43  void startDoingTasks() override;
44 
45 protected:
46  void doNextTaskImp() override;
47  bool moreTasksAvailable() override;
48 
49 private:
50  CmsShowTaskExecutor(const CmsShowTaskExecutor&) = delete; // stop default
51 
52  const CmsShowTaskExecutor& operator=(const CmsShowTaskExecutor&) = delete; // stop default
53 
54  // ---------- member data --------------------------------
55  std::deque<TaskFunctor> m_tasks;
56 };
57 
58 #endif
CmsShowTaskExecutor::~CmsShowTaskExecutor
~CmsShowTaskExecutor() override
Definition: CmsShowTaskExecutor.cc:36
CmsShowTaskExecutor::operator=
const CmsShowTaskExecutor & operator=(const CmsShowTaskExecutor &)=delete
CmsShowTaskExecutor
Definition: CmsShowTaskExecutor.h:30
CmsShowTaskExecutor::m_tasks
std::deque< TaskFunctor > m_tasks
Definition: CmsShowTaskExecutor.h:55
CmsShowTaskExecutor::moreTasksAvailable
bool moreTasksAvailable() override
Definition: CmsShowTaskExecutor.cc:67
CmsShowTaskExecutor::CmsShowTaskExecutor
CmsShowTaskExecutor()
Definition: CmsShowTaskExecutor.cc:29
CmsShowTaskExecutor::doNextTaskImp
void doNextTaskImp() override
Definition: CmsShowTaskExecutor.cc:61
CmsShowTaskExecutor::startDoingTasks
void startDoingTasks() override
Definition: CmsShowTaskExecutor.cc:55
CmsShowTaskExecutor::TaskFunctor
std::function< void()> TaskFunctor
Definition: CmsShowTaskExecutor.h:35
CmsShowTaskExecutorBase.h
CmsShowTaskExecutor::addTask
void addTask(const TaskFunctor &iTask)
Definition: CmsShowTaskExecutor.cc:53
HiBiasedCentrality_cfi.function
function
Definition: HiBiasedCentrality_cfi.py:4
funct::void
TEMPL(T2) struct Divides void
Definition: Factorize.h:24
CmsShowTaskExecutorBase
Definition: CmsShowTaskExecutorBase.h:30