Changeset 1084 for trunk/MagicSoft/Mars


Ignore:
Timestamp:
11/15/01 12:28:18 (23 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/mbase
Files:
4 edited

Legend:

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

    r1035 r1084  
    2121    Bool_t  fAutoEnable;       // Flag for auto enabeling scheme
    2222
    23     TOrdCollection *fVetoList; // List of Branches which are not allowed to get enabled
    24     TOrdCollection *fNotify;   // List of TObjects to notify when switching files
     23    TList  *fVetoList;        // List of Branches which are not allowed to get enabled
     24    TList  *fNotify;           // List of TObjects to notify when switching files
    2525
    26     TGProgressBar  *fProgress; // Possible display of status
     26    TGProgressBar *fProgress; // Possible display of status
    2727
    28     void SetBranchStatus(const TOrdCollection *list, Bool_t status);
     28    void SetBranchStatus(const TList *list, Bool_t status);
    2929    void SetBranchStatus(TObject *branch, Bool_t status);
    3030
     
    5858    virtual void   AddNotify(TObject *obj);
    5959    virtual void   SetOwner(Bool_t flag=kTRUE);
     60    virtual void   SetReadyToSave(Bool_t flag=kTRUE);
     61    virtual void   Print(Option_t *opt="") const;
    6062
    6163    virtual Int_t  AddFile(const char *fname);
  • trunk/MagicSoft/Mars/mbase/MTask.cc

    r1076 r1084  
    8484    fTitle = title ? title : "Base class for all tasks (dummy task).";
    8585
    86     fListOfBranches = new TOrdCollection;
     86    fListOfBranches = new TList;
    8787    fListOfBranches->SetOwner();
    8888}
  • trunk/MagicSoft/Mars/mbase/MTask.h

    r1076 r1084  
    1414#endif
    1515
    16 class TOrdCollection;
     16class TList;
    1717
    1818class MFilter;
     
    2222{
    2323private:
    24     TOrdCollection *fListOfBranches; // List of Branch names for auto enabeling scheme
     24    TList *fListOfBranches; // List of Branch names for auto enabeling scheme
    2525
    26     const MFilter *fFilter;          // Filter for conditional task execution
     26    const MFilter *fFilter; // Filter for conditional task execution
    2727
    28     Bool_t fIsPreprocessed;          // Indicates the success of the PreProcessing (set by MTaskList)
    29     UInt_t fNumExecutions;           // Number of Excutions
     28    Bool_t fIsPreprocessed; // Indicates the success of the PreProcessing (set by MTaskList)
     29    UInt_t fNumExecutions;  // Number of Excutions
    3030
    3131    virtual Bool_t PreProcess(MParList *pList);
     
    6969
    7070    void SetFilter(const MFilter *filter) { fFilter=filter; }
     71    const MFilter *GetFilter() const      { return fFilter; }
    7172    virtual void PrintStatistics(const Int_t lvl=0) const;
    7273
     
    7778    virtual Bool_t CallPostProcess();
    7879
    79     const TOrdCollection *GetListOfBranches() const { return fListOfBranches; }
     80    const TList *GetListOfBranches() const { return fListOfBranches; }
    8081
    8182    ClassDef(MTask, 0) //Abstract base class for a task
  • trunk/MagicSoft/Mars/mbase/MTaskList.cc

    r1080 r1084  
    7878    fTitle = title ? title : "A list for tasks to be executed";
    7979
    80     fTasks = new TList; //OrdCollection;
     80    fTasks = new TList;
    8181}
    8282
Note: See TracChangeset for help on using the changeset viewer.