Ignore:
Timestamp:
02/21/01 15:23:18 (24 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mbase/MTaskList.cc

    r458 r604  
    4141}
    4242
     43void 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
    4360Bool_t MTaskList::AddToList(MTask *task, const char *type, MTask *where)
    4461{
     
    94111    //  create the Iterator over the tasklist
    95112    //
    96     TIter next(&fTasks);
     113    TIter Next(&fTasks);
    97114
    98115    MTask *task=NULL;
     
    101118    // loop over all tasks for preproccesing
    102119    //
    103     while ( (task=(MTask*)next()) )
     120    while ( (task=(MTask*)Next()) )
    104121    {
    105122        cout << task->GetName() << "... " << flush;
     
    123140  //  create the Iterator for the TaskList
    124141  //
    125   TIter next(&fTasks);
     142  TIter Next(&fTasks);
    126143  MTask *task=NULL;
    127144   
     
    129146  // loop over all tasks for processing
    130147  //
    131   while ( (task=(MTask*)next()) )
     148  while ( (task=(MTask*)Next()) )
    132149  {
    133150      if (!strcmp(GetStreamId(), task->GetStreamId()) ||
     
    170187  //  create the Iterator for the TaskList
    171188  //
    172   TIter next(&fTasks);
     189  TIter Next(&fTasks);
    173190 
    174191  MTask *task=NULL;
     
    177194  //  loop over all tasks for postprocessing
    178195  // 
    179   while ( (task=(MTask*)next()) )
     196  while ( (task=(MTask*)Next()) )
    180197  {
    181198      cout << task->GetName() << "... " << flush;
Note: See TracChangeset for help on using the changeset viewer.