CMS 3D CMS Logo

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

Public Member Functions

virtual ~TaskBase ()=default
 

Protected Member Functions

 TaskBase (tbb::task_group *iGroup)
 

Private Member Functions

virtual void execute ()=0
 
tbb::task_group * group ()
 

Private Attributes

tbb::task_group * m_group
 

Friends

class SerialTaskQueue
 

Detailed Description

Base class for all tasks held by the SerialTaskQueue

Definition at line 123 of file SerialTaskQueue.h.

Constructor & Destructor Documentation

◆ ~TaskBase()

virtual edm::SerialTaskQueue::TaskBase::~TaskBase ( )
virtualdefault

◆ TaskBase()

edm::SerialTaskQueue::TaskBase::TaskBase ( tbb::task_group *  iGroup)
inlineexplicitprotected

Definition at line 133 of file SerialTaskQueue.h.

133 : m_group(iGroup) {}

Member Function Documentation

◆ execute()

virtual void edm::SerialTaskQueue::TaskBase::execute ( )
privatepure virtual

◆ group()

tbb::task_group* edm::SerialTaskQueue::TaskBase::group ( )
inlineprivate

Definition at line 126 of file SerialTaskQueue.h.

126 { return m_group; }

References m_group.

Referenced by edm::SerialTaskQueue::spawn().

Friends And Related Function Documentation

◆ SerialTaskQueue

friend class SerialTaskQueue
friend

Definition at line 124 of file SerialTaskQueue.h.

Member Data Documentation

◆ m_group

tbb::task_group* edm::SerialTaskQueue::TaskBase::m_group
private

Definition at line 136 of file SerialTaskQueue.h.

Referenced by group().

edm::SerialTaskQueue::TaskBase::m_group
tbb::task_group * m_group
Definition: SerialTaskQueue.h:136