CMS 3D CMS Logo

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

List of all members.

Public Member Functions

 QueuedTask (const T &iAction)

Private Member Functions

tbb::task * execute ()

Private Attributes

T m_action

Detailed Description

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

Definition at line 155 of file SerialTaskQueue.h.


Constructor & Destructor Documentation

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

Definition at line 157 of file SerialTaskQueue.h.

                                      :
         m_action(iAction) {}

Member Function Documentation

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

Definition at line 212 of file SerialTaskQueue.h.

References edm::SerialTaskQueue::finishedTask().

                                         {
      try {
         this->m_action();
      } catch(...) {}
      return this->finishedTask();
   }

Member Data Documentation

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

Definition at line 163 of file SerialTaskQueue.h.