Changeset 5986 for trunk/MagicSoft/Mars/mbase/MParContainer.cc
- Timestamp:
- 01/25/05 11:01:40 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mbase/MParContainer.cc
r5713 r5986 435 435 } 436 436 437 // -------------------------------------------------------------------------- 438 // 439 // This virtual function is called for all parameter containers which are 440 // found in the parameter list automatically each time the tasklist is 441 // executed. 442 // 443 // By overwriting this function you can invalidate the contents of a 444 // container before each execution of the tasklist: 445 // 446 // For example: 447 // void MHillas::Reset() 448 // { 449 // fWidth = -1; 450 // } 451 // 452 // (While -1 is obviously a impossible value for fWidth you can immediatly 453 // see - if you Print() the contents of this container - that MHillasCalc 454 // has not caluclated the width in this runthrough of the tasklist) 455 // 456 // Overwriting MParConatiner::Reset() in your container makes it 457 // unnecessary to call any Clear() or Reset() manually in your task and 458 // you make sure, that you don't keep results of previous runs of your 459 // tasklist by chance. 460 // 461 // MParContainer::Reset() itself does nothing. 462 // 463 void MParContainer::Reset() 464 { 465 } 466 437 467 TMethodCall *MParContainer::GetterMethod(const char *name) const 438 468 {
Note:
See TracChangeset
for help on using the changeset viewer.