MNE-CPP  beta 1.0
Public Types | Public Member Functions | Protected Member Functions | List of all members
ECGSimulatorPlugin::ECGProducer Class Reference

The ECGProducer class provides a ECG data producer for a given sampling rate. More...

#include <ecgproducer.h>

Inheritance diagram for ECGSimulatorPlugin::ECGProducer:

Public Types

typedef QSharedPointer< ECGProducerSPtr
 
typedef QSharedPointer< const ECGProducerConstSPtr
 

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 ()
 

Detailed Description

The ECGProducer class provides a ECG data producer for a given sampling rate.

DECLARE CLASS ECGProducer

Definition at line 87 of file ecgproducer.h.

Member Typedef Documentation

Const shared pointer type for ECGProducer.

Definition at line 91 of file ecgproducer.h.

Shared pointer type for ECGProducer.

Definition at line 90 of file ecgproducer.h.

Constructor & Destructor Documentation

ECGProducer::ECGProducer ( ECGSimulator simulator,
dBuffer::SPtr &  buffer_I,
dBuffer::SPtr &  buffer_II,
dBuffer::SPtr &  buffer_III 
)

Constructs a ECGProducer.

Parameters
[in]simulatora pointer to the corresponding ECGSimulator.
[in]buffer_Ia pointer to the buffer to which the ECGProducer should write the generated data for ECG I.
[in]buffer_IIa pointer to the buffer to which the ECGProducer should write the generated data for ECG II.
[in]buffer_IIIa 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.

Member Function Documentation

void ECGProducer::run ( )
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.


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