judo ~
/
Assignment2
yolo
Fork of Assignment2 by
Diff: PaceHeart.h
- Revision:
- 6:9b8fee13549c
- Parent:
- 5:45d58f8a5912
--- a/PaceHeart.h Mon Nov 14 21:36:01 2016 +0000 +++ b/PaceHeart.h Mon Nov 14 22:47:00 2016 +0000 @@ -10,8 +10,9 @@ int p_pacingMode; int p_hysteresis; int p_hysteresisInterval; - int lowrateInterval; - int uprateInterval; //upper rate limit + double p_lowrateInterval; + double p_uprateInterval; //upper rate limit + double p_maxSensorRate; //Ventricle double p_vPaceAmp; double p_vPaceWidth; @@ -20,10 +21,10 @@ double p_aPaceAmp; double p_aPaceWidth; int p_ARP; - int activityThresh; - int reactionTime; - int responseFactor; - int recoveryTime; + int p_activityThresh; + int p_reactionTime; + int p_responseFactor; + int p_recoveryTime; public: PaceHeart(); PaceHeart(int mode); @@ -39,10 +40,12 @@ void set_p_hysteresis(int x); int get_p_hysteresisInterval(); void set_p_hysteresisInterval(int x); -int get_lowrateInterval(); -void set_lowrateInterval(int x); -int get_uprateInterval(); -void set_uprateInterval(int x); +double get_p_lowrateInterval(); +void set_p_lowrateInterval(double x); +double get_p_uprateInterval(); +void set_p_uprateInterval(double x); +double get_p_maxSensorRate(); +void set_p_maxSensorRate(double x); double get_p_vPaceAmp(); void set_p_vPaceAmp(double x); double get_p_vPaceWidth(); @@ -55,13 +58,13 @@ void set_p_aPaceWidth(double x); int get_p_ARP(); void set_p_ARP(int x); -int get_activityThresh(); -int get_reactionTime(); -int get_responseFactor(); -int get_recoveryTime(); -void set_activityThresh(); -void set_reactionTime(); -void set_responseFactor(); -void set_recoveryTime(); +int get_p_activityThresh(); +int get_p_reactionTime(); +int get_p_responseFactor(); +int get_p_recoveryTime(); +void set_p_activityThresh(int x); +void set_p_reactionTime(int x); +void set_p_responseFactor(int x); +void set_p_recoveryTime(int x); }; #endif \ No newline at end of file