MNE-CPP
beta 0.1
Main Page
Related Pages
Modules
Classes
Files
File List
File Members
All
Classes
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
applications
mne_x_libs
xMeas
Measurement
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
57
Numeric::Numeric
()
58
:
SngChnMeasurement
()
59
, m_qString_Unit(
""
)
60
, m_dValue(-1)
61
62
{
63
64
}
65
66
67
//*************************************************************************************************************
68
69
Numeric::~Numeric
()
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
}
XMEASLIB::Numeric::setValue
virtual void setValue(double v)
Definition:
numeric.cpp:77
XMEASLIB::Numeric::~Numeric
virtual ~Numeric()
Definition:
numeric.cpp:69
XMEASLIB::Numeric::getValue
virtual double getValue() const
Definition:
numeric.cpp:86
XMEASLIB::SngChnMeasurement
The SngChnMeasurement class is the base class of every SngChnMeasurement.
Definition:
sngchnmeasurement.h:72
numeric.h
Contains the declaration of the Numeric class.
Subject::notify
void notify()
Definition:
observerpattern.cpp:74
XMEASLIB::Numeric::Numeric
Numeric()
Definition:
numeric.cpp:57
Generated on Mon Jun 9 2014 15:58:06 for MNE-CPP by
1.8.7