MNE-CPP
beta 0.1
|
The Numeric class is the base class of every Numeric Measurement. More...
#include <numeric.h>
Public Types | |
typedef QSharedPointer< Numeric > | SPtr |
typedef QSharedPointer< const Numeric > | ConstSPtr |
![]() | |
typedef QSharedPointer < SngChnMeasurement > | SPtr |
typedef QSharedPointer< const SngChnMeasurement > | ConstSPtr |
![]() | |
typedef QSharedPointer < Measurement > | SPtr |
typedef QSharedPointer< const Measurement > | ConstSPtr |
![]() | |
typedef QSharedPointer< Subject > | SPtr |
typedef QSharedPointer< const Subject > | ConstSPtr |
typedef QSet< IObserver * > | t_Observers |
Public Member Functions | |
Numeric () | |
virtual | ~Numeric () |
void | setUnit (const QString &unit) |
const QString & | getUnit () const |
virtual void | setValue (double v) |
virtual double | getValue () const |
![]() | |
SngChnMeasurement () | |
virtual | ~SngChnMeasurement () |
virtual bool | isSingleChannel () const |
![]() | |
Measurement () | |
virtual | ~Measurement () |
void | setName (const QString &name) |
QString | getName () const |
void | setVisibility (bool visibility) |
bool | isVisible () const |
![]() | |
virtual | ~Subject () |
void | attach (IObserver *pObserver) |
void | detach (IObserver *pObserver) |
void | notify () |
t_Observers & | observers () |
int | observerNumDebug () |
Additional Inherited Members | |
![]() | |
static bool | notifyEnabled = true |
![]() | |
Subject () | |
The Numeric class is the base class of every Numeric Measurement.
DECLARE CLASS Numeric
typedef QSharedPointer<const Numeric> XMEASLIB::Numeric::ConstSPtr |
typedef QSharedPointer<Numeric> XMEASLIB::Numeric::SPtr |
Numeric::Numeric | ( | ) |
Constructs a Numeric.
Definition at line 57 of file numeric.cpp.
|
virtual |
Destroys the Numeric.
Definition at line 69 of file numeric.cpp.
|
inline |
|
virtual |
Returns the current value. This method is inherited by Measurement.
Implements XMEASLIB::SngChnMeasurement.
Definition at line 86 of file numeric.cpp.
|
inline |
|
virtual |
Sets a value and notify() all attached observers. This method is inherited by Measurement.
[in] | v | the value which is set to the Numeric measurement. |
Implements XMEASLIB::SngChnMeasurement.
Definition at line 77 of file numeric.cpp.