CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_4_2_9_HLT1_bphpatch4/src/EventFilter/Utilities/interface/ShmOutputModuleRegistry.h

Go to the documentation of this file.
00001 #ifndef EVF_SHMOUTPUTMODULE_REGISTRY_H
00002 #define EVF_SHMOUTPUTMODULE_REGISTRY_H
00003 
00004 #include <string>
00005 #include <map>
00006 
00007 namespace edm{
00008   class ParameterSet;
00009 }
00010 
00011 namespace edm{
00012  class FUShmOutputModule;
00013 }
00014 
00015 namespace evf
00016 {
00017  
00018   class ShmOutputModuleRegistry
00019     {
00020     public:
00021       ShmOutputModuleRegistry(const edm::ParameterSet &);
00022       edm::FUShmOutputModule *get(std::string &name);
00023       void registerModule(std::string &name, edm::FUShmOutputModule *op);
00024       void dumpRegistry();
00025 
00026     private:
00027       typedef std::map<std::string, edm::FUShmOutputModule*> dct;
00028       typedef dct::iterator idct;
00029       void clear();
00030       dct clm_;
00031       friend class FWEPWrapper;
00032     };
00033 }
00034 #endif
00035