Fireworks
Core
interface
FWEnumParameterSetter.h
Go to the documentation of this file.
1
#ifndef Fireworks_Core_FWEnumParameterSetter_h
2
#define Fireworks_Core_FWEnumParameterSetter_h
3
// -*- C++ -*-
4
//
5
// Package: Core
6
// Class : FWEnumParameterSetter
7
//
16
//
17
// Original Author: matevz
18
// Created: Fri Apr 30 15:17:29 CEST 2010
19
//
20
21
// system include files
22
#include <Rtypes.h>
23
24
// user include files
25
#include "
Fireworks/Core/interface/FWParameterSetterBase.h
"
26
#include "
Fireworks/Core/interface/FWEnumParameter.h
"
27
28
// forward declarations
29
class
TGComboBox;
30
31
class
FWEnumParameterSetter
:
public
FWParameterSetterBase
{
32
public
:
33
FWEnumParameterSetter
();
34
~FWEnumParameterSetter
()
override
;
35
36
// ---------- const member functions ---------------------
37
38
// ---------- static member functions --------------------
39
40
// ---------- member functions ---------------------------
41
42
TGFrame*
build
(TGFrame* iParent,
bool
labelBack =
true
)
override
;
43
44
void
setEnabled
(
bool
)
override
;
45
46
void
doUpdate
(Int_t
id
);
47
48
TGComboBox*
getWidget
() {
return
m_widget
; }
49
50
private
:
51
FWEnumParameterSetter
(
const
FWEnumParameterSetter
&) =
delete
;
// stop default
52
const
FWEnumParameterSetter
&
operator=
(
const
FWEnumParameterSetter
&) =
delete
;
// stop default
53
54
void
attach
(
FWParameterBase
*)
override
;
55
56
// ---------- member data --------------------------------
57
58
FWEnumParameter
*
m_param
;
59
TGComboBox*
m_widget
;
60
};
61
62
#endif
FWEnumParameter
Definition:
FWEnumParameter.h:30
FWEnumParameterSetter::build
TGFrame * build(TGFrame *iParent, bool labelBack=true) override
Definition:
FWEnumParameterSetter.cc:62
FWEnumParameterSetter::FWEnumParameterSetter
FWEnumParameterSetter()
Definition:
FWEnumParameterSetter.cc:32
FWEnumParameterSetter::~FWEnumParameterSetter
~FWEnumParameterSetter() override
Definition:
FWEnumParameterSetter.cc:39
FWParameterSetterBase
Definition:
FWParameterSetterBase.h:31
FWParameterBase
Definition:
FWParameterBase.h:31
FWEnumParameterSetter::attach
void attach(FWParameterBase *) override
Definition:
FWEnumParameterSetter.cc:57
FWEnumParameterSetter
Definition:
FWEnumParameterSetter.h:31
FWEnumParameterSetter::m_param
FWEnumParameter * m_param
Definition:
FWEnumParameterSetter.h:58
FWParameterSetterBase.h
FWEnumParameterSetter::operator=
const FWEnumParameterSetter & operator=(const FWEnumParameterSetter &)=delete
FWEnumParameterSetter::getWidget
TGComboBox * getWidget()
Definition:
FWEnumParameterSetter.h:48
FWEnumParameter.h
FWEnumParameterSetter::m_widget
TGComboBox * m_widget
Definition:
FWEnumParameterSetter.h:59
FWEnumParameterSetter::setEnabled
void setEnabled(bool) override
Definition:
FWEnumParameterSetter.cc:98
FWEnumParameterSetter::doUpdate
void doUpdate(Int_t id)
Definition:
FWEnumParameterSetter.cc:91
Generated for CMSSW Reference Manual by
1.8.16