Ignore:
Timestamp:
02/15/05 18:44:43 (20 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/mbase
Files:
3 edited

Legend:

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

    r6253 r6500  
    8080using namespace std;
    8181
     82TObjArray MParContainer::fgListMethodCall;
     83
    8284MParContainer::MParContainer(const char *name, const char *title) :
    8385    fName(name), fTitle(title), fLog(&gLog), fDisplay(NULL), fReadyToSave(kFALSE)
    8486{
     87    fgListMethodCall.SetOwner();
    8588}
    8689
     
    8891    fName(name), fTitle(title), fLog(&gLog), fDisplay(NULL), fReadyToSave(kFALSE)
    8992{
     93    fgListMethodCall.SetOwner();
    9094}
    9195
     
    630634    }
    631635
    632     *fLog << warn << "No standard access for '" << part1 << "' in ";
     636    *fLog << inf << "No standard access for '" << part1 << "' in ";
    633637    *fLog << GetDescriptor() << " or one of its base classes." << endl;
    634638
    635639    TMethodCall *call = NULL;
    636640
    637     *fLog << warn << "Trying to find MethodCall '" << ClassName();
    638     *fLog << "::Get" << part1 << "' instead <LEAKS MEMORY>" << endl;
     641    *fLog << "Trying to find MethodCall '" << ClassName();
     642    *fLog << "::Get" << part1 << "' instead..." << flush;
    639643    call = new TMethodCall(IsA(), (TString)"Get"+part1, "");
    640644    if (call->GetMethod())
     645    {
     646        fgListMethodCall.Add(call);
     647        *fLog << "found." << endl;
    641648        return call;
     649    }
     650    *fLog << endl;
    642651
    643652    delete call;
    644653
    645     *fLog << warn << "Trying to find MethodCall '" << ClassName();
    646     *fLog << "::" << part1 << "' instead <LEAKS MEMORY>" << endl;
     654    *fLog << "Trying to find MethodCall '" << ClassName();
     655    *fLog << "::" << part1 << "' instead..." << flush;
    647656    call = new TMethodCall(IsA(), part1, "");
    648657    if (call->GetMethod())
     658    {
     659        fgListMethodCall.Add(call);
     660        *fLog << "found." << endl;
    649661        return call;
     662    }
     663    *fLog << endl;
    650664
    651665    delete call;
  • trunk/MagicSoft/Mars/mbase/MParContainer.h

    r5994 r6500  
    3434class MParContainer : public TObject
    3535{
     36private:
     37    static TObjArray fgListMethodCall; //!
     38
    3639protected:
    3740    TString fName;        // parameter container identifier (name)
  • trunk/MagicSoft/Mars/mbase/MTask.cc

    r5875 r6500  
    428428    else
    429429        *fLog << "       ";
     430
     431    if (HasStreamId())
     432        *fLog << GetStreamId() << ":";
    430433    *fLog << GetDescriptor() << "\t";
    431434    *fLog << dec << GetNumExecutions();
Note: See TracChangeset for help on using the changeset viewer.