Changeset 1963 in Sophya for trunk/ArchTOIPipe/Kernel


Ignore:
Timestamp:
Apr 11, 2002, 6:12:17 PM (23 years ago)
Author:
aubourg
Message:

new output for wiener, unconnected outs ok in processor

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ArchTOIPipe/Kernel/toiprocessor.cc

    r1787 r1963  
    33//                               Christophe Magneville
    44//                               Reza Ansari
    5 // $Id: toiprocessor.cc,v 1.21 2001-11-26 15:13:48 aubourg Exp $
     5// $Id: toiprocessor.cc,v 1.22 2002-04-11 16:12:17 aubourg Exp $
    66
    77#include "toiprocessor.h"
     
    167167    throw RangeCheckError("TOIProcessor::getOutputTOI() out of bound toiIndex");
    168168  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 !");
    171171  return(toi);
    172172}
     
    392392void TOIProcessor::putData(int toiIndex, int i, double value, uint_8 flg) {
    393393  TOI* toi = getOutputTOI(toiIndex);
     394  if (toi == NULL) return;
    394395  toi->putData(i, value, flg);
    395396  // autoWontNeed(i);  // now done on getData
     
    400401                           uint_8 const* flg) {
    401402  TOI* toi = getOutputTOI(toiIndex);
     403  if (toi == NULL) return;
    402404  toi->putData(i, n, val, flg);
    403405  if (toi->needSyncOldWay())  notify(); // seulement pour non segmented
Note: See TracChangeset for help on using the changeset viewer.