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 1852 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 1854 of file EventProcessor.cc.

1857  :
1858  m_proc(iProc),
1859  m_streamID(iStreamIndex),
1860  m_finishedProcessingEvents(iFinishedProcessingEvents),
1861  m_waitTask(iWaitTask){}
std::atomic< bool > * m_finishedProcessingEvents

Member Function Documentation

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

Definition at line 1863 of file EventProcessor.cc.

1863  {
1865  m_waitTask->decrement_ref_count();
1866  return nullptr;
1867  }
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 1871 of file EventProcessor.cc.

EventProcessor* edm::StreamProcessingTask::m_proc
private

Definition at line 1869 of file EventProcessor.cc.

unsigned int edm::StreamProcessingTask::m_streamID
private

Definition at line 1870 of file EventProcessor.cc.

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

Definition at line 1872 of file EventProcessor.cc.