8#ifndef DATAHANDLINGLIBS_INCLUDE_DATAHANDLINGLIBS_MODELS_RECORDERMODEL_HPP_
9#define DATAHANDLINGLIBS_INCLUDE_DATAHANDLINGLIBS_MODELS_RECORDERMODEL_HPP_
32namespace datahandlinglibs {
34template<
class ReadoutType>
45 void do_conf(
const nlohmann::json& )
override;
47 void do_start(
const nlohmann::json& )
override;
48 void do_stop(
const nlohmann::json& )
override;
std::atomic< int > m_bytes_processed
std::string m_output_file
BufferedFileWriter m_buffered_writer
void init(const appmodel::DataRecorderModule *conf) override
RecorderModel(std::string name)
void do_start(const nlohmann::json &) override
std::string m_compression_algorithm
std::atomic< bool > m_run_marker
std::shared_ptr< source_t > m_data_receiver
std::atomic< int > m_packets_processed
virtual void generate_opmon_data() override
size_t m_stream_buffer_size
void do_conf(const nlohmann::json &) override
void do_scrap(const nlohmann::json &) override
void do_stop(const nlohmann::json &) override
std::chrono::steady_clock::time_point m_time_point_last_info
utilities::ReusableThread m_work_thread