Changeset 2448 in Sophya for trunk/ArchTOIPipe/Kernel/toiprocessor.h
- Timestamp:
- Oct 13, 2003, 10:48:37 PM (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ArchTOIPipe/Kernel/toiprocessor.h
r2187 r2448 5 5 // Christophe Magneville 6 6 // Reza Ansari 7 // $Id: toiprocessor.h,v 1.2 0 2002-09-09 15:33:15aubourg Exp $7 // $Id: toiprocessor.h,v 1.21 2003-10-13 20:48:37 aubourg Exp $ 8 8 9 9 … … 48 48 virtual void run(); 49 49 50 virtual intgetMinOut();51 virtual intgetMaxOut();50 virtual long getMinOut(); 51 virtual long getMaxOut(); 52 52 53 53 // rajout vf 29/07/2002 … … 71 71 #ifndef NO_SOPHYA 72 72 /* ---- l'interface va etre modifiee, NE PAS UTILISER 73 Array getData(int toiIndex, int iStart, intiEnd);74 Array getError(int toiIndex, int iStart, intiEnd);75 TArray<int_4> getFlag(int toiIndex, int iStart, intiEnd);73 Array getData(int toiIndex, long iStart, long iEnd); 74 Array getError(int toiIndex, long iStart, long iEnd); 75 TArray<int_4> getFlag(int toiIndex, long iStart, long iEnd); 76 76 l'interface va etre modifiee, NE PAS UTILISER ---- */ 77 77 #endif … … 80 80 // Les methodes qui suivent ne peuvent etre 81 81 // utilisees que sur des entrees simples 82 double getData(int toiIndex, inti);83 void getData(int toiIndex, inti, double &data, uint_8 &flag);84 85 void getData(int toiIndex, int i, intn, double* d);86 void getData(int toiIndex, int i, intn, double* d, uint_8* f);87 88 //RZCMV double getError(int toiIndex, inti);89 //RZCMV int_4 getFlag(int toiIndex, inti);90 91 void wontNeedBefore( inti);92 intwontNeedValue;93 void setNeededHistory( intnsamples); // -1 : disable94 95 void putData(int toiIndex, inti, double value, uint_8 flag=0);96 //RZCMV void putDataError(int toiIndex, inti, double value,82 double getData(int toiIndex, long i); 83 void getData(int toiIndex, long i, double &data, uint_8 &flag); 84 85 void getData(int toiIndex, long i, long n, double* d); 86 void getData(int toiIndex, long i, long n, double* d, uint_8* f); 87 88 //RZCMV double getError(int toiIndex, long i); 89 //RZCMV int_4 getFlag(int toiIndex, long i); 90 91 void wontNeedBefore(long i); 92 long wontNeedValue; 93 void setNeededHistory(long nsamples); // -1 : disable 94 95 void putData(int toiIndex, long i, double value, uint_8 flag=0); 96 //RZCMV void putDataError(int toiIndex, long i, double value, 97 97 //RZCMV double error, int_4 flag=0); 98 98 99 void putData(int toiIndex, int i, intn, double const* val,99 void putData(int toiIndex, long i, long n, double const* val, 100 100 uint_8 const* flg=0); 101 101 … … 103 103 public: 104 104 // Methodes passees en public par Reza, 14/5/2002 105 virtual intcalcMinOut(); // Protected ?106 virtual intcalcMaxOut(); // Protected ?107 108 virtual intgetMinIn();109 virtual intgetMaxIn();105 virtual long calcMinOut(); // Protected ? 106 virtual long calcMaxOut(); // Protected ? 107 108 virtual long getMinIn(); 109 virtual long getMaxIn(); 110 110 protected: 111 111 // Implementation par defaut 112 intminOut; // Cache for calcMinOut() value. Protected ?113 intmaxOut; // Cache for calcMaxOut() value. Protected ?112 long minOut; // Cache for calcMinOut() value. Protected ? 113 long maxOut; // Cache for calcMaxOut() value. Protected ? 114 114 115 115 int upExtra; // MaxIn - MaxOut : extra samples for processing 116 116 int lowExtra; // MinOut - MinIn : extra samples for processing 117 117 118 intforcedMinIn; // to process a subset of data119 intforcedMaxIn; // to process a subset of data120 void setSampleSubset( int min, intmax);118 long forcedMinIn; // to process a subset of data 119 long forcedMaxIn; // to process a subset of data 120 void setSampleSubset(long min, long max); 121 121 122 122 int neededHistory; … … 134 134 // Fin rajout Reza 11/3/2001 135 135 136 void autoWontNeed( intiCur);137 intlastAWN;136 void autoWontNeed(long iCur); 137 long lastAWN; 138 138 139 139 … … 158 158 virtual ~TOIProcessor(); 159 159 160 void setMinSn( intn) {forcedMinIn = n;}161 void setMaxSn( intn) {forcedMaxIn = n;}160 void setMinSn(long n) {forcedMinIn = n;} 161 void setMaxSn(long n) {forcedMaxIn = n;} 162 162 163 163 // ajout vf 23/08/2002
Note:
See TracChangeset
for help on using the changeset viewer.