Ignore:
Timestamp:
06/16/03 13:45:01 (21 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/mbase
Files:
2 added
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mbase/BaseLinkDef.h

    r2173 r2178  
    1616
    1717#pragma link C++ class MIter+;
     18#pragma link C++ class MDirIter+;
    1819
    1920#pragma link C++ class MTask+;
  • trunk/MagicSoft/Mars/mbase/MParList.cc

    r2173 r2178  
    472472    if (!pcont)
    473473    {
    474         *fLog << err << dbginf << "Cannot create new instance of class '" << cname << "' (Maybe no def. constructor)" << endl;
     474        *fLog << err << dbginf << "Cannot create new instance of class '" << cname << "' Possible reasons:" << endl;
     475        *fLog << " - Class has no default constructor." << endl;
     476        *fLog << " - An abstract member functions of a base class is not overwritten." << endl;
    475477        return NULL;
    476478    }
  • trunk/MagicSoft/Mars/mbase/MTaskInteractive.cc

    r2173 r2178  
    2626//
    2727// MTaskInteractive
     28//
     29// If you want to create a new task inside a macro you will have to compile
     30// your macro using macro.C++, because the root interpreter cannot use
     31// uncompiled classes. To workaround this problem you can write simple
     32// funcions (which can be handled by CINT) and use MTaskInteractive.
     33//
     34// This is a simple way to develop new code in a macro without need
     35// to compile it.
    2836//
    2937//  Input Containers:
     
    7785
    7886    Long_t result;
    79     fCall[no]->Execute(params, result);
     87    fCall[no]->SetParamPtrs(params);
     88    fCall[no]->Execute(result);
     89
    8090    return result;
    8191}
  • trunk/MagicSoft/Mars/mbase/MTaskList.cc

    r2173 r2178  
    6060
    6161#include <TClass.h>
     62#include <TSystem.h>        // gSystem
    6263#include <TOrdCollection.h>
    6364
     
    365366
    366367        case kTRUE:
     368            // Handle GUI events (display changes, mouse clicks)
     369            if (fDisplay)
     370                gSystem->ProcessEvents();
    367371            continue;
    368372
     
    461465            //
    462466            rc = kFALSE;
     467            *fLog << inf << task->GetDescriptor() << " has stopped execution of " << GetDescriptor() << "." << endl;
    463468            break;
    464469
     
    531536        if (!task->CallPostProcess())
    532537            return kFALSE;
     538
     539        // Handle GUI events (display changes, mouse clicks)
     540        if (fDisplay)
     541            gSystem->ProcessEvents();
    533542    }
    534543
  • trunk/MagicSoft/Mars/mbase/Makefile

    r2156 r2178  
    4343           MEvtLoop.cc \
    4444           MIter.cc \
     45           MDirIter.cc \
    4546           MGList.cc \
    4647           MGTask.cc \
Note: See TracChangeset for help on using the changeset viewer.