artdaq
v3_09_00
|
Interface for ArtdaqSharedMemoryService. This interface is declared to art as part of the required registration of an art Service. More...
#include <artdaq/ArtModules/ArtdaqSharedMemoryService.h>
Public Member Functions | |
virtual | ~ArtdaqSharedMemoryServiceInterface ()=default |
Default virtual destructor. | |
virtual std::unordered_map < artdaq::Fragment::type_t, std::unique_ptr < artdaq::Fragments > > | ReceiveEvent (bool broadcast)=0 |
Receive an event from the shared memory. More... | |
virtual size_t | GetQueueSize ()=0 |
Get the number of events which are ready to be read. More... | |
virtual size_t | GetQueueCapacity ()=0 |
Get the maximum number of events which can be stored in the shared memory. More... | |
virtual std::shared_ptr < artdaq::detail::RawEventHeader > | GetEventHeader ()=0 |
Get a shared_ptr to the current event header, if any. More... | |
Interface for ArtdaqSharedMemoryService. This interface is declared to art as part of the required registration of an art Service.
Definition at line 12 of file ArtdaqSharedMemoryService.h.
|
pure virtual |
Get a shared_ptr to the current event header, if any.
Implemented in ArtdaqSharedMemoryService.
|
pure virtual |
Get the maximum number of events which can be stored in the shared memory.
Implemented in ArtdaqSharedMemoryService.
|
pure virtual |
Get the number of events which are ready to be read.
Implemented in ArtdaqSharedMemoryService.
|
pure virtual |
Receive an event from the shared memory.
broadcast | Whether to only attempt to receive a broadcast (broadcasts are always preferentially received over data) |
Implemented in ArtdaqSharedMemoryService.