1 #ifndef GAUDIHIVE_EVENTSCHEDULINGSTATE_H     2 #define GAUDIHIVE_EVENTSCHEDULINGSTATE_H     5 #include "tbb/concurrent_vector.h"     6 #include "boost/dynamic_bitset.hpp"    40 #endif // GAUDIHIVE_EVENTSCHEDULINGSTATE_H void update_state(unsigned int &product_index)
void algoStarts(unsigned int &index)
unsigned int m_numberOfAlgos
Total number of algos. 
std::atomic_uint m_algosInFlight
Number of algos in flight. 
bool hasStarted(unsigned int &index) const 
tbb::concurrent_vector< bool > m_algosStarted
Register of algorithms started. 
const state_type & state() const 
boost::dynamic_bitset state_type
std::atomic_uint m_algosFinished
Number of finished algos. 
state_type m_eventState
Event state recording which products are there. 
EventSchedulingState(const unsigned int &n_algos, const unsigned int &n_products)