CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
edm::TaskSentry Class Reference

#include <TaskBase.h>

Public Member Functions

TaskSentry operator= (TaskSentry const &)=delete
 
TaskSentry operator= (TaskSentry &&)=delete
 
 TaskSentry (TaskBase *iTask)
 
 TaskSentry ()=delete
 
 TaskSentry (TaskSentry const &)=delete
 
 TaskSentry (TaskSentry &&)=delete
 
 ~TaskSentry ()
 

Private Attributes

TaskBasem_task
 

Detailed Description

Definition at line 50 of file TaskBase.h.

Constructor & Destructor Documentation

◆ TaskSentry() [1/4]

edm::TaskSentry::TaskSentry ( TaskBase iTask)
inline

Definition at line 52 of file TaskBase.h.

52 : m_task{iTask} {}
TaskBase * m_task
Definition: TaskBase.h:61

◆ ~TaskSentry()

edm::TaskSentry::~TaskSentry ( )
inline

Definition at line 53 of file TaskBase.h.

References m_task, and edm::TaskBase::recycle().

53 { m_task->recycle(); }
TaskBase * m_task
Definition: TaskBase.h:61
virtual void recycle()
Definition: TaskBase.h:45

◆ TaskSentry() [2/4]

edm::TaskSentry::TaskSentry ( )
delete

◆ TaskSentry() [3/4]

edm::TaskSentry::TaskSentry ( TaskSentry const &  )
delete

◆ TaskSentry() [4/4]

edm::TaskSentry::TaskSentry ( TaskSentry &&  )
delete

Member Function Documentation

◆ operator=() [1/2]

TaskSentry edm::TaskSentry::operator= ( TaskSentry const &  )
delete

◆ operator=() [2/2]

TaskSentry edm::TaskSentry::operator= ( TaskSentry &&  )
delete

Member Data Documentation

◆ m_task

TaskBase* edm::TaskSentry::m_task
private

Definition at line 61 of file TaskBase.h.

Referenced by ~TaskSentry().