9#ifndef DATAHANDLINGLIBS_INCLUDE_DATAHANDLINGLIBS_TESTUTILS_UNITTESTUTILITIES_HPP
10#define DATAHANDLINGLIBS_INCLUDE_DATAHANDLINGLIBS_TESTUTILS_UNITTESTUTILITIES_HPP
17namespace datahandlinglibs {
20template<
typename ReadoutType,
21 typename RequestHandlerType,
22 typename LatencyBufferType,
23 typename RawDataProcessorType,
24 typename InputDataType = ReadoutType>
26 :
public DataHandlingModel<ReadoutType, RequestHandlerType, LatencyBufferType, RawDataProcessorType, InputDataType>
36 std::shared_ptr<LatencyBufferType> latency_buffer_impl, std::shared_ptr<RawDataProcessorType> raw_processor_impl,
37 std::unique_ptr<folly::Timekeeper> timekeeper, uint64_t post_processing_delay_max_wait)
std::remove_const< std::invoke_result< decltype(&metric_t::num_post_processing_delay_max_waits), metric_t >::type >::type num_post_processing_delay_max_waits_t
void run_postprocess_scheduler()
uint64_t m_post_processing_delay_max_wait
std::atomic< bool > & m_run_marker
std::unique_ptr< folly::Timekeeper > m_timekeeper
std::atomic< num_post_processing_delay_max_waits_t > m_num_post_processing_delay_max_waits
std::shared_ptr< LatencyBufferType > m_latency_buffer_impl
std::shared_ptr< RawDataProcessorType > m_raw_processor_impl
num_post_processing_delay_max_waits_t get_num_post_processing_delay_max_waits()
std::remove_const< std::invoke_result< decltype(&metric_t::num_post_processing_delay_max_waits), metric_t >::type >::type num_post_processing_delay_max_waits_t
void test_run_postprocess_scheduler(std::shared_ptr< LatencyBufferType > latency_buffer_impl, std::shared_ptr< RawDataProcessorType > raw_processor_impl, std::unique_ptr< folly::Timekeeper > timekeeper, uint64_t post_processing_delay_max_wait)
void set_run_marker(bool run_marker)
std::atomic< bool > run_marker
Global atomic for process lifetime.