4 : m_numberOfAlgos( n_algos ), m_eventState( n_products )
void update_state(unsigned int &product_index)
void algoStarts(unsigned int &index)
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.
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)