Belle II Software
release-06-02-00
NSMCommand.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_NSMCommand_hh
9
#define _Belle2_NSMCommand_hh
10
11
#include "daq/slc/base/Enum.h"
12
13
namespace
Belle2
{
19
class
NSMCommand
:
public
Enum
{
20
21
public
:
22
static
const
NSMCommand
OK;
23
static
const
NSMCommand
STATE;
24
static
const
NSMCommand
ERROR;
25
static
const
NSMCommand
FATAL;
26
static
const
NSMCommand
LOG;
27
static
const
NSMCommand
LOGSET;
28
static
const
NSMCommand
LOGGET;
29
static
const
NSMCommand
VLISTGET;
30
static
const
NSMCommand
VLISTSET;
31
static
const
NSMCommand
VGET;
32
static
const
NSMCommand
VSET;
33
static
const
NSMCommand
VREPLY;
34
35
public
:
36
static
const
NSMCommand
DATAGET;
37
static
const
NSMCommand
DATASET;
38
static
const
NSMCommand
DBGET;
39
static
const
NSMCommand
DBSET;
40
static
const
NSMCommand
DBLISTGET;
41
static
const
NSMCommand
DBLISTSET;
42
static
const
NSMCommand
LOGLIST;
43
44
public
:
45
static
const
int
SUGGESTED = 2;
46
static
const
int
ENABLED = 1;
47
static
const
int
DISABLED = 0;
48
49
public
:
50
NSMCommand
() {}
51
NSMCommand
(
const
Enum
& e) :
Enum
(e) {}
52
NSMCommand
(
const
NSMCommand
& cmd) :
Enum
(cmd) {}
53
NSMCommand
(
const
char
* label) { *
this
= label; }
54
NSMCommand
(
const
std::string& label) { *
this
= label; }
55
NSMCommand
(
int
id
) { *
this
= id; }
56
~
NSMCommand
() {}
57
58
public
:
59
NSMCommand
(
int
id
,
const
char
* label)
60
:
Enum
(
id
, label) {}
61
62
public
:
63
const
NSMCommand
& operator=(
const
std::string& label);
64
const
NSMCommand
& operator=(
const
char
* label);
65
const
NSMCommand
& operator=(
int
id
);
66
67
};
68
70
}
71
72
#endif
Belle2::Enum
Definition:
Enum.h:19
Belle2::NSMCommand
Definition:
NSMCommand.h:19
Belle2
Abstract base class for different kinds of events.
Definition:
MillepedeAlgorithm.h:17
daq
slc
nsm
include
NSMCommand.h
Generated on Thu Dec 28 2023 02:22:31 for Belle II Software by
1.9.1