MNE-CPP
beta 1.0
|
The ECGChannel class provides a ECG channel. More...
#include <ecgsimchannel.h>
Public Types | |
typedef QSharedPointer< ECGSimChannel > | SPtr |
typedef QSharedPointer< const ECGSimChannel > | ConstSPtr |
Public Member Functions | |
ECGSimChannel (QString ResourceDataPath, QString ChannelFile, bool enabled=true, bool visible=true) | |
virtual | ~ECGSimChannel () |
void | setResourceDataPath (QString &path) |
const QString & | getResourceDataPath () |
void | setChannelFile (QString file) |
const QString & | getChannelFile () |
const QVector< double > & | getSamples () |
void | setEnabled (bool enabled) |
bool | isEnabled () |
void | setVisible (bool visible) |
bool | isVisible () |
double | getMinimum () |
double | getMaximum () |
void | initChannel () |
void | clear () |
The ECGChannel class provides a ECG channel.
DECLARE CLASS ECGChannel
Definition at line 84 of file ecgsimchannel.h.
typedef QSharedPointer<const ECGSimChannel> ECGSimulatorPlugin::ECGSimChannel::ConstSPtr |
Const shared pointer type for ECGSimChannel.
Definition at line 88 of file ecgsimchannel.h.
typedef QSharedPointer<ECGSimChannel> ECGSimulatorPlugin::ECGSimChannel::SPtr |
Shared pointer type for ECGSimChannel.
Definition at line 87 of file ecgsimchannel.h.
ECGSimChannel::ECGSimChannel | ( | QString | ResourceDataPath, |
QString | ChannelFile, | ||
bool | enabled = true , |
||
bool | visible = true |
||
) |
Constructs a ECGSimChannel.
[in] | ResourceDataPath | a string which holds the resource directory where the files are stored which could be used to simulate a channel. |
[in] | ChannelFile | a string to a specific file which should be used initially. |
[in] | enabled | whether the channel should be initial enabled. |
[in] | visible | whether the channel should be initial visible. |
Definition at line 67 of file ecgsimchannel.cpp.
|
virtual |
Destroys the ECGSimChannel.
Definition at line 79 of file ecgsimchannel.cpp.
void ECGSimChannel::clear | ( | ) |
Clears the simulation channel.
Definition at line 122 of file ecgsimchannel.cpp.
|
inline |
Returns the file which should be used to simulate the channel.
Definition at line 252 of file ecgsimchannel.h.
|
inline |
Returns the maximum of all simulation sample values.
Definition at line 308 of file ecgsimchannel.h.
|
inline |
Returns the minimum of all simulation sample values.
Definition at line 300 of file ecgsimchannel.h.
|
inline |
Returns the resource directory where the simulation files are stored.
Definition at line 236 of file ecgsimchannel.h.
|
inline |
Returns the samples for simulation.
Definition at line 260 of file ecgsimchannel.h.
void ECGSimChannel::initChannel | ( | ) |
Initializes the simulation channel.
Definition at line 86 of file ecgsimchannel.cpp.
|
inline |
Returns whether channel is enabled.
Definition at line 276 of file ecgsimchannel.h.
|
inline |
Returns whether channel is visible.
Definition at line 292 of file ecgsimchannel.h.
|
inline |
Sets the file which should be used to simulate the channel.
[in] | file | a string which specifies the file which should be used to simulate the channel. |
Definition at line 244 of file ecgsimchannel.h.
|
inline |
Sets whether channel is enabled.
[in] | enabled | the parameter which enables the channel. |
Definition at line 268 of file ecgsimchannel.h.
|
inline |
Sets the resource directory where the simulation files are stored.
[in] | path | a string which holds the path to the folder where the files are stored which could be used to simulate a channel. |
Definition at line 228 of file ecgsimchannel.h.
|
inline |
Sets whether channel is visible.
[in] | visible | the parameter which declares the channel visible. |
Definition at line 284 of file ecgsimchannel.h.