MNE-CPP
beta 0.1
|
The RealTimeMultiSampleArrayNew class is the base class of every RealTimeMultiSampleArrayNew Measurement. More...
#include <realtimemultisamplearray_new.h>
Public Types | |
typedef QSharedPointer < RealTimeMultiSampleArrayNew > | SPtr |
typedef QSharedPointer< const RealTimeMultiSampleArrayNew > | ConstSPtr |
![]() | |
typedef QSharedPointer < MltChnMeasurement > | SPtr |
typedef QSharedPointer< const MltChnMeasurement > | 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 | |
RealTimeMultiSampleArrayNew () | |
virtual | ~RealTimeMultiSampleArrayNew () |
void | init (unsigned int uiNumChannels) |
void | initFromFiffInfo (FiffInfo::SPtr &p_pFiffInfo) |
void | setSamplingRate (double dSamplingRate) |
double | getSamplingRate () const |
unsigned int | getNumChannels () const |
QList < RealTimeSampleArrayChInfo > & | chInfo () |
FiffInfo::SPtr & | getFiffInfo () |
void | setMultiArraySize (unsigned char ucMultiArraySize) |
unsigned char | getMultiArraySize () const |
const QVector< VectorXd > & | getMultiSampleArray () |
virtual void | setValue (VectorXd v) |
virtual VectorXd | getValue () const |
![]() | |
MltChnMeasurement () | |
virtual | ~MltChnMeasurement () |
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 RealTimeMultiSampleArrayNew class is the base class of every RealTimeMultiSampleArrayNew Measurement.
DECLARE CLASS RealTimeMultiSampleArrayNew
Definition at line 85 of file realtimemultisamplearray_new.h.
typedef QSharedPointer<const RealTimeMultiSampleArrayNew> XMEASLIB::RealTimeMultiSampleArrayNew::ConstSPtr |
Const shared pointer type for RealTimeMultiSampleArrayNew.
Definition at line 89 of file realtimemultisamplearray_new.h.
typedef QSharedPointer<RealTimeMultiSampleArrayNew> XMEASLIB::RealTimeMultiSampleArrayNew::SPtr |
Shared pointer type for RealTimeMultiSampleArrayNew.
Definition at line 88 of file realtimemultisamplearray_new.h.
RealTimeMultiSampleArrayNew::RealTimeMultiSampleArrayNew | ( | ) |
Constructs a RealTimeMultiSampleArrayNew.
Definition at line 66 of file realtimemultisamplearray_new.cpp.
|
virtual |
Destroys the RealTimeMultiSampleArrayNew.
Definition at line 77 of file realtimemultisamplearray_new.cpp.
|
inline |
Returns the reference to the channel list.
Definition at line 241 of file realtimemultisamplearray_new.h.
|
inline |
Returns the reference to the orig FiffInfo.
Definition at line 249 of file realtimemultisamplearray_new.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 269 of file realtimemultisamplearray_new.h.
|
inline |
Returns the gathered multi sample array.
Definition at line 277 of file realtimemultisamplearray_new.h.
|
inline |
Returns the number of channels.
Definition at line 233 of file realtimemultisamplearray_new.h.
|
inline |
Returns the sampling rate of the RealTimeMultiSampleArrayNew Measurement.
Definition at line 225 of file realtimemultisamplearray_new.h.
|
virtual |
Returns the current value set. This method is inherited by Measurement.
Implements XMEASLIB::MltChnMeasurement.
Definition at line 225 of file realtimemultisamplearray_new.cpp.
|
inline |
Inits RealTimeMultiSampleArrayNew and adds uiNumChannels empty channel information
[in] | uiNumChannels | the number of channels to init. |
Definition at line 85 of file realtimemultisamplearray_new.cpp.
void RealTimeMultiSampleArrayNew::initFromFiffInfo | ( | FiffInfo::SPtr & | p_pFiffInfo | ) |
Init channel infos using fiff info
[in] | p_pFiffInfo | Info to init from |
Definition at line 99 of file realtimemultisamplearray_new.cpp.
|
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 257 of file realtimemultisamplearray_new.h.
|
inline |
Sets the sampling rate of the RealTimeMultiSampleArrayNew Measurement.
[in] | dSamplingRate | the sampling rate of the RealTimeMultiSampleArrayNew. |
Definition at line 217 of file realtimemultisamplearray_new.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. |
Implements XMEASLIB::MltChnMeasurement.
Definition at line 233 of file realtimemultisamplearray_new.cpp.