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 (oneapi::tbb::task_group *iGroup)
 

Private Member Functions

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

Private Attributes

oneapi::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 ( oneapi::tbb::task_group *  iGroup)
inlineexplicitprotected

Definition at line 133 of file SerialTaskQueue.h.

133 : m_group(iGroup) {}
oneapi::tbb::task_group * m_group

Member Function Documentation

◆ execute()

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

◆ group()

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

Definition at line 126 of file SerialTaskQueue.h.

References m_group.

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

126 { return m_group; }
oneapi::tbb::task_group * m_group

Friends And Related Function Documentation

◆ SerialTaskQueue

friend class SerialTaskQueue
friend

Definition at line 124 of file SerialTaskQueue.h.

Member Data Documentation

◆ m_group

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

Definition at line 136 of file SerialTaskQueue.h.

Referenced by group().