Line | |
---|
1 | #ifndef ExRootProgressBar_h |
---|
2 | #define ExRootProgressBar_h |
---|
3 | |
---|
4 | #include "Rtypes.h" |
---|
5 | |
---|
6 | class ExRootProgressBar |
---|
7 | { |
---|
8 | public: |
---|
9 | |
---|
10 | ExRootProgressBar(Long64_t entries, Int_t width = 64); |
---|
11 | ~ExRootProgressBar(); |
---|
12 | |
---|
13 | void Update(Long64_t entry, Long64_t eventCounter = 0, Bool_t last = kFALSE); |
---|
14 | void Finish(); |
---|
15 | |
---|
16 | private: |
---|
17 | |
---|
18 | Long64_t fEntries, fEventCounter; |
---|
19 | Int_t fWidth; |
---|
20 | |
---|
21 | ULong64_t fTime; |
---|
22 | Int_t fHashes; |
---|
23 | |
---|
24 | char *fBar; //! |
---|
25 | |
---|
26 | }; |
---|
27 | |
---|
28 | #endif /* ExRootProgressBar */ |
---|
29 | |
---|
Note: See
TracBrowser
for help on using the repository browser.