Changeset 604 for trunk/MagicSoft/Mars/mbase/MTaskList.cc
- Timestamp:
- 02/21/01 15:23:18 (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mbase/MTaskList.cc
r458 r604 41 41 } 42 42 43 void MTaskList::SetLogStream(MLog *log) 44 { 45 // 46 // create the Iterator over the tasklist 47 // 48 TIter Next(&fTasks); 49 50 MTask *task=NULL; 51 52 // 53 // loop over all tasks for preproccesing 54 // 55 while ( (task=(MTask*)Next()) ) 56 task->SetLogStream(log); 57 } 58 59 43 60 Bool_t MTaskList::AddToList(MTask *task, const char *type, MTask *where) 44 61 { … … 94 111 // create the Iterator over the tasklist 95 112 // 96 TIter next(&fTasks);113 TIter Next(&fTasks); 97 114 98 115 MTask *task=NULL; … … 101 118 // loop over all tasks for preproccesing 102 119 // 103 while ( (task=(MTask*) next()) )120 while ( (task=(MTask*)Next()) ) 104 121 { 105 122 cout << task->GetName() << "... " << flush; … … 123 140 // create the Iterator for the TaskList 124 141 // 125 TIter next(&fTasks);142 TIter Next(&fTasks); 126 143 MTask *task=NULL; 127 144 … … 129 146 // loop over all tasks for processing 130 147 // 131 while ( (task=(MTask*) next()) )148 while ( (task=(MTask*)Next()) ) 132 149 { 133 150 if (!strcmp(GetStreamId(), task->GetStreamId()) || … … 170 187 // create the Iterator for the TaskList 171 188 // 172 TIter next(&fTasks);189 TIter Next(&fTasks); 173 190 174 191 MTask *task=NULL; … … 177 194 // loop over all tasks for postprocessing 178 195 // 179 while ( (task=(MTask*) next()) )196 while ( (task=(MTask*)Next()) ) 180 197 { 181 198 cout << task->GetName() << "... " << flush;
Note:
See TracChangeset
for help on using the changeset viewer.