MNE-CPP
beta 1.0
|
The ECGProducer class provides a ECG data producer for a given sampling rate. More...
#include <ecgproducer.h>
Public Types | |
typedef QSharedPointer< ECGProducer > | SPtr |
typedef QSharedPointer< const ECGProducer > | ConstSPtr |
Public Member Functions | |
ECGProducer (ECGSimulator *simulator, dBuffer::SPtr &buffer_I, dBuffer::SPtr &buffer_II, dBuffer::SPtr &buffer_III) | |
~ECGProducer () | |
void | stop () |
Protected Member Functions | |
virtual void | run () |
The ECGProducer class provides a ECG data producer for a given sampling rate.
DECLARE CLASS ECGProducer
Definition at line 87 of file ecgproducer.h.
typedef QSharedPointer<const ECGProducer> ECGSimulatorPlugin::ECGProducer::ConstSPtr |
Const shared pointer type for ECGProducer.
Definition at line 91 of file ecgproducer.h.
typedef QSharedPointer<ECGProducer> ECGSimulatorPlugin::ECGProducer::SPtr |
Shared pointer type for ECGProducer.
Definition at line 90 of file ecgproducer.h.
ECGProducer::ECGProducer | ( | ECGSimulator * | simulator, |
dBuffer::SPtr & | buffer_I, | ||
dBuffer::SPtr & | buffer_II, | ||
dBuffer::SPtr & | buffer_III | ||
) |
Constructs a ECGProducer.
[in] | simulator | a pointer to the corresponding ECGSimulator. |
[in] | buffer_I | a pointer to the buffer to which the ECGProducer should write the generated data for ECG I. |
[in] | buffer_II | a pointer to the buffer to which the ECGProducer should write the generated data for ECG II. |
[in] | buffer_III | a pointer to the buffer to which the ECGProducer should write the generated data for ECG III. |
Definition at line 60 of file ecgproducer.cpp.
ECGProducer::~ECGProducer | ( | ) |
Destroys the ECGProducer.
Definition at line 74 of file ecgproducer.cpp.
|
protectedvirtual |
The starting point for the thread. After calling start(), the newly created thread calls this function. Returning from this method will end the execution of the thread. Pure virtual method inherited by QThread.
Definition at line 91 of file ecgproducer.cpp.
void ECGProducer::stop | ( | ) |
Stops the ECGProducer by stopping the producer's thread.
Definition at line 82 of file ecgproducer.cpp.