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 typedef std::shared_ptr<RawEvent> RawEvent_ptr;
00010 typedef daqrate::ConcurrentQueue<RawEvent_ptr> RawEventQueue;
00011 typedef daqrate::ConcurrentQueue<RawEvent_ptr>::SizeType SizeType;
00012
00013
00014
00015
00016 RawEventQueue & getGlobalQueue(SizeType maxSize=std::numeric_limits<SizeType>::max());
00017 }
00018
00019 #endif