PS_Fgen_FW  4da88f4073c1cc65ea45c3a652a2751e495e50db
Firmware for an Power Supply and Function Generator build from an ATX power supply
Loading...
Searching...
No Matches
Parameter< T > Class Template Reference

Class used to bundle min, max, default and the current values for parameters. More...

#include <Parameter.h>

Public Member Functions

 Parameter ()
 Empty constructor of the Parameter.
 
 Parameter (T val, T min, T max, T def, T step)
 Constructor of the Parameter.
 

Public Attributes

Val
 Current value of the parameter.
 
Min
 Minimum value of the parameter.
 
Max
 Maximum value of the parameter.
 
Def
 Default value of the parameter.
 
Step
 Step value of the parameter.
 

Detailed Description

template<class T>
class Parameter< T >

Class used to bundle min, max, default and the current values for parameters.

Template Parameters
TType of the parameter

Constructor & Destructor Documentation

◆ Parameter()

template<class T>
Parameter< T >::Parameter ( T val,
T min,
T max,
T def,
T step )
inline

Constructor of the Parameter.

Parameters
valCurrent value of the parameter
minMinimum value of the parameter
maxMaximum value of the parameter
defDefault value of the parameter
stepStep value of the parameter

The documentation for this class was generated from the following file: