Changeset 1191 for trunk/MagicSoft/Mars/mbase
- Timestamp:
- 01/18/02 11:03:39 (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mbase/MEvtLoop.cc
r1183 r1191 122 122 // the default name is "MTaskList" 123 123 // 124 fTaskList = (MTaskList*)fParList->FindObject(tlist );124 fTaskList = (MTaskList*)fParList->FindObject(tlist, "MTaskList"); 125 125 if (!fTaskList) 126 126 { 127 127 *fLog << err << dbginf << "Cannot find tasklist '" << tlist << "' in parameter list." << endl; 128 return kFALSE;129 }130 131 if (!fTaskList->InheritsFrom("MTaskList"))132 {133 *fLog << err << dbginf << "'" << tlist << "' doesn't inherit from MTaskList!" << endl;134 128 return kFALSE; 135 129 }
Note:
See TracChangeset
for help on using the changeset viewer.