MNE-CPP  beta 0.1
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
sngchnmeasurement.h
Go to the documentation of this file.
1 //=============================================================================================================
36 #ifndef SNGCHNMEASUREMENT_H
37 #define SNGCHNMEASUREMENT_H
38 
39 
40 //*************************************************************************************************************
41 //=============================================================================================================
42 // INCLUDES
43 //=============================================================================================================
44 
45 #include "../xmeas_global.h"
46 #include "measurement.h"
47 
48 
49 //*************************************************************************************************************
50 //=============================================================================================================
51 // Qt INCLUDES
52 //=============================================================================================================
53 
54 #include <QSharedPointer>
55 #include <QString>
56 
57 
58 //*************************************************************************************************************
59 //=============================================================================================================
60 // DEFINE NAMESPACE XMEASLIB
61 //=============================================================================================================
62 
63 namespace XMEASLIB
64 {
65 
66 //=============================================================================================================
73 {
74 public:
75  typedef QSharedPointer<SngChnMeasurement> SPtr;
76  typedef QSharedPointer<const SngChnMeasurement> ConstSPtr;
78  //=========================================================================================================
83 
84  //=========================================================================================================
88  virtual ~SngChnMeasurement();
89 
90  //=========================================================================================================
97  virtual void setValue(double value) = 0;
98 
99  //=========================================================================================================
106  virtual double getValue() const = 0;
107 
108  //=========================================================================================================
114  virtual bool isSingleChannel() const;
115 
116 private:
117 
118 };
119 
120 
121 //*************************************************************************************************************
122 //=============================================================================================================
123 // INLINE DEFINITIONS
124 //=============================================================================================================
125 
126 } // NAMESPACE
127 
128 #endif // SNGCHNMEASUREMENT_H
The Measurement class is the base class of every Measurement.
Definition: measurement.h:73
QSharedPointer< const SngChnMeasurement > ConstSPtr
#define XMEASSHARED_EXPORT
Definition: xmeas_global.h:54
QSharedPointer< SngChnMeasurement > SPtr
Contains the declaration of the Measurement base class.
The SngChnMeasurement class is the base class of every SngChnMeasurement.