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

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

Member Function Documentation

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

Definition at line 1865 of file EventProcessor.cc.

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

EventProcessor* edm::StreamProcessingTask::m_proc
private

Definition at line 1871 of file EventProcessor.cc.

unsigned int edm::StreamProcessingTask::m_streamID
private

Definition at line 1872 of file EventProcessor.cc.

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

Definition at line 1874 of file EventProcessor.cc.