DUNE-DAQ
DUNE Trigger and Data Acquisition software
|
comment More...
#include <DataStore.hpp>
Public Member Functions | |
DataStore (const std::string &name) | |
DataStore Constructor. | |
virtual void | write (const daqdataformats::TriggerRecord &tr)=0 |
Writes the TriggerRecord into the DataStore. | |
virtual void | write (const daqdataformats::TimeSlice &ts)=0 |
Writes the TimeSlice into the DataStore. | |
virtual void | prepare_for_run (daqdataformats::run_number_t run_number, bool run_is_for_test_purposes)=0 |
Informs the DataStore that writes or reads of data blocks associated with the specified run number will soon be requested. This allows DataStore instances to make any preparations that will be beneficial in advance of the first data blocks being written or read. | |
virtual void | finish_with_run (daqdataformats::run_number_t run_number)=0 |
Informs the DataStore that writes or reads of data blocks associated with the specified run number have finished, for now. This allows DataStore instances to do any cleanup or shutdown operations that are useful once the writes or reads for a given run number have finished. | |
![]() | |
NamedObject (const std::string &name) | |
NamedObject Constructor. | |
NamedObject (NamedObject const &)=delete | |
NamedObject is not copy-constructible. | |
NamedObject (NamedObject &&)=default | |
NamedObject is move-constructible. | |
NamedObject & | operator= (NamedObject const &)=delete |
NamedObject is not copy-assignable. | |
NamedObject & | operator= (NamedObject &&)=default |
NamedObject is move-assignable. | |
virtual | ~NamedObject ()=default |
Default virtual destructor. | |
const std::string & | get_name () const final |
Get the name of this NamedObejct. | |
![]() | |
Named ()=default | |
Named Constructor. | |
Named (Named const &)=delete | |
Named is not copy-constructible. | |
Named (Named &&)=default | |
Named is move-constructible. | |
Named & | operator= (Named const &)=delete |
Named is not copy-assignable. | |
Named & | operator= (Named &&)=default |
Named is move-assignable. | |
virtual | ~Named ()=default |
Default virtual destructor. | |
![]() | |
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 |
Private Member Functions | |
DataStore (const DataStore &)=delete | |
DataStore & | operator= (const DataStore &)=delete |
DataStore (DataStore &&)=delete | |
DataStore & | operator= (DataStore &&)=delete |
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 |
![]() | |
MonitorableObject ()=default | |
void | register_node (ElementId name, NewNodePtr) |
void | publish (google::protobuf::Message &&, CustomOrigin &&co={}, OpMonLevel l=to_level(EntryOpMonLevel::kDefault)) const noexcept |
virtual void | generate_opmon_data () |
comment
Definition at line 108 of file DataStore.hpp.
|
inlineexplicit |
DataStore Constructor.
name | Name of the DataStore instance |
Definition at line 115 of file DataStore.hpp.
|
privatedelete |
|
privatedelete |
|
pure virtual |
|
pure virtual |
|
pure virtual |
Writes the TimeSlice into the DataStore.
ts | TimeSlice to write. |
|
pure virtual |
Writes the TriggerRecord into the DataStore.
tr | TriggerRecord to write. |