Belle II Software  release-08-01-10
RCNode.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_RCNode_h
9 #define _Belle2_RCNode_h
10 
11 #include "daq/slc/nsm/NSMNode.h"
12 
13 namespace Belle2 {
19  class RCNode : public NSMNode {
20 
21  public:
22  RCNode(const std::string& name = "")
23  : NSMNode(name), m_sequential(false), m_isglobal(-1) {}
24  virtual ~RCNode() {}
25 
26  public:
27  bool isSequential() const { return m_sequential; }
28  const std::string& getConfig() const { return m_config; }
29  void setSequential(bool seq) { m_sequential = seq; }
30  void setConfig(const std::string& config) { m_config = config; }
31  void setGlobal(int isglobal) { m_isglobal = isglobal; }
32  int isGlobal() const { return m_isglobal; }
33 
34  private:
35  bool m_sequential;
36  int m_isglobal;
37  std::string m_config;
38 
39  };
40 
42 };
43 
44 #endif
Abstract base class for different kinds of events.