Belle II Software  release-08-01-10
RFNodeManager.h
1 /**************************************************************************
2  * basf2 (Belle II Analysis Software Framework) *
3  * Author: The Belle II Collaboration *
4  * *
5  * See git log for contributors and copyright holders. *
6  * This file is licensed under LGPL-3.0, see LICENSE.md. *
7  **************************************************************************/
8 #ifndef RFNODEMANAGER_H
9 #define RFNODEMANAGER_H
10 
11 #include
12 namespace Belle2 {
18  class RFNodeManager : public RFSharedMem, public RFNSM, public RFConf {
19  public:
20  RFNodeManager(string& nodename);
21  virtual ~RFNodeManager();
22 
23  static void signal_handler(int num);
24 
25  // Utility functions to fork worker process
26  int fork(char* script, int nargs, char** args);
27 
28  private:
29  int piperec[2];
30  int pipesend[2];
31  };
33 }
34 #endif
35 
36 
37 
38 
Abstract base class for different kinds of events.