CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Attributes
edm::StreamProcessingTask Class Reference
Inheritance diagram for edm::StreamProcessingTask:

Public Member Functions

tbb::task * execute ()
 
 StreamProcessingTask (EventProcessor *iProc, unsigned int iStreamIndex, std::atomic< bool > *iFinishedProcessingEvents, tbb::task *iWaitTask)
 

Private Attributes

std::atomic< bool > * m_finishedProcessingEvents
 
EventProcessorm_proc
 
unsigned int m_streamID
 
tbb::task * m_waitTask
 

Detailed Description

Definition at line 1769 of file EventProcessor.cc.

Constructor & Destructor Documentation

edm::StreamProcessingTask::StreamProcessingTask ( EventProcessor iProc,
unsigned int  iStreamIndex,
std::atomic< bool > *  iFinishedProcessingEvents,
tbb::task *  iWaitTask 
)
inline

Definition at line 1771 of file EventProcessor.cc.

1774  :
1775  m_proc(iProc),
1776  m_streamID(iStreamIndex),
1777  m_finishedProcessingEvents(iFinishedProcessingEvents),
1778  m_waitTask(iWaitTask){}
std::atomic< bool > * m_finishedProcessingEvents

Member Function Documentation

tbb::task* edm::StreamProcessingTask::execute ( void  )
inline

Definition at line 1780 of file EventProcessor.cc.

1780  {
1782  m_waitTask->decrement_ref_count();
1783  return nullptr;
1784  }
std::atomic< bool > * m_finishedProcessingEvents
void processEventsForStreamAsync(unsigned int iStreamIndex, std::atomic< bool > *finishedProcessingEvents)

Member Data Documentation

std::atomic<bool>* edm::StreamProcessingTask::m_finishedProcessingEvents
private

Definition at line 1788 of file EventProcessor.cc.

EventProcessor* edm::StreamProcessingTask::m_proc
private

Definition at line 1786 of file EventProcessor.cc.

unsigned int edm::StreamProcessingTask::m_streamID
private

Definition at line 1787 of file EventProcessor.cc.

tbb::task* edm::StreamProcessingTask::m_waitTask
private

Definition at line 1789 of file EventProcessor.cc.