00001 #ifndef artdaq_core_Core_GlobalQueue_hh 00002 #define artdaq_core_Core_GlobalQueue_hh 00003 00004 #include "artdaq-core/Core/ConcurrentQueue.hh" 00005 #include "artdaq-core/Data/RawEvent.hh" 00006 #include <memory> 00007 00008 namespace artdaq 00009 { 00013 typedef std::shared_ptr<RawEvent> RawEvent_ptr; 00017 typedef artdaq::ConcurrentQueue<RawEvent_ptr> RawEventQueue; 00018 00025 RawEventQueue& getGlobalQueue(RawEventQueue::SizeType maxSize = std::numeric_limits<RawEventQueue::SizeType>::max()); 00026 } 00027 00028 #endif /* artdaq_core_Core_GlobalQueue_hh */