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 1939 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 1941 of file EventProcessor.cc.

1944  :
1945  m_proc(iProc),
1946  m_streamID(iStreamIndex),
1947  m_finishedProcessingEvents(iFinishedProcessingEvents),
1948  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 1950 of file EventProcessor.cc.

1950  {
1951  m_proc->processEventsForStreamAsync(m_streamID,m_finishedProcessingEvents);
1952  m_waitTask->decrement_ref_count();
1953  return nullptr;
1954  }
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 1958 of file EventProcessor.cc.

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

Definition at line 1956 of file EventProcessor.cc.

unsigned int edm::StreamProcessingTask::m_streamID
private

Definition at line 1957 of file EventProcessor.cc.

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

Definition at line 1959 of file EventProcessor.cc.