3k04 team / Mbed 2 deprecated Pacemaker

Dependencies:   mbed Queue mbed-rtos FXOS8700Q

Fork of Pacemaker by Eric dollar

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers genData.h Source File

genData.h

00001 #pragma once
00002 #include "mbed.h"
00003 
00004 class genData{
00005 public:
00006     enum Mode
00007     {
00008         VVI,
00009         VOOR 
00010     };
00011     enum State
00012     {
00013         PERMANENT,
00014         TEMPORARY
00015     };
00016     
00017     genData();
00018     ~genData();
00019     void chngHyst(bool);
00020     bool getHyst();
00021     int chngHystRL(double);
00022     double getHystRL();
00023     int chngLRL(double);
00024     double getLRL();
00025     int chngURL(double);
00026     double getURL();
00027     int chngAVdelay(double);
00028     double getAVdelay();
00029     int chngAVdelayOffset(double);
00030     double getAVdelayOffset();
00031     int chngRSmooth(double);
00032     double getRSmooth();
00033     virtual void chngMode(Mode mode);
00034     virtual Mode getMode();
00035     virtual void chngState(State state);
00036     virtual State getState();
00037     //virtual bool isMagnet();
00038     //virtual void chngMagnet(bool state);
00039 
00040 protected:
00041     double p_hysteresis;
00042     double p_hysteresisRateLimit;
00043     double p_lowerRateLimit;
00044     double p_upperRateLimit;
00045     double p_AVdelay;
00046     double p_AVdelayOffset;
00047     double p_rateSmoothing;
00048     Mode p_pacingMode;
00049     State p_pacingState;
00050     
00051 };