Bayeux
3.4.1
Core Foundation library for SuperNEMO
Main Page
Related Pages
+
Namespaces
Namespace List
+
Namespace 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
x
y
z
Variables
+
Typedefs
a
b
c
d
e
f
g
h
i
m
o
p
r
s
u
v
w
+
Enumerations
a
b
c
d
e
g
m
n
o
p
r
s
u
v
+
Enumerator
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
x
y
z
+
Classes
Class List
Class Index
Class Hierarchy
+
Class Members
+
All
_
a
b
c
d
e
f
g
h
i
j
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
y
z
~
+
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Typedefs
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
z
+
Enumerations
a
b
c
d
e
f
h
i
l
m
n
o
p
q
r
s
t
u
v
w
x
z
+
Enumerator
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
y
z
Properties
+
Related Functions
b
c
h
i
m
o
p
s
v
+
Files
File List
+
File Members
+
All
_
b
c
d
e
g
m
Functions
+
Macros
_
b
c
d
e
g
m
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
bayeux
mctools
digitization
i_adc.h
Go to the documentation of this file.
1
/* Author(s) : Francois Mauger <mauger@lpccaen.in2p3.fr>
3
* Creation date : 2016-10-01
4
* Last modified : 2016-10-01
5
*
6
* Copyright (C) 2016 Francois Mauger <mauger@lpccaen.in2p3.fr>
7
*
8
* This program is free software; you can redistribute it and/or modify
9
* it under the terms of the GNU General Public License as published by
10
* the Free Software Foundation; either version 3 of the License, or (at
11
* your option) any later version.
12
*
13
* This program is distributed in the hope that it will be useful, but
14
* WITHOUT ANY WARRANTY; without even the implied warranty of
15
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16
* General Public License for more details.
17
*
18
* You should have received a copy of the GNU General Public License
19
* along with this program; if not, write to the Free Software
20
* Foundation, Inc., 51 Franklin Street, Fifth Floor,
21
* Boston, MA 02110-1301, USA.
22
*
23
* Description:
24
*
25
* Interface class for ADC (Analog Digital Converter).
26
*
27
*/
28
29
#ifndef MCTOOLS_DIGITIZATION_I_ADC_H
30
#define MCTOOLS_DIGITIZATION_I_ADC_H
31
32
// This project:
33
34
namespace
mctools
{
35
36
namespace
digitization {
37
39
class
i_adc
40
{
41
public
:
42
44
i_adc
(){}
45
47
virtual
~i_adc
(){}
48
50
virtual
int32_t
quantize
(
const
double
vinput_)
const
= 0;
51
53
DR_CLASS_RTTI
()
54
55
};
56
57
}
// end of namespace digitization
58
59
}
// end of namespace mctools
60
61
// Activate reflection layer :
62
DR_CLASS_INIT
(::
mctools::digitization::i_adc
)
63
64
#endif // MCTOOLS_DIGITIZATION_I_ADC_H
65
66
// Local Variables: --
67
// mode: c++ --
68
// c-file-style: "gnu" --
69
// tab-width: 2 --
70
// End: --
DR_CLASS_INIT
#define DR_CLASS_INIT(Introspectable)
Inform Camp that class Introspectable exists and trigger the automatic registration of dedicated refl...
Definition:
reflection_interface.h:149
mctools::digitization::i_adc::i_adc
i_adc()
Default constructor.
Definition:
i_adc.h:44
mctools
Definition:
base_step_hit.h:32
mctools::digitization::i_adc
A simple linear ADC (Analog Digital Converter).
Definition:
i_adc.h:39
mctools::digitization::i_adc::~i_adc
virtual ~i_adc()
Destructor.
Definition:
i_adc.h:47
mctools::digitization::i_adc::quantize
virtual int32_t quantize(const double vinput_) const =0
Quantize.
DR_CLASS_RTTI
#define DR_CLASS_RTTI()
Declare Camp RTTI within class declaration.
Definition:
reflection_interface.h:46
Generated by
1.8.15