Changeset 2052 for trunk/MagicSoft/Mars/mbase/MTaskList.cc
- Timestamp:
- 05/02/03 08:56:31 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mbase/MTaskList.cc
r2015 r2052 65 65 #include "MLogManip.h" 66 66 67 #include "MIter.h" 67 68 #include "MFilter.h" 68 69 #include "MParList.h" … … 288 289 MTask *task=NULL; 289 290 // 290 // loop over all tasks for preproccesing291 // loop over all tasks for reinitialization 291 292 // 292 293 while ((task=(MTask*)Next())) … … 330 331 { 331 332 *fLog << all << "Preprocessing... " << flush; 333 if (fDisplay) 334 { 335 // Set status lines 336 fDisplay->SetStatusLine1("PreProcessing..."); 337 fDisplay->SetStatusLine2(""); 338 } 332 339 333 340 fParList = pList; … … 347 354 while ((task=(MTask*)Next())) 348 355 { 349 *fLog << all << task->GetName() << "... " << flush;350 if (fDisplay)351 fDisplay->SetStatusLine2(*task);352 353 356 // 354 357 // PreProcess the task and check for it's return value. … … 494 497 { 495 498 *fLog << all << "Postprocessing... " << flush; 499 if (fDisplay) 500 { 501 // Set status lines 502 fDisplay->SetStatusLine1("PostProcessing..."); 503 fDisplay->SetStatusLine2(""); 504 } 496 505 497 506 // … … 518 527 while ( (task=(MTask*)Next()) ) 519 528 { 520 *fLog << all << task->GetName() << "... " << flush;521 if (fDisplay)522 fDisplay->SetStatusLine2(*task);523 524 529 if (!task->CallPostProcess()) 525 530 return kFALSE; … … 602 607 out << ";" << endl << endl; 603 608 604 TIter Next(fTasks);609 MIter Next(fTasks); 605 610 606 611 MParContainer *cont = NULL; 607 while ((cont= (MParContainer*)Next()))612 while ((cont=Next())) 608 613 { 609 614 cont->SavePrimitive(out, ""); … … 654 659 MParContainer *cont = NULL; 655 660 656 TIter Next(fTasks);657 while ((cont= (MParContainer*)Next()))661 MIter Next(fTasks); 662 while ((cont=Next())) 658 663 { 659 664 if (cont->InheritsFrom("MTaskList")) … … 730 735 MParContainer *cont = NULL; 731 736 732 TIter Next(fTasks);733 while ((cont= (MParContainer*)Next()))737 MIter Next(fTasks); 738 while ((cont=Next())) 734 739 if (!cont->WriteEnv(env, prefix, print)) 735 740 return kFALSE;
Note:
See TracChangeset
for help on using the changeset viewer.