LDMX Software
Toggle main menu visibility
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
Functions
Variables
Typedefs
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
~
Variables
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
Enumerations
Enumerator
Related Symbols
Files
File List
File Members
All
Functions
Macros
Framework
include
Framework
Performance
Callback.h
1
#ifndef FRAMEWORK_PERFORMANCE_CALLBACK
2
#define FRAMEWORK_PERFORMANCE_CALLBACK
3
4
#include <string>
5
6
namespace
framework::performance {
7
15
enum class
Callback {
16
onProcessStart = 0,
17
onProcessEnd = 1,
18
onFileOpen = 2,
19
onFileClose = 3,
20
beforeNewRun = 4,
21
onNewRun = 5,
22
process = 6
23
};
24
28
constexpr
std::size_t to_index(Callback c) {
29
return
static_cast<
std::size_t
>
(c);
30
}
31
35
std::string to_name(Callback c);
36
37
}
// namespace framework::performance
38
39
#endif
Generated by
1.12.0