MNE-CPP  beta 1.0
Public Types | Public Member Functions | List of all members
XMEASLIB::NewRealTimeMultiSampleArray Class Reference

The RealTimeMultiSampleArrayNew class is the base class of every RealTimeMultiSampleArrayNew Measurement. More...

#include <newrealtimemultisamplearray.h>

Inheritance diagram for XMEASLIB::NewRealTimeMultiSampleArray:
XMEASLIB::NewMeasurement

Public Types

typedef QSharedPointer< NewRealTimeMultiSampleArraySPtr
 
typedef QSharedPointer< const NewRealTimeMultiSampleArrayConstSPtr
 
- Public Types inherited from XMEASLIB::NewMeasurement
typedef QSharedPointer< NewMeasurementSPtr
 
typedef QSharedPointer< const NewMeasurementConstSPtr
 

Public Member Functions

 NewRealTimeMultiSampleArray (QObject *parent=0)
 
virtual ~NewRealTimeMultiSampleArray ()
 
void clear ()
 
void init (QList< RealTimeSampleArrayChInfo > &chInfo)
 
void initFromFiffInfo (FiffInfo::SPtr &p_pFiffInfo)
 
bool isChInit () const
 
const QString & getXMLLayoutFile () const
 
void setXMLLayoutFile (const QString &layout)
 
void setSamplingRate (double dSamplingRate)
 
double getSamplingRate () const
 
unsigned int getNumChannels () const
 
QList< RealTimeSampleArrayChInfo > & chInfo ()
 
FiffInfo::SPtrinfo ()
 
void setMultiArraySize (qint32 iMultiArraySize)
 
qint32 getMultiArraySize () const
 
const QList< MatrixXd > & getMultiSampleArray ()
 
virtual void setValue (const MatrixXd &mat)
 
- Public Member Functions inherited from XMEASLIB::NewMeasurement
 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

- Signals inherited from XMEASLIB::NewMeasurement
void notify ()
 
- Protected Member Functions inherited from XMEASLIB::NewMeasurement
void setType (int type)
 

Detailed Description

The RealTimeMultiSampleArrayNew class is the base class of every RealTimeMultiSampleArrayNew Measurement.

DECLARE CLASS NewRealTimeMultiSampleArray -> ToDo check feasibilty of QAbstractTableModel

Definition at line 87 of file newrealtimemultisamplearray.h.

Member Typedef Documentation

Const shared pointer type for NewRealTimeMultiSampleArray.

Definition at line 92 of file newrealtimemultisamplearray.h.

Shared pointer type for NewRealTimeMultiSampleArray.

Definition at line 91 of file newrealtimemultisamplearray.h.

Constructor & Destructor Documentation

NewRealTimeMultiSampleArray::NewRealTimeMultiSampleArray ( QObject *  parent = 0)
explicit

Constructs a RealTimeMultiSampleArrayNew.

Definition at line 65 of file newrealtimemultisamplearray.cpp.

NewRealTimeMultiSampleArray::~NewRealTimeMultiSampleArray ( )
virtual

Destroys the RealTimeMultiSampleArrayNew.

Definition at line 76 of file newrealtimemultisamplearray.cpp.

Member Function Documentation

QList< RealTimeSampleArrayChInfo > & XMEASLIB::NewRealTimeMultiSampleArray::chInfo ( )
inline

Returns the reference to the channel list.

Returns
the reference to the channel list.

Definition at line 315 of file newrealtimemultisamplearray.h.

void XMEASLIB::NewRealTimeMultiSampleArray::clear ( )
inline

Clears all the data stored in the buffer.

Definition at line 252 of file newrealtimemultisamplearray.h.

qint32 XMEASLIB::NewRealTimeMultiSampleArray::getMultiArraySize ( ) const
inline

Returns the number of values which should be gathered before attached observers are notified by calling the Subject notify() method.

Returns
the number of values which are gathered before a notify() is called.

Definition at line 346 of file newrealtimemultisamplearray.h.

const QList< MatrixXd > & XMEASLIB::NewRealTimeMultiSampleArray::getMultiSampleArray ( )
inline

Returns the gathered multi sample array.

Returns
the current multi sample array.

Definition at line 355 of file newrealtimemultisamplearray.h.

unsigned int XMEASLIB::NewRealTimeMultiSampleArray::getNumChannels ( ) const
inline

Returns the number of channels.

Returns
the number of values which are gathered before a notify() is called.

Definition at line 306 of file newrealtimemultisamplearray.h.

double XMEASLIB::NewRealTimeMultiSampleArray::getSamplingRate ( ) const
inline

Returns the sampling rate of the RealTimeMultiSampleArrayNew Measurement.

Returns
the sampling rate of the RealTimeMultiSampleArrayNew.

Definition at line 297 of file newrealtimemultisamplearray.h.

const QString & XMEASLIB::NewRealTimeMultiSampleArray::getXMLLayoutFile ( ) const
inline

Returns the file name of the xml layout file.

Returns
the file name of the layout file.

Definition at line 270 of file newrealtimemultisamplearray.h.

FiffInfo::SPtr & XMEASLIB::NewRealTimeMultiSampleArray::info ( )
inline

Returns the reference to the orig FiffInfo.

Returns
the reference to the orig FiffInfo.

Definition at line 324 of file newrealtimemultisamplearray.h.

void NewRealTimeMultiSampleArray::init ( QList< RealTimeSampleArrayChInfo > &  chInfo)

Inits RealTimeMultiSampleArrayNew and adds uiNumChannels empty channel information

Parameters
[in]uiNumChannelsthe number of channels to init.

Definition at line 84 of file newrealtimemultisamplearray.cpp.

void NewRealTimeMultiSampleArray::initFromFiffInfo ( FiffInfo::SPtr p_pFiffInfo)

Init channel infos using fiff info

Parameters
[in]p_pFiffInfoInfo to init from

Definition at line 104 of file newrealtimemultisamplearray.cpp.

bool XMEASLIB::NewRealTimeMultiSampleArray::isChInit ( ) const
inline

Returns whether channel info is initialized

Returns
true whether the channel info is available.

Definition at line 261 of file newrealtimemultisamplearray.h.

void XMEASLIB::NewRealTimeMultiSampleArray::setMultiArraySize ( qint32  iMultiArraySize)
inline

Sets the number of sample vectors which should be gathered before attached observers are notified by calling the Subject notify() method.

Parameters
[in]iMultiArraySizethe number of values.

Definition at line 333 of file newrealtimemultisamplearray.h.

void XMEASLIB::NewRealTimeMultiSampleArray::setSamplingRate ( double  dSamplingRate)
inline

Sets the sampling rate of the RealTimeMultiSampleArrayNew Measurement.

Parameters
[in]dSamplingRatethe sampling rate of the RealTimeMultiSampleArrayNew.

Definition at line 288 of file newrealtimemultisamplearray.h.

void NewRealTimeMultiSampleArray::setValue ( const MatrixXd &  mat)
virtual

Attaches a value to the sample array list.

Parameters
[in]matthe value which is attached to the sample array list.

Definition at line 239 of file newrealtimemultisamplearray.cpp.

void XMEASLIB::NewRealTimeMultiSampleArray::setXMLLayoutFile ( const QString &  layout)
inline

Sets the file name of the xml layout.

Parameters
[in]layoutwhich should be set.

Definition at line 279 of file newrealtimemultisamplearray.h.


The documentation for this class was generated from the following files: