CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
InitRootHandlers.h
Go to the documentation of this file.
1 #ifndef FWCore_Services_InitRootHandlers_h
2 #define FWCore_Services_InitRootHandlers_h
3 
4 #include <memory>
6 
7 namespace edm {
9  class ParameterSet;
10  class ActivityRegistry;
11 
12  namespace service {
13  class InitRootHandlers : public RootHandlers {
14 
15  friend int cmssw_stacktrace(void *);
16 
17  public:
18  explicit InitRootHandlers(ParameterSet const& pset, ActivityRegistry& iReg);
19  virtual ~InitRootHandlers();
20 
21  static void fillDescriptions(ConfigurationDescriptions& descriptions);
22 
23  private:
24  static char *const *getPstackArgv();
25  virtual void enableWarnings_() override;
26  virtual void ignoreWarnings_() override;
27  virtual void willBeUsingThreads() override;
28  virtual void initializeThisThreadForUse() override;
29 
30  void cachePidInfoHandler(unsigned int, unsigned int) {cachePidInfo();}
31  void cachePidInfo();
32 
33  static const int pidStringLength_ = 200;
35  static char * const pstackArgv_[];
40  std::shared_ptr<const void> sigBusHandler_;
41  std::shared_ptr<const void> sigSegvHandler_;
42  std::shared_ptr<const void> sigIllHandler_;
43  };
44 
45  inline
47  return true;
48  }
49 
50  } // end of namespace service
51 } // end of namespace edm
52 
53 #endif // InitRootHandlers_H
virtual void enableWarnings_() override
static char *const pstackArgv_[]
bool isProcessWideService(TFileService const *)
Definition: TFileService.h:99
std::shared_ptr< const void > sigSegvHandler_
friend int cmssw_stacktrace(void *)
std::shared_ptr< const void > sigBusHandler_
void cachePidInfoHandler(unsigned int, unsigned int)
static char pidString_[pidStringLength_]
static char *const * getPstackArgv()
std::shared_ptr< const void > sigIllHandler_
virtual void initializeThisThreadForUse() override
virtual void ignoreWarnings_() override
InitRootHandlers(ParameterSet const &pset, ActivityRegistry &iReg)
virtual void willBeUsingThreads() override
static void fillDescriptions(ConfigurationDescriptions &descriptions)