Belle II Software  release-08-01-10
RCNodeDaemon.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 _Belle2_RCNodeDaemon_h
9 #define _Belle2_RCNodeDaemon_h
10 
11 #include "daq/slc/database/DBInterface.h"
12 
13 #include "daq/slc/runcontrol/RCCallback.h"
14 
15 #include <daq/slc/nsm/NSMNodeDaemon.h>
16 
17 #include <daq/slc/base/ConfigFile.h>
18 
19 namespace Belle2 {
25  class RCNodeDaemon {
26 
27  public:
28  RCNodeDaemon(ConfigFile& config,
29  RCCallback* callback,
30  RCCallback* callback2 = NULL,
31  DBInterface* db = NULL);
32  ~RCNodeDaemon() {}
33 
34  public:
35  void run();
36 
37  private:
38  std::string m_title;
39  NSMNodeDaemon m_daemon;
40 
41  };
42 
44 }
45 
46 #endif
Abstract base class for different kinds of events.