MsgQueueFactory.h

Go to the documentation of this file.
00001 // Copyright CERN 2012 - Developed in collaboration with GSI
00002 
00003 #ifndef MSG_QUEUE_FACTORY_H_
00004 #define MSG_QUEUE_FACTORY_H_
00005 
00006 #include <map>
00007 #include <string>
00008 
00009 #include <stdint.h>
00010 
00011 namespace fesa
00012 {
00013 
00014 class AbstractMsgQueue;
00015 
00020 class MsgQueueFactory
00021 {
00022   public:
00023 
00027     ~MsgQueueFactory();
00028 
00037     static AbstractMsgQueue* getOrCreateMsgQueue(const std::string& name, uint32_t queuelength, bool blocking);
00038 
00039   private:
00040 
00046     static std::map<std::string, AbstractMsgQueue*> blockingIPCQueueCol_;
00047 
00053     static std::map<std::string, AbstractMsgQueue*> nonBlockingIPCQueueCol_;
00054 
00060     static std::map<std::string, AbstractMsgQueue*> localQueueCol_;
00061 
00062 };
00063 
00064 } // fesa
00065 
00066 #endif // MSG_QUEUE_FACTORY_H_

Generated on 18 Jan 2013 for Fesa by  doxygen 1.6.1