DUNE-DAQ
DUNE Trigger and Data Acquisition software
|
#include <CRTBernFrameProcessor.hpp>
Public Member Functions | |
CRTBernFrameProcessor (std::unique_ptr< datahandlinglibs::FrameErrorRegistry > &error_registry, bool post_processing_enabled) | |
void | conf (const appmodel::DataHandlerModule *conf) override |
Set the emulator mode, if active, timestamps of processed packets are overwritten with new ones. | |
![]() | |
TaskRawDataProcessorModel (std::unique_ptr< FrameErrorRegistry > &error_registry, bool post_processing_enabled) | |
~TaskRawDataProcessorModel () | |
void | conf (const appmodel::DataHandlerModule *conf) override |
Set the emulator mode, if active, timestamps of processed packets are overwritten with new ones. | |
void | scrap (const nlohmann::json &) override |
Unconfigure. | |
void | start (const nlohmann::json &) override |
Start operation. | |
void | stop (const nlohmann::json &) override |
Stop operation. | |
void | reset_last_daq_time () |
std::uint64_t | get_last_daq_time () override |
Get newest timestamp of last seen packet. | |
void | preprocess_item (types::CRTBernTypeAdapter *item) override |
Preprocess one element. | |
void | postprocess_item (const types::CRTBernTypeAdapter *item) override |
Postprocess one element. | |
void | add_preprocess_task (Task &&task) |
void | add_postprocess_task (Task &&task) |
void | invoke_all_preprocess_functions (types::CRTBernTypeAdapter *item) |
void | launch_all_preprocess_functions (types::CRTBernTypeAdapter *item) |
![]() | |
RawDataProcessorConcept () | |
RawDataProcessorConcept (const RawDataProcessorConcept &)=delete | |
RawDataProcessorConcept is not copy-constructible. | |
RawDataProcessorConcept (RawDataProcessorConcept &&)=delete | |
RawDataProcessorConcept is not move-constructible. | |
virtual | ~RawDataProcessorConcept () |
RawDataProcessorConcept & | operator= (const RawDataProcessorConcept &)=delete |
RawDataProcessorConcept is not copy-assginable. | |
RawDataProcessorConcept & | operator= (RawDataProcessorConcept &&)=delete |
RawDataProcessorConcept is not move-assignable. | |
![]() | |
MonitorableObject (const MonitorableObject &)=delete | |
MonitorableObject & | operator= (const MonitorableObject &)=delete |
MonitorableObject (MonitorableObject &&)=delete | |
MonitorableObject & | operator= (MonitorableObject &&)=delete |
virtual | ~MonitorableObject ()=default |
auto | get_opmon_id () const noexcept |
auto | get_opmon_level () const noexcept |
Protected Member Functions | |
void | timestamp_check (types::CRTBernTypeAdapter *fp) |
![]() | |
virtual void | generate_opmon_data () override |
void | run_post_processing_thread (std::function< void(const types::CRTBernTypeAdapter *)> &function, folly::ProducerConsumerQueue< const types::CRTBernTypeAdapter * > &queue) |
![]() | |
MonitorableObject ()=default | |
void | register_node (ElementId name, NewNodePtr) |
void | publish (google::protobuf::Message &&, CustomOrigin &&co={}, OpMonLevel l=to_level(EntryOpMonLevel::kDefault)) const noexcept |
Additional Inherited Members | |
![]() | |
using | NodePtr = std::weak_ptr<MonitorableObject> |
using | NewNodePtr = std::shared_ptr<MonitorableObject> |
using | ElementId = std::string |
![]() | |
static bool | publishable_metric (OpMonLevel entry, OpMonLevel system) noexcept |
![]() | |
std::vector< std::function< void(types::CRTBernTypeAdapter *)> > | m_preprocess_functions |
std::unique_ptr< FrameErrorRegistry > & | m_error_registry |
bool | m_post_processing_enabled |
std::atomic< bool > | m_run_marker |
std::vector< std::function< void(const types::CRTBernTypeAdapter *)> > | m_post_process_functions |
std::vector< std::unique_ptr< folly::ProducerConsumerQueue< const types::CRTBernTypeAdapter * > > > | m_items_to_postprocess_queues |
std::vector< std::unique_ptr< utilities::ReusableThread > > | m_post_process_threads |
size_t | m_postprocess_queue_sizes |
daqdataformats::SourceID | m_sourceid |
std::atomic< uint64_t > | m_last_processed_daq_ts |
Definition at line 18 of file CRTBernFrameProcessor.hpp.
|
inlineexplicit |
Definition at line 21 of file CRTBernFrameProcessor.hpp.
|
overridevirtual |
Set the emulator mode, if active, timestamps of processed packets are overwritten with new ones.
Implements dunedaq::datahandlinglibs::RawDataProcessorConcept< types::CRTBernTypeAdapter >.
Definition at line 14 of file CRTBernFrameProcessor.cpp.
|
protected |
Definition at line 20 of file CRTBernFrameProcessor.cpp.