MNE-CPP
beta 0.1
|
The RealTimeMultiSampleArray class is the base class of every RealTimeMultiSampleArray Measurement. More...
#include <realtimemultisamplearray.h>
Public Types | |
typedef QSharedPointer < RealTimeMultiSampleArray > | SPtr |
typedef QSharedPointer< const RealTimeMultiSampleArray > | 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 | |
RealTimeMultiSampleArray (unsigned int uiNumChannels) | |
virtual | ~RealTimeMultiSampleArray () |
void | setMinValue (double minValue) |
double | getMinValue () const |
void | setMaxValue (double maxValue) |
double | getMaxValue () const |
void | setSamplingRate (double dSamplingRate) |
double | getSamplingRate () const |
void | setNumChannels (unsigned int uiNumChannels) |
unsigned int | getNumChannels () const |
void | setMultiArraySize (unsigned char ucMultiArraySize) |
unsigned char | getMultiArraySize () const |
const QVector< QVector< double > > & | getMultiSampleArray () |
void | setUnit (const QString &unit) |
const QString & | getUnit () const |
virtual void | setValue (double) |
virtual double | getValue () const |
virtual void | setVector (QVector< double > v) |
virtual QVector< double > | getVector () 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 RealTimeMultiSampleArray class is the base class of every RealTimeMultiSampleArray Measurement.
DECLARE CLASS RealTimeMultiSampleArray
Definition at line 81 of file realtimemultisamplearray.h.
typedef QSharedPointer<const RealTimeMultiSampleArray> XMEASLIB::RealTimeMultiSampleArray::ConstSPtr |
Const shared pointer type for RealTimeMultiSampleArray.
Definition at line 85 of file realtimemultisamplearray.h.
typedef QSharedPointer<RealTimeMultiSampleArray> XMEASLIB::RealTimeMultiSampleArray::SPtr |
Shared pointer type for RealTimeMultiSampleArray.
Definition at line 84 of file realtimemultisamplearray.h.
RealTimeMultiSampleArray::RealTimeMultiSampleArray | ( | unsigned int | uiNumChannels | ) |
Constructs a RealTimeMultiSampleArray.
[in] | uiNumChannels | the number of channels. |
Definition at line 66 of file realtimemultisamplearray.cpp.
|
virtual |
Destroys the RealTimeMultiSampleArray.
Definition at line 82 of file realtimemultisamplearray.cpp.
|
inline |
Returns the maximal value.
Definition at line 273 of file realtimemultisamplearray.h.
|
inline |
Returns the minimal value.
Definition at line 257 of file realtimemultisamplearray.h.
|
inline |
Returns the number of values which should be gathered before attached observers are notified by calling the Subject notify() method.
Definition at line 324 of file realtimemultisamplearray.h.
|
inline |
Returns the gathered multi sample array.
Definition at line 332 of file realtimemultisamplearray.h.
|
inline |
Returns the number of channels of .
Definition at line 305 of file realtimemultisamplearray.h.
|
inline |
Returns the sampling rate of the RealTimeMultiSampleArray Measurement.
Definition at line 289 of file realtimemultisamplearray.h.
|
inline |
Returns the unit of the RealTimeMultiSampleArray measurement.
Definition at line 348 of file realtimemultisamplearray.h.
|
inlinevirtual |
Not used. This method is inherited by Measurement.
Implements XMEASLIB::SngChnMeasurement.
Definition at line 213 of file realtimemultisamplearray.h.
|
virtual |
Returns the current value set. This method is inherited by Measurement.
Definition at line 90 of file realtimemultisamplearray.cpp.
|
inline |
Sets the maximal value. If value to set is bigger, current value is set to maximal value.
[in] | maxValue | maximal value. |
Definition at line 265 of file realtimemultisamplearray.h.
|
inline |
Sets the minimal value. If current value to set is smaller, current value is set to minimal value.
[in] | minValue | minimal value. |
Definition at line 249 of file realtimemultisamplearray.h.
|
inline |
Sets the number of sample vectors which should be gathered before attached observers are notified by calling the Subject notify() method.
[in] | ucMultiArraySize | the number of values. |
Definition at line 312 of file realtimemultisamplearray.h.
|
inline |
Sets the number of channels of .
[in] | uiNumChannels | the number of channels. |
Definition at line 297 of file realtimemultisamplearray.h.
|
inline |
Sets the sampling rate of the RealTimeMultiSampleArray Measurement.
[in] | dSamplingRate | the sampling rate of the RealTimeMultiSampleArray. |
Definition at line 281 of file realtimemultisamplearray.h.
|
inline |
Sets the unit of the RealTimeMultiSampleArray data.
[in] | unit | of the data. |
Definition at line 340 of file realtimemultisamplearray.h.
|
inlinevirtual |
Not used. This method is inherited by Measurement.
[in] | not | used |
Implements XMEASLIB::SngChnMeasurement.
Definition at line 205 of file realtimemultisamplearray.h.
|
virtual |
Attaches a value to the sample array vector. This method is inherited by Measurement.
[in] | v | the value which is attached to the sample array vector. |
Definition at line 98 of file realtimemultisamplearray.cpp.