6template<
class ReadoutType>
14 throw ResourceQueueError(
ERS_HERE,
"raw_recording",
"RecorderModel");
23template<
class ReadoutType>
28 info.set_recording_status(
"Y");
33template<
class ReadoutType>
47template<
class ReadoutType>
58template<
class ReadoutType>
64 std::this_thread::sleep_for(std::chrono::milliseconds(100));
68template<
class ReadoutType>
78 if (!
m_buffered_writer.write(
reinterpret_cast<char*
>(&element),
sizeof(element))) {
84 }
catch (
const dunedaq::iomanager::TimeoutExpired& excpt) {
const std::string & get_output_file() const
Get "output_file" attribute value.
bool get_use_o_direct() const
Get "use_o_direct" attribute value. Whether to use O_DIRECT flag when opening files.
uint32_t get_streaming_buffer_size() const
Get "streaming_buffer_size" attribute value.
const std::string & get_compression_algorithm() const
Get "compression_algorithm" attribute value.
const dunedaq::appmodel::DataRecorderConf * get_configuration() const
Get "configuration" relationship value.
const std::vector< const dunedaq::confmodel::Connection * > & get_inputs() const
Get "inputs" relationship value. List of connections to/from this module.
std::atomic< int > m_bytes_processed
std::string m_output_file
BufferedFileWriter m_buffered_writer
void init(const appmodel::DataRecorderModule *conf) override
std::string m_compression_algorithm
void do_start(const appfwk::DAQModule::CommandData_t &) override
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
void do_stop(const appfwk::DAQModule::CommandData_t &) override
size_t m_stream_buffer_size
void do_conf(const appfwk::DAQModule::CommandData_t &) override
std::chrono::steady_clock::time_point m_time_point_last_info
utilities::ReusableThread m_work_thread
Base class for any user define issue.
static std::shared_ptr< iomanager::ReceiverConcept< Datatype > > get_iom_receiver(iomanager::ConnectionId const &id)
void warning(const Issue &issue)