MNE-CPP  beta 0.1
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
numeric.cpp
Go to the documentation of this file.
1 //=============================================================================================================
36 //*************************************************************************************************************
37 //=============================================================================================================
38 // INCLUDES
39 //=============================================================================================================
40 
41 #include "numeric.h"
42 
43 
44 //*************************************************************************************************************
45 //=============================================================================================================
46 // USED NAMESPACES
47 //=============================================================================================================
48 
49 using namespace XMEASLIB;
50 
51 
52 //*************************************************************************************************************
53 //=============================================================================================================
54 // DEFINE MEMBER METHODS
55 //=============================================================================================================
56 
59 , m_qString_Unit("")
60 , m_dValue(-1)
61 
62 {
63 
64 }
65 
66 
67 //*************************************************************************************************************
68 
70 {
71 
72 }
73 
74 
75 //*************************************************************************************************************
76 
77 void Numeric::setValue(double v)
78 {
79  m_dValue = v;
80  notify();
81 }
82 
83 
84 //*************************************************************************************************************
85 
86 double Numeric::getValue() const
87 {
88  return m_dValue;
89 }
virtual void setValue(double v)
Definition: numeric.cpp:77
virtual ~Numeric()
Definition: numeric.cpp:69
virtual double getValue() const
Definition: numeric.cpp:86
The SngChnMeasurement class is the base class of every SngChnMeasurement.
Contains the declaration of the Numeric class.
void notify()