eric's fork test

Dependencies:   mbed-rtos mbed

Fork of Pacemaker by 3k04 team

genData.cpp

Committer:
FiveDollar
Date:
2016-10-30
Revision:
0:b2b3955cd77b
Child:
2:fbba2687ddfe

File content as of revision 0:b2b3955cd77b:

#pragma once
#include "mbed.h"
#include "genData.h"

genData::genData(){
    p_hysteresis = false;
    p_hysteresisInterval = 0;
    p_lowerRateLimit = 0;
    p_upperRateLimit = 0;
    p_AVdelay = 0;
    p_AVdelayOffset = 0;
    p_rateSmoothing = 0;
    p_pacingMode = VVI;
    p_pacingState = PERMANENT;
}

void genData::chngMode(Mode mode){
    p_pacingMode = mode;
}

genData::Mode genData::getMode(){
    return p_pacingMode;
}

void genData::chngState(State state){
    p_pacingState = state;
}

genData::State genData::getState(){
    return p_pacingState;
}



genData::~genData(){}