Changeset 1963 in Sophya for trunk/ArchTOIPipe/Kernel
- Timestamp:
- Apr 11, 2002, 6:12:17 PM (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ArchTOIPipe/Kernel/toiprocessor.cc
r1787 r1963 3 3 // Christophe Magneville 4 4 // Reza Ansari 5 // $Id: toiprocessor.cc,v 1.2 1 2001-11-26 15:13:48aubourg Exp $5 // $Id: toiprocessor.cc,v 1.22 2002-04-11 16:12:17 aubourg Exp $ 6 6 7 7 #include "toiprocessor.h" … … 167 167 throw RangeCheckError("TOIProcessor::getOutputTOI() out of bound toiIndex"); 168 168 TOI* toi = outTOIs[toiIndex]; 169 if (toi == NULL)170 throw NullPtrError("TOIProcessor::getOutputTOI() - Not assigned TOI !");169 // if (toi == NULL) 170 // throw NullPtrError("TOIProcessor::getOutputTOI() - Not assigned TOI !"); 171 171 return(toi); 172 172 } … … 392 392 void TOIProcessor::putData(int toiIndex, int i, double value, uint_8 flg) { 393 393 TOI* toi = getOutputTOI(toiIndex); 394 if (toi == NULL) return; 394 395 toi->putData(i, value, flg); 395 396 // autoWontNeed(i); // now done on getData … … 400 401 uint_8 const* flg) { 401 402 TOI* toi = getOutputTOI(toiIndex); 403 if (toi == NULL) return; 402 404 toi->putData(i, n, val, flg); 403 405 if (toi->needSyncOldWay()) notify(); // seulement pour non segmented
Note:
See TracChangeset
for help on using the changeset viewer.