CMS 3D CMS Logo

UnixSignalService.h

Go to the documentation of this file.
00001 #ifndef FWCore_Services_UnixSignalService_h
00002 #define FWCore_Services_UnixSignalService_h
00003 
00004 /*----------------------------------------------------------------------
00005 
00006 UnixSignalService: At present, this defines a SIGUSR2 handler and
00007 sets the shutdown flag when that signal has been raised.
00008 
00009 This service is instantiated at job startup.
00010 
00011 ----------------------------------------------------------------------*/
00012 
00013 namespace edm {
00014   class ParameterSet;
00015   class ActivityRegistry;
00016   class Event;
00017   class EventSetup;
00018 
00019   namespace service {
00020 
00021   class UnixSignalService
00022   {
00023   private:
00024     bool enableSigInt_;
00025 
00026   public:
00027     UnixSignalService(edm::ParameterSet const& ps, edm::ActivityRegistry& ac); 
00028     ~UnixSignalService();
00029 
00030   }; // class UnixSignalService
00031   }  // end of namespace service
00032 }    // end of namespace edm
00033 #endif

Generated on Tue Jun 9 17:36:40 2009 for CMSSW by  doxygen 1.5.4