PS_Fgen_FW  4da88f4073c1cc65ea45c3a652a2751e495e50db
Firmware for an Power Supply and Function Generator build from an ATX power supply
Loading...
Searching...
No Matches
Parameter.h
Go to the documentation of this file.
1
7
8#ifndef PARAMETER_H_
9#define PARAMETER_H_
10
15template <class T>
17{
18 public:
19 T Val;
20 T Min;
21 T Max;
22 T Def;
23 T Step;
24
29 { }
30
39 Parameter(T val, T min, T max, T def, T step) : Val(val), Min(min), Max(max), Def(def), Step(step)
40 { }
41};
42
43#endif /* PARAMETER_H_ */
T Def
Default value of the parameter.
Definition Parameter.h:22
T Step
Step value of the parameter.
Definition Parameter.h:23
Parameter()
Empty constructor of the Parameter.
Definition Parameter.h:28
T Val
Current value of the parameter.
Definition Parameter.h:19
T Max
Maximum value of the parameter.
Definition Parameter.h:21
Parameter(T val, T min, T max, T def, T step)
Constructor of the Parameter.
Definition Parameter.h:39
T Min
Minimum value of the parameter.
Definition Parameter.h:20