eric's fork test
Fork of Pacemaker by
Embed:
(wiki syntax)
Show/hide line numbers
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 void chngHystInterval(double); 00022 double getHystInterval(); 00023 void chngLRL(double); 00024 double getLRL(); 00025 void chngURL(double); 00026 double getURL(); 00027 void chngAVdelay(double); 00028 double getAVdelay(); 00029 void chngAVdelayOffset(double); 00030 double getAVdelayOffset(); 00031 void 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_hysteresisInterval; 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 };
Generated on Wed Jul 20 2022 23:08:53 by
1.7.2
Eric Tran
