Changeset 1742 in Sophya for trunk/ArchTOIPipe/Kernel/toiprocessor.cc
- Timestamp:
- Nov 10, 2001, 12:13:15 AM (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ArchTOIPipe/Kernel/toiprocessor.cc
r1740 r1742 3 3 // Christophe Magneville 4 4 // Reza Ansari 5 // $Id: toiprocessor.cc,v 1.1 4 2001-11-08 23:23:58aubourg Exp $5 // $Id: toiprocessor.cc,v 1.15 2001-11-09 23:13:15 aubourg Exp $ 6 6 7 7 #include "toiprocessor.h" … … 321 321 if (toi->needSyncOldWay()) toi->waitForData(i); // seulement pour autre que segmented 322 322 toi->getData(i, data, flag); 323 autoWontNeed(i); 323 324 return; 324 325 } 326 327 void TOIProcessor::getData(int toiIndex, int i, int n, double* d) 328 { 329 TOI* toi = getInputTOI(toiIndex); 330 if (toi->needSyncOldWay()) toi->waitForData(i+n); // seulement pour autre que segmented 331 toi->getData(i, n, d); 332 autoWontNeed(i); 333 return; 334 } 335 336 void TOIProcessor::getData(int toiIndex, int i, int n, double* d, uint_8* f) 337 { 338 TOI* toi = getInputTOI(toiIndex); 339 if (toi->needSyncOldWay()) toi->waitForData(i+n); // seulement pour autre que segmented 340 toi->getData(i, n, d, f); 341 autoWontNeed(i); 342 return; 343 } 344 325 345 326 346 /*RZCMV … … 369 389 TOI* toi = getOutputTOI(toiIndex); 370 390 toi->putData(i, value, flg); 371 autoWontNeed(i); 391 // autoWontNeed(i); // now done on getData 392 if (toi->needSyncOldWay()) notify(); // seulement pour non segmented 393 } 394 395 void TOIProcessor::putData(int toiIndex, int i, int n, double const* val, 396 uint_8 const* flg=0) { 397 TOI* toi = getOutputTOI(toiIndex); 398 toi->putData(i, n, val, flg); 372 399 if (toi->needSyncOldWay()) notify(); // seulement pour non segmented 373 400 }
Note:
See TracChangeset
for help on using the changeset viewer.