Changeset 1270 for trunk/MagicSoft/Mars/mbase
- Timestamp:
- 04/05/02 14:17:06 (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mbase/MTaskList.cc
r1132 r1270 57 57 #include "MTaskList.h" 58 58 59 #include <TClass.h> 59 60 #include <TOrdCollection.h> 60 61 … … 266 267 fParList = pList; 267 268 269 fTasksProcess.Delete(); 270 268 271 // 269 272 // create the Iterator over the tasklist … … 279 282 { 280 283 *fLog << all << task->GetName() << "... " << flush; 284 285 TClass *cls=NULL; 286 TIter NextBase(task->IsA()->GetListOfBases()); 287 while ((cls=(TClass*)NextBase())) 288 { 289 if (cls->GetName()=="MTask") 290 break; 291 292 if (!cls->GetMethodAny("Process")) 293 continue; 294 295 fTasksProcess.Add(task); 296 break; 297 } 281 298 282 299 switch (task->CallPreProcess(fParList)) … … 322 339 // create the Iterator for the TaskList 323 340 // 324 TIter Next( fTasks);341 TIter Next(&fTasksProcess); 325 342 MTask *task=NULL; 326 343
Note:
See TracChangeset
for help on using the changeset viewer.