DUNE-DAQ
DUNE Trigger and Data Acquisition software
|
#include <LatencyBufferConcept.hpp>
Public Member Functions | |
LatencyBufferConcept () | |
virtual | ~LatencyBufferConcept () |
LatencyBufferConcept (const LatencyBufferConcept &)=delete | |
LatencyBufferConcept is not copy-constructible. | |
LatencyBufferConcept & | operator= (const LatencyBufferConcept &)=delete |
LatencyBufferConcept is not copy-assginable. | |
LatencyBufferConcept (LatencyBufferConcept &&)=delete | |
LatencyBufferConcept is not move-constructible. | |
LatencyBufferConcept & | operator= (LatencyBufferConcept &&)=delete |
LatencyBufferConcept is not move-assignable. | |
virtual void | conf (const appmodel::LatencyBuffer *conf)=0 |
Configure the LB. | |
virtual void | scrap (const nlohmann::json &cfg)=0 |
Unconfigure the LB. | |
virtual std::size_t | occupancy () const =0 |
Occupancy of LB. | |
virtual bool | write (T &&element)=0 |
Move referenced object into LB. | |
virtual bool | read (T &element)=0 |
Move object from LB to referenced. | |
virtual const T * | front ()=0 |
Write referenced object into LB without moving it. | |
virtual const T * | back ()=0 |
Get pointer to the back of the LB. | |
virtual void | pop (std::size_t amount)=0 |
Pop specified amount of elements from LB. | |
virtual void | flush ()=0 |
Flush all elements from the latency buffer. | |
virtual void | allocate_memory (size_t)=0 |
Whether or not the buffer is allocatable. false by default. | |
![]() | |
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 |
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 () |
Concept of a LatencyBuffer.
RawType | the type of contained elements |
KeyType | the type of key for searchability |
Definition at line 27 of file LatencyBufferConcept.hpp.
|
inline |
Definition at line 31 of file LatencyBufferConcept.hpp.
|
inlinevirtual |
Definition at line 33 of file LatencyBufferConcept.hpp.
|
delete |
LatencyBufferConcept is not copy-constructible.
|
delete |
LatencyBufferConcept is not move-constructible.
|
pure virtual |
Whether or not the buffer is allocatable. false by default.
Implemented in dunedaq::datahandlinglibs::SkipListLatencyBufferModel< T >.
|
pure virtual |
Get pointer to the back of the LB.
Implemented in dunedaq::datahandlinglibs::IterableQueueModel< T >, and dunedaq::datahandlinglibs::SkipListLatencyBufferModel< T >.
|
pure virtual |
Configure the LB.
Implemented in dunedaq::datahandlinglibs::IterableQueueModel< T >, and dunedaq::datahandlinglibs::SkipListLatencyBufferModel< T >.
|
pure virtual |
Flush all elements from the latency buffer.
Implemented in dunedaq::datahandlinglibs::IterableQueueModel< T >, and dunedaq::datahandlinglibs::SkipListLatencyBufferModel< T >.
|
pure virtual |
Write referenced object into LB without moving it.
Get pointer to the front of the LB
Implemented in dunedaq::datahandlinglibs::IterableQueueModel< T >, and dunedaq::datahandlinglibs::SkipListLatencyBufferModel< T >.
|
pure virtual |
Occupancy of LB.
Implemented in dunedaq::datahandlinglibs::IterableQueueModel< T >, and dunedaq::datahandlinglibs::SkipListLatencyBufferModel< T >.
|
delete |
LatencyBufferConcept is not copy-assginable.
|
delete |
LatencyBufferConcept is not move-assignable.
|
pure virtual |
Pop specified amount of elements from LB.
Implemented in dunedaq::datahandlinglibs::IterableQueueModel< T >.
|
pure virtual |
Move object from LB to referenced.
Implemented in dunedaq::datahandlinglibs::IterableQueueModel< T >, and dunedaq::datahandlinglibs::SkipListLatencyBufferModel< T >.
|
pure virtual |
Unconfigure the LB.
Implemented in dunedaq::datahandlinglibs::IterableQueueModel< T >, and dunedaq::datahandlinglibs::SkipListLatencyBufferModel< T >.
|
pure virtual |
Move referenced object into LB.
Implemented in dunedaq::datahandlinglibs::IterableQueueModel< T >, and dunedaq::datahandlinglibs::SkipListLatencyBufferModel< T >.