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 | TObject *FindObjectInPad(TVirtualPad *pad, const char *object, TClass *base) const;
|
---|
18 | TClass *GetClass(const char *name) const;
|
---|
19 |
|
---|
20 | public:
|
---|
21 | TObject *DisplayIn(Option_t *o=0) const; // *MENU*
|
---|
22 | void DisplayIn(MStatusDisplay &d, const char *tab=0) const;
|
---|
23 | TObject *Display() const { return DisplayIn(); } // *MENU*
|
---|
24 |
|
---|
25 | TCanvas *FindCanvas(const char *name) const;
|
---|
26 |
|
---|
27 | TObject *FindObjectInCanvas(const char *object, const char *base, const char *canvas) const;
|
---|
28 | TObject *FindObjectInCanvas(const char *object, const char *canvas) const;
|
---|
29 |
|
---|
30 | TObject *FindObject(const char *object, const char *base) const;
|
---|
31 | TObject *FindObject(const char *object) const;
|
---|
32 | TObject *FindObject(const TObject *o) const { return 0; }
|
---|
33 |
|
---|
34 | ClassDef(MStatusArray, 0) // Helper class for status display
|
---|
35 | };
|
---|
36 |
|
---|
37 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.