]>
Commit | Line | Data |
---|---|---|
c6d78c69 | 1 | // @(#)root/eve:$Id$ |
2 | // Author: Matevz Tadel 2007 | |
3 | ||
4 | /************************************************************************** | |
5 | * Copyright(c) 1998-2008, ALICE Experiment at CERN, all rights reserved. * | |
6 | * See http://aliceinfo.cern.ch/Offline/AliRoot/License.html for * | |
7 | * full copyright notice. * | |
8 | **************************************************************************/ | |
9 | ||
10 | #ifndef AliDimIntNotifier_H | |
11 | #define AliDimIntNotifier_H | |
12 | ||
c6d78c69 | 13 | #include <TQObject.h> |
14 | ||
c6d78c69 | 15 | #ifdef ALI_DIM |
16 | #include <dic.hxx> | |
17 | #else | |
18 | class DimUpdatedInfo | |
19 | { | |
20 | public: | |
21 | DimUpdatedInfo(const Char_t*, Int_t) {} | |
4f6eef9f | 22 | virtual ~DimUpdatedInfo() {} |
c6d78c69 | 23 | |
24 | Bool_t getData() { return kFALSE; } | |
25 | Int_t getInt() { return -1; } | |
26 | }; | |
27 | #endif | |
28 | ||
29 | //______________________________________________________________________________ | |
30 | // Short description of AliDimIntNotifier | |
31 | // | |
32 | ||
7e0cf530 | 33 | class AliDimIntNotifier : public TQObject, |
c6d78c69 | 34 | public DimUpdatedInfo |
35 | { | |
36 | public: | |
37 | ||
38 | AliDimIntNotifier(const TString& service); | |
39 | ||
40 | virtual ~AliDimIntNotifier() {} | |
41 | ||
42 | void infoHandler(); | |
7e0cf530 | 43 | void DimMessage(Int_t mess=-1); // *SIGNAL* |
c6d78c69 | 44 | |
45 | private: | |
46 | AliDimIntNotifier(const AliDimIntNotifier&); // Not implemented | |
47 | AliDimIntNotifier& operator=(const AliDimIntNotifier&); // Not implemented | |
48 | ||
dc836d53 | 49 | Int_t fLastMessage; |
c6d78c69 | 50 | |
c6d78c69 | 51 | ClassDef(AliDimIntNotifier, 0); |
52 | }; | |
53 | ||
54 | #endif |