MNE-CPP
beta 1.0
|
The Numeric class provides a Numeric Measurement. More...
#include <newnumeric.h>
Public Types | |
typedef QSharedPointer< NewNumeric > | SPtr |
typedef QSharedPointer< const NewNumeric > | ConstSPtr |
![]() | |
typedef QSharedPointer< NewMeasurement > | SPtr |
typedef QSharedPointer< const NewMeasurement > | ConstSPtr |
Public Member Functions | |
NewNumeric (QObject *parent=0) | |
virtual | ~NewNumeric () |
void | setUnit (const QString &unit) |
const QString & | getUnit () const |
virtual void | setValue (double v) |
virtual double | getValue () const |
![]() | |
NewMeasurement (int type=QMetaType::UnknownType, QObject *parent=0) | |
virtual | ~NewMeasurement () |
const QString & | getName () const |
void | setName (const QString &name) |
bool | isVisible () const |
void | setVisibility (bool visibility) |
int | type () const |
Additional Inherited Members | |
![]() | |
void | notify () |
![]() | |
void | setType (int type) |
The Numeric class provides a Numeric Measurement.
The Numeric class provides a Numeric Measurement.
Definition at line 74 of file newnumeric.h.
typedef QSharedPointer<const NewNumeric> XMEASLIB::NewNumeric::ConstSPtr |
Const shared pointer type for NewNumeric.
Definition at line 79 of file newnumeric.h.
typedef QSharedPointer<NewNumeric> XMEASLIB::NewNumeric::SPtr |
Shared pointer type for NewNumeric.
Definition at line 78 of file newnumeric.h.
NewNumeric::NewNumeric | ( | QObject * | parent = 0 | ) |
Constructs a Numeric.
Definition at line 57 of file newnumeric.cpp.
|
virtual |
Destroys the Numeric.
Definition at line 68 of file newnumeric.cpp.
|
inline |
Returns the unit of the numeric measurement.
Definition at line 149 of file newnumeric.h.
|
virtual |
Returns the current value. This method is inherited by Measurement.
Definition at line 87 of file newnumeric.cpp.
|
inline |
Sets the unit of the numeric data.
[in] | unit | of the data. |
Definition at line 140 of file newnumeric.h.
|
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. |
Definition at line 76 of file newnumeric.cpp.