MNE-CPP  beta 1.0
Public Types | Signals | Public Member Functions | Protected Member Functions | List of all members
XMEASLIB::NewMeasurement Class Reference
Inheritance diagram for XMEASLIB::NewMeasurement:
XMEASLIB::FrequencySpectrum XMEASLIB::NewNumeric XMEASLIB::NewRealTimeMultiSampleArray XMEASLIB::NewRealTimeSampleArray XMEASLIB::RealTimeCov XMEASLIB::RealTimeEvoked XMEASLIB::RealTimeSourceEstimate

Public Types

typedef QSharedPointer< NewMeasurementSPtr
 
typedef QSharedPointer< const NewMeasurementConstSPtr
 

Signals

void notify ()
 

Public Member Functions

 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
 

Protected Member Functions

void setType (int type)
 

Detailed Description

Definition at line 67 of file newmeasurement.h.

Member Typedef Documentation

typedef QSharedPointer<const NewMeasurement> XMEASLIB::NewMeasurement::ConstSPtr

Const shared pointer type for NewMeasurement.

Definition at line 72 of file newmeasurement.h.

Shared pointer type for NewMeasurement.

Definition at line 71 of file newmeasurement.h.

Constructor & Destructor Documentation

NewMeasurement::NewMeasurement ( int  type = QMetaType::UnknownType,
QObject *  parent = 0 
)
explicit

Constructs a Measurement.

Parameters
[in]typethe QMetaType id of the Measurement.
[in]parentthe parent object

Definition at line 57 of file newmeasurement.cpp.

NewMeasurement::~NewMeasurement ( )
virtual

Constructs the Measurement.

Definition at line 67 of file newmeasurement.cpp.

Member Function Documentation

const QString & XMEASLIB::NewMeasurement::getName ( ) const
inline

Returns the name of the Measurement.

Returns
the name of the Measurement.

Definition at line 154 of file newmeasurement.h.

bool XMEASLIB::NewMeasurement::isVisible ( ) const
inline

Returns whether Measurement is visible.

Returns
true if Measurement is visible, otherwise false.

Definition at line 181 of file newmeasurement.h.

void XMEASLIB::NewMeasurement::setName ( const QString &  name)
inline

Sets the name of the Measurement.

Parameters
[in]namewhich should be set.

Definition at line 172 of file newmeasurement.h.

void XMEASLIB::NewMeasurement::setType ( int  type)
inlineprotected

Sets the type of the Measurement. Use QMetaType::type("the type") to generate the type.

Parameters
[in]typethe QMetaType id of the Measurement.

Definition at line 163 of file newmeasurement.h.

void XMEASLIB::NewMeasurement::setVisibility ( bool  visibility)
inline

Sets the visibility of the Measurement, whether Measurement is visible at the display or just data are send invisible.

Parameters
[in]visibilityof the Measurement.

Definition at line 190 of file newmeasurement.h.

int XMEASLIB::NewMeasurement::type ( ) const
inline

Returns the type of the Measurement.

Returns
the type of the Measurement.

Definition at line 199 of file newmeasurement.h.


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