Ignore:
Timestamp:
Nov 25, 1999, 9:34:50 AM (26 years ago)
Author:
ansari
Message:

linux-ppc, gcc 2.95.1

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Poubelle/archTOI.old/gyrocalibrator.cc

    r555 r634  
    139139    }
    140140  }
     141 
     142  // Si nos fournisseurs ne peuvent pas, nous non plus...
     143  map<TOI, TOIProducer*> & m = (*(neededTOIs.begin())).second;
     144  for (map<TOI, TOIProducer*>::iterator i = m.begin(); i != m.end(); i++) {
     145    TOI const& inToi = (*i).first;
     146    TOIProducer* prod =  (*i).second;
     147    if (!prod->canGetValue(sampleNum, inToi) && !prod->canGetValueLater(sampleNum, inToi)) return false;
     148
     149  }
     150 
    141151  if (lastFence1<0 || lastFence2<0) return true;
    142152  if (sampleNum > lastFence2) return true;
     
    170180
    171181
    172 void GyroCalibrator::propagateLowBound(TOI const&, long /*sampleNum*/) {
     182void GyroCalibrator::propagateLowBound(TOI const& toi, long sampleNum) {
    173183   if (startSample < lastFence1) {
    174184     if (gyro[0].size() > lastFence1 - startSample) {
     
    180190     }
    181191   }
     192   TOIPullProducer::propagateLowBound(toi, sampleNum);
    182193}
    183194
Note: See TracChangeset for help on using the changeset viewer.