#include <Fireworks/Core/interface/CmsShowTaskExecutor.h>
Public Types | |
typedef std::function< void()> | TaskFunctor |
Public Member Functions | |
void | addTask (const TaskFunctor &iTask) |
CmsShowTaskExecutor () | |
void | startDoingTasks () override |
~CmsShowTaskExecutor () override | |
Public Member Functions inherited from CmsShowTaskExecutorBase | |
CmsShowTaskExecutorBase () | |
void | doNextTask () |
void | requestNextTask () |
virtual | ~CmsShowTaskExecutorBase () |
Protected Member Functions | |
void | doNextTaskImp () override |
bool | moreTasksAvailable () override |
Private Member Functions | |
CmsShowTaskExecutor (const CmsShowTaskExecutor &)=delete | |
const CmsShowTaskExecutor & | operator= (const CmsShowTaskExecutor &)=delete |
Private Attributes | |
std::deque< TaskFunctor > | m_tasks |
Additional Inherited Members | |
Public Attributes inherited from CmsShowTaskExecutorBase | |
sigc::signal< void > | tasksCompleted_ |
Description: <one line="" class="" summary>="">
Usage: <usage>
Definition at line 30 of file CmsShowTaskExecutor.h.
typedef std::function<void()> CmsShowTaskExecutor::TaskFunctor |
Definition at line 35 of file CmsShowTaskExecutor.h.
CmsShowTaskExecutor::CmsShowTaskExecutor | ( | ) |
Definition at line 29 of file CmsShowTaskExecutor.cc.
|
override |
Definition at line 36 of file CmsShowTaskExecutor.cc.
|
privatedelete |
void CmsShowTaskExecutor::addTask | ( | const TaskFunctor & | iTask | ) |
Definition at line 53 of file CmsShowTaskExecutor.cc.
References m_tasks.
Referenced by CmsShowMain::CmsShowMain(), FWFFService::FWFFService(), FWFFLooper::loadDefaultGeometryFile(), FWFFService::postBeginJob(), and FWFFLooper::startingNewLoop().
|
overrideprotectedvirtual |
Implements CmsShowTaskExecutorBase.
Definition at line 61 of file CmsShowTaskExecutor.cc.
|
overrideprotectedvirtual |
Implements CmsShowTaskExecutorBase.
Definition at line 67 of file CmsShowTaskExecutor.cc.
References m_tasks.
|
privatedelete |
|
overridevirtual |
Implements CmsShowTaskExecutorBase.
Definition at line 55 of file CmsShowTaskExecutor.cc.
References m_tasks, and CmsShowTaskExecutorBase::requestNextTask().
Referenced by CmsShowMain::CmsShowMain(), FWFFService::postBeginJob(), and FWFFLooper::startingNewLoop().
|
private |
Definition at line 55 of file CmsShowTaskExecutor.h.
Referenced by addTask(), doNextTaskImp(), moreTasksAvailable(), and startDoingTasks().