Line | |
---|
1 | #ifndef MARS_MStatusArray
|
---|
2 | #define MARS_MStatusArray
|
---|
3 |
|
---|
4 | #ifndef ROOT_TObjArray
|
---|
5 | #include <TObjArray.h>
|
---|
6 | #endif
|
---|
7 |
|
---|
8 | class TClass;
|
---|
9 | class TCanvas;
|
---|
10 | class TVirtualPad;
|
---|
11 |
|
---|
12 | class MStatusDisplay;
|
---|
13 |
|
---|
14 | class MStatusArray : public TObjArray
|
---|
15 | {
|
---|
16 | private:
|
---|
17 | void PrintObjectsInPad(const TCollection *list, const TString &name, Int_t lvl=0) const;
|
---|
18 | TObject *FindObjectInPad(TVirtualPad *pad, const char *object, TClass *base) const;
|
---|
19 | TClass *GetClass(const char *name) const;
|
---|
20 |
|
---|
21 | public:
|
---|
22 | MStatusArray() : TObjArray() { }
|
---|
23 | TObject *DisplayIn(Option_t *o=0) const; // *MENU*
|
---|
24 | void DisplayIn(MStatusDisplay &d, const char *tab=0) const;
|
---|
25 | TObject *Display() const { return DisplayIn(); } // *MENU*
|
---|
26 |
|
---|
27 | TCanvas *FindCanvas(const char *name) const;
|
---|
28 |
|
---|
29 | TObject *FindObjectInCanvas(const char *object, const char *base, const char *canvas) const;
|
---|
30 | TObject *FindObjectInCanvas(const char *object, const char *canvas) const;
|
---|
31 |
|
---|
32 | void Print(Option_t *o="") const;
|
---|
33 | void Print(Option_t *wildcard, Option_t *option) const
|
---|
34 | {
|
---|
35 | Print(wildcard);
|
---|
36 | }
|
---|
37 |
|
---|
38 | TObject *FindObject(const char *object, const char *base) const;
|
---|
39 | TObject *FindObject(const char *object) const;
|
---|
40 | TObject *FindObject(const TObject *o) const { return 0; }
|
---|
41 |
|
---|
42 | Int_t Read(const char *name=NULL);
|
---|
43 |
|
---|
44 | ClassDef(MStatusArray, 0) // Helper class for status display
|
---|
45 | };
|
---|
46 |
|
---|
47 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.