]> git.uio.no Git - u/mrichter/AliRoot.git/blame - HLT/EMCAL/OnlineDisplay/AliHLTEMCALOnlineDisplayNumberEntry.h
Coverity 17737 solved by non-implemented private copy constructor and assignment...
[u/mrichter/AliRoot.git] / HLT / EMCAL / OnlineDisplay / AliHLTEMCALOnlineDisplayNumberEntry.h
CommitLineData
fcbe44bf 1//-*- Mode: C++ -*-
2// $Id: AliHLTEMCALOnlineDisplayNumberEntry.h 29824 2008-11-10 13:43:55Z richterm $
3
4#ifndef ALIHLTEMCALONLINEDISPLAYNUMBERENTRY_H
5#define ALIHLTEMCALONLINEDISPLAYNUMBERENTRY_H
6
7/**************************************************************************
8 * This file is property of and copyright by the Experimental Nuclear *
9 * Physics Group, Dep. of Physics *
10 * University of Oslo, Norway, 2006 *
11 * *
12 * Author: Per Thomas Hille perthi@fys.uio.no for the ALICE DCS Project. *
13 * Contributors are mentioned in the code where appropriate. *
14 * Please report bugs to perthi@fys.uio.no *
15 * *
16 * Permission to use, copy, modify and distribute this software and its *
17 * documentation strictly for non-commercial purposes is hereby granted *
18 * without fee, provided that the above copyright notice appears in all *
19 * copies and that both the copyright notice and this permission notice *
20 * appear in the supporting documentation. The authors make no claims *
21 * about the suitability of this software for any purpose. It is *
22 * provided "as is" without express or implied warranty. *
23 **************************************************************************/
24
25#include <TGNumberEntry.h>
26
27
28class AliHLTEMCALOnlineDisplayNumberEntry : public TGNumberEntry
29{
30 public:
31 AliHLTEMCALOnlineDisplayNumberEntry();
32 ~AliHLTEMCALOnlineDisplayNumberEntry();
33 AliHLTEMCALOnlineDisplayNumberEntry(const TGWindow* parent = 0, Double_t val = 0, Int_t digitwidth = 5,
34 Int_t id = -1, TGNumberFormat::EStyle style = kNESReal,
35 TGNumberFormat::EAttribute attr = kNEAAnyNumber,
36 TGNumberFormat::ELimit limits = kNELNoLimits, Double_t min = 0, Double_t max = 1);
37
38 virtual void ValueChanged(Long_t t);
39
40 virtual void ValueSet(Long_t t);
41
42 void SetLimits(int low, int high);
43 void SetButtonType(char c);
44
45 private:
46 char buttonType;
47 int lowLimit;
48 int highLimit;
49};
50
51
52#endif