test
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

edm::propagate_const
< std::atomic< bool > * > 
m_finishedProcessingEvents
 
edm::propagate_const
< EventProcessor * > 
m_proc
 
unsigned int m_streamID
 
edm::propagate_const< tbb::task * > m_waitTask
 

Detailed Description

Definition at line 1861 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 1863 of file EventProcessor.cc.

1866  :
1867  m_proc(iProc),
1868  m_streamID(iStreamIndex),
1869  m_finishedProcessingEvents(iFinishedProcessingEvents),
1870  m_waitTask(iWaitTask){}
edm::propagate_const< tbb::task * > m_waitTask
edm::propagate_const< EventProcessor * > m_proc
edm::propagate_const< std::atomic< bool > * > m_finishedProcessingEvents

Member Function Documentation

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

Definition at line 1872 of file EventProcessor.cc.

1872  {
1873  m_proc->processEventsForStreamAsync(m_streamID,m_finishedProcessingEvents);
1874  m_waitTask->decrement_ref_count();
1875  return nullptr;
1876  }
edm::propagate_const< tbb::task * > m_waitTask
edm::propagate_const< EventProcessor * > m_proc
edm::propagate_const< std::atomic< bool > * > m_finishedProcessingEvents

Member Data Documentation

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

Definition at line 1880 of file EventProcessor.cc.

edm::propagate_const<EventProcessor*> edm::StreamProcessingTask::m_proc
private

Definition at line 1878 of file EventProcessor.cc.

unsigned int edm::StreamProcessingTask::m_streamID
private

Definition at line 1879 of file EventProcessor.cc.

edm::propagate_const<tbb::task*> edm::StreamProcessingTask::m_waitTask
private

Definition at line 1881 of file EventProcessor.cc.