MNE-CPP
beta 0.1
|
The Measurement class is the base class of every Measurement. More...
#include <measurement.h>
Public Types | |
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 | |
Measurement () | |
virtual | ~Measurement () |
void | setName (const QString &name) |
QString | getName () const |
void | setVisibility (bool visibility) |
bool | isVisible () const |
virtual bool | isSingleChannel () const =0 |
![]() | |
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 Measurement class is the base class of every Measurement.
DECLARE CLASS Measurement
Definition at line 73 of file measurement.h.
typedef QSharedPointer<const Measurement> XMEASLIB::Measurement::ConstSPtr |
Const shared pointer type for Measurement.
Definition at line 77 of file measurement.h.
typedef QSharedPointer<Measurement> XMEASLIB::Measurement::SPtr |
Shared pointer type for Measurement.
Definition at line 76 of file measurement.h.
Measurement::Measurement | ( | ) |
Constructs a Measurement.
Definition at line 58 of file measurement.cpp.
|
virtual |
Destroys the Measurement.
Definition at line 69 of file measurement.cpp.
|
inline |
Returns the name of the Measurement.
Definition at line 150 of file measurement.h.
|
pure virtual |
Returns whether Measurement is single channel measurement.
Implemented in XMEASLIB::MltChnMeasurement, and XMEASLIB::SngChnMeasurement.
|
inline |
Returns whether Measurement is visible.
Definition at line 166 of file measurement.h.
|
inline |
Sets the name of the Measurement.
[in] | name | which should be set. |
Definition at line 142 of file measurement.h.
|
inline |
Sets the visibility of the Measurement, whether Measurement is visible at the display or just data are send invisible.
[in] | visibility | of the Measurement. |
Definition at line 158 of file measurement.h.