// Prompts the user to input times and temps void CurveInput::getCurvePoints() { for ( int i = 1; i < 5; i++ ) // need 4 points { times[i] = getTimePoint(i); temps[i] = getTempPoint(i); } delay(SELECT_DURATION); }
void SoftwareTimerSupervisor::tickInterruptHandler(const TickClock::time_point timePoint) { // execute all software timers that reached their time point auto iterator = activeList_.begin(); while (iterator != activeList_.end() && iterator->getTimePoint() <= timePoint) { iterator->run(); iterator = SoftwareTimerList::erase(iterator); } }