Belle II Software
release-05-01-25
NSMCommand.h
1
#ifndef _Belle2_NSMCommand_hh
2
#define _Belle2_NSMCommand_hh
3
4
#include "daq/slc/base/Enum.h"
5
6
namespace
Belle2
{
12
class
NSMCommand
:
public
Enum
{
13
14
public
:
15
static
const
NSMCommand
OK;
16
static
const
NSMCommand
STATE;
17
static
const
NSMCommand
ERROR;
18
static
const
NSMCommand
FATAL;
19
static
const
NSMCommand
LOG;
20
static
const
NSMCommand
LOGSET;
21
static
const
NSMCommand
LOGGET;
22
static
const
NSMCommand
VLISTGET;
23
static
const
NSMCommand
VLISTSET;
24
static
const
NSMCommand
VGET;
25
static
const
NSMCommand
VSET;
26
static
const
NSMCommand
VREPLY;
27
28
public
:
29
static
const
NSMCommand
DATAGET;
30
static
const
NSMCommand
DATASET;
31
static
const
NSMCommand
DBGET;
32
static
const
NSMCommand
DBSET;
33
static
const
NSMCommand
DBLISTGET;
34
static
const
NSMCommand
DBLISTSET;
35
static
const
NSMCommand
LOGLIST;
36
37
public
:
38
static
const
int
SUGGESTED = 2;
39
static
const
int
ENABLED = 1;
40
static
const
int
DISABLED = 0;
41
42
public
:
43
NSMCommand
() {}
44
NSMCommand
(
const
Enum
& e) :
Enum
(e) {}
45
NSMCommand
(
const
NSMCommand
& cmd) :
Enum
(cmd) {}
46
NSMCommand
(
const
char
* label) { *
this
= label; }
47
NSMCommand
(
const
std::string& label) { *
this
= label; }
48
NSMCommand
(
int
id
) { *
this
= id; }
49
~
NSMCommand
() {}
50
51
public
:
52
NSMCommand
(
int
id
,
const
char
* label)
53
:
Enum
(
id
, label) {}
54
55
public
:
56
const
NSMCommand
& operator=(
const
std::string& label);
57
const
NSMCommand
& operator=(
const
char
* label);
58
const
NSMCommand
& operator=(
int
id
);
59
60
};
61
63
}
64
65
#endif
Belle2::Enum
Definition:
Enum.h:12
Belle2
Abstract base class for different kinds of events.
Definition:
MillepedeAlgorithm.h:19
Belle2::NSMCommand
Definition:
NSMCommand.h:12
daq
slc
nsm
include
NSMCommand.h
Generated on Fri Nov 5 2021 03:49:59 for Belle II Software by
1.8.17