CMS 3D CMS Logo

List of all members | Public Member Functions | Private Member Functions | Private Attributes
edm::SerialTaskQueue::QueuedTask< T > Class Template Reference
Inheritance diagram for edm::SerialTaskQueue::QueuedTask< T >:
edm::SerialTaskQueue::TaskBase

Public Member Functions

 QueuedTask (const T &iAction)
 

Private Member Functions

tbb::task * execute () override
 

Private Attributes

T m_action
 

Additional Inherited Members

- Protected Member Functions inherited from edm::SerialTaskQueue::TaskBase
tbb::task * finishedTask ()
 

Detailed Description

template<typename T>
class edm::SerialTaskQueue::QueuedTask< T >

Definition at line 159 of file SerialTaskQueue.h.

Constructor & Destructor Documentation

template<typename T >
edm::SerialTaskQueue::QueuedTask< T >::QueuedTask ( const T iAction)
inline

Member Function Documentation

template<typename T >
tbb::task * edm::SerialTaskQueue::QueuedTask< T >::execute ( void  )
overrideprivate

Definition at line 211 of file SerialTaskQueue.h.

References edm::SerialTaskQueue::TaskBase::finishedTask().

211  {
212  try {
213  this->m_action();
214  } catch (...) {
215  }
216  return this->finishedTask();
217  }

Member Data Documentation

template<typename T >
T edm::SerialTaskQueue::QueuedTask< T >::m_action
private

Definition at line 166 of file SerialTaskQueue.h.