|
DUNE-DAQ
DUNE Trigger and Data Acquisition software
|
#include <SourceModel.hpp>
Public Types | |
| using | sink_t = iomanager::SenderConcept<TargetPayloadType> |
| using | inherited = SourceConcept |
| using | data_t = nlohmann::json |
Public Types inherited from dunedaq::opmonlib::MonitorableObject | |
| using | NodePtr = std::weak_ptr<MonitorableObject> |
| using | NewNodePtr = std::shared_ptr<MonitorableObject> |
| using | ElementId = std::string |
Private Types | |
| using | sink_cb_t = std::shared_ptr<std::function<void(TargetPayloadType&&)>> |
Private Attributes | |
| const std::size_t | m_expected_frame_size = sizeof(TargetPayloadType) |
| bool | m_callback_is_acquired { false } |
| sink_cb_t | m_sink_callback |
| std::atomic< uint64_t > | m_leftover_bytes_encountered {0} |
| std::atomic< uint64_t > | m_failed_to_send_daq_payloads {0} |
Additional Inherited Members | |
Static Public Member Functions inherited from dunedaq::opmonlib::MonitorableObject | |
| static bool | publishable_metric (OpMonLevel entry, OpMonLevel system) noexcept |
Public Attributes inherited from dunedaq::dpdklibs::SourceConcept | |
| const appmodel::DataMoveCallbackConf * | m_sink_conf |
| bool | m_daq_protocol_ensured { true } |
Protected Member Functions inherited from dunedaq::opmonlib::MonitorableObject | |
| MonitorableObject ()=default | |
| void | register_node (ElementId name, NewNodePtr) |
| void | publish (google::protobuf::Message &&, CustomOrigin &&co={}, OpMonLevel l=to_level(EntryOpMonLevel::kDefault)) const noexcept |
Definition at line 35 of file SourceModel.hpp.
| using dunedaq::dpdklibs::SourceModel< TargetPayloadType >::data_t = nlohmann::json |
Definition at line 40 of file SourceModel.hpp.
| using dunedaq::dpdklibs::SourceModel< TargetPayloadType >::inherited = SourceConcept |
Definition at line 39 of file SourceModel.hpp.
|
private |
Definition at line 110 of file SourceModel.hpp.
| using dunedaq::dpdklibs::SourceModel< TargetPayloadType >::sink_t = iomanager::SenderConcept<TargetPayloadType> |
Definition at line 38 of file SourceModel.hpp.
|
inline |
SourceModel Constructor.
| name | Instance name for this SourceModel instance |
Definition at line 46 of file SourceModel.hpp.
|
inline |
Definition at line 49 of file SourceModel.hpp.
|
inlineoverridevirtual |
Implements dunedaq::dpdklibs::SourceConcept.
Definition at line 51 of file SourceModel.hpp.
|
inlineoverridevirtual |
Hook for customisable pubblication. The function can throw, exception will be caught by the monitoring thread
Reimplemented from dunedaq::opmonlib::MonitorableObject.
Definition at line 91 of file SourceModel.hpp.
|
inlinevirtual |
Implements dunedaq::dpdklibs::SourceConcept.
Definition at line 64 of file SourceModel.hpp.
|
private |
Definition at line 109 of file SourceModel.hpp.
|
private |
Definition at line 106 of file SourceModel.hpp.
|
private |
Definition at line 115 of file SourceModel.hpp.
|
private |
Definition at line 114 of file SourceModel.hpp.
|
private |
Definition at line 111 of file SourceModel.hpp.