Changeset 2178 for trunk/MagicSoft/Mars/mbase
- Timestamp:
- 06/16/03 13:45:01 (21 years ago)
- Location:
- trunk/MagicSoft/Mars/mbase
- Files:
-
- 2 added
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mbase/BaseLinkDef.h
r2173 r2178 16 16 17 17 #pragma link C++ class MIter+; 18 #pragma link C++ class MDirIter+; 18 19 19 20 #pragma link C++ class MTask+; -
trunk/MagicSoft/Mars/mbase/MParList.cc
r2173 r2178 472 472 if (!pcont) 473 473 { 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; 475 477 return NULL; 476 478 } -
trunk/MagicSoft/Mars/mbase/MTaskInteractive.cc
r2173 r2178 26 26 // 27 27 // 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. 28 36 // 29 37 // Input Containers: … … 77 85 78 86 Long_t result; 79 fCall[no]->Execute(params, result); 87 fCall[no]->SetParamPtrs(params); 88 fCall[no]->Execute(result); 89 80 90 return result; 81 91 } -
trunk/MagicSoft/Mars/mbase/MTaskList.cc
r2173 r2178 60 60 61 61 #include <TClass.h> 62 #include <TSystem.h> // gSystem 62 63 #include <TOrdCollection.h> 63 64 … … 365 366 366 367 case kTRUE: 368 // Handle GUI events (display changes, mouse clicks) 369 if (fDisplay) 370 gSystem->ProcessEvents(); 367 371 continue; 368 372 … … 461 465 // 462 466 rc = kFALSE; 467 *fLog << inf << task->GetDescriptor() << " has stopped execution of " << GetDescriptor() << "." << endl; 463 468 break; 464 469 … … 531 536 if (!task->CallPostProcess()) 532 537 return kFALSE; 538 539 // Handle GUI events (display changes, mouse clicks) 540 if (fDisplay) 541 gSystem->ProcessEvents(); 533 542 } 534 543 -
trunk/MagicSoft/Mars/mbase/Makefile
r2156 r2178 43 43 MEvtLoop.cc \ 44 44 MIter.cc \ 45 MDirIter.cc \ 45 46 MGList.cc \ 46 47 MGTask.cc \
Note:
See TracChangeset
for help on using the changeset viewer.