Changeset 2393 in Sophya
- Timestamp:
- May 28, 2003, 11:03:53 PM (22 years ago)
- Location:
- trunk/ArchTOIPipe
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ArchTOIPipe/Kernel/ringprocessor.cc
r2386 r2393 3 3 // Christophe Magneville 4 4 // Reza Ansari 5 // $Id: ringprocessor.cc,v 1. 2 2003-05-20 10:10:09aubourg Exp $5 // $Id: ringprocessor.cc,v 1.3 2003-05-28 21:03:52 aubourg Exp $ 6 6 7 7 #include "ringprocessor.h" … … 9 9 #include "toimanager.h" 10 10 11 #include <iostream >11 #include <iostream.h> 12 12 #include <typeinfo> // ajout pour linux 13 13 #ifdef HAVE_VALUES_H … … 55 55 void RingProcessor::afterinit() { 56 56 inRings = new (RingPipe*[inRingIx.size()]); 57 for (int i=0; i<inRingIx.size(); i++)58 inRings[i] = NULL; 57 {for (int i=0; i<inRingIx.size(); i++) 58 inRings[i] = NULL;} 59 59 outRings = new (RingPipe*[outRingIx.size()]); 60 for (int i=0; i<outRingIx.size(); i++)61 outRings[i] = NULL; 60 {for (int i=0; i<outRingIx.size(); i++) 61 outRings[i] = NULL;} 62 62 } 63 63 -
trunk/ArchTOIPipe/Kernel/toimanager.cc
r2386 r2393 3 3 // Christophe Magneville 4 4 // Reza Ansari 5 // $Id: toimanager.cc,v 1.2 2 2003-05-20 10:10:09aubourg Exp $5 // $Id: toimanager.cc,v 1.23 2003-05-28 21:03:53 aubourg Exp $ 6 6 7 7 #include "toimanager.h" … … 79 79 80 80 // demarrage 81 for (vector<TOIProcessor*>::iterator i = processors.begin();81 {for (vector<TOIProcessor*>::iterator i = processors.begin(); 82 82 i != processors.end(); i++) { 83 83 TOIProcessor* proc = *i; … … 86 86 proc->start(); 87 87 cout << "processor started " << endl; 88 } 89 90 for (vector<RingProcessor*>::iterator i = ringProcessors.begin();88 }} 89 90 {for (vector<RingProcessor*>::iterator i = ringProcessors.begin(); 91 91 i != ringProcessors.end(); i++) { 92 92 RingProcessor* proc = *i; … … 95 95 proc->start(); 96 96 cout << "processor started " << endl; 97 } 97 }} 98 98 cout << "**********************" << endl; 99 99 } -
trunk/ArchTOIPipe/SMakefile.h
r1980 r2393 24 24 25 25 26 CPPFLAGS := ${CPPFLAGS} -I${AINC} -I${EXTINCPATH}/FitsIO -DWITH_SOPHYA 26 CPPFLAGS := ${CPPFLAGS} -I${AINC} -I${EXTINCPATH}/FitsIO -DWITH_SOPHYA -I$(PIOINCDIR) 27 27 28 28 #- redefine implicit rule. Les .o sont dans $(OBJ).
Note:
See TracChangeset
for help on using the changeset viewer.