Fireworks
Core
interface
FWParameterSetterBase.h
Go to the documentation of this file.
1
#ifndef Fireworks_Core_FWParameterSetterBase_h
2
#define Fireworks_Core_FWParameterSetterBase_h
3
// -*- C++ -*-
4
//
5
// Package: Core
6
// Class : FWParameterSetterBase
7
//
16
//
17
// Original Author: Chris Jones
18
// Created: Fri Mar 7 14:16:14 EST 2008
19
//
20
21
// system include files
22
#include <memory>
23
24
// user include files
25
26
// forward declarations
27
class
FWParameterBase
;
28
class
FWParameterSetterEditorBase
;
29
class
TGFrame;
30
31
class
FWParameterSetterBase
{
32
public
:
33
FWParameterSetterBase
();
34
virtual
~FWParameterSetterBase
();
35
36
// ---------- const member functions ---------------------
37
38
// ---------- static member functions --------------------
39
40
static
std::shared_ptr<FWParameterSetterBase>
makeSetterFor
(
FWParameterBase
*);
41
42
// ---------- member functions ---------------------------
43
44
void
attach
(
FWParameterBase
*,
FWParameterSetterEditorBase
*);
45
virtual
TGFrame*
build
(TGFrame* iParent,
bool
labelBack =
true
) = 0;
46
47
virtual
void
setEnabled
(
bool
);
48
49
protected
:
50
void
update
()
const
;
51
FWParameterSetterEditorBase
*
frame
()
const
{
return
m_frame
; }
52
53
private
:
54
virtual
void
attach
(
FWParameterBase
*) = 0;
55
56
FWParameterSetterBase
(
const
FWParameterSetterBase
&) =
delete
;
// stop default
57
const
FWParameterSetterBase
&
operator=
(
const
FWParameterSetterBase
&) =
delete
;
// stop default
58
59
// ---------- member data --------------------------------
60
61
FWParameterSetterEditorBase
*
m_frame
;
62
};
63
64
#endif
FWParameterSetterBase::setEnabled
virtual void setEnabled(bool)
Definition:
FWParameterSetterBase.cc:139
FWParameterSetterEditorBase
Definition:
FWParameterSetterEditorBase.h:27
FWParameterSetterBase
Definition:
FWParameterSetterBase.h:31
FWParameterSetterBase::attach
void attach(FWParameterBase *, FWParameterSetterEditorBase *)
Definition:
FWParameterSetterBase.cc:65
FWParameterBase
Definition:
FWParameterBase.h:31
FWParameterSetterBase::build
virtual TGFrame * build(TGFrame *iParent, bool labelBack=true)=0
FWParameterSetterBase::operator=
const FWParameterSetterBase & operator=(const FWParameterSetterBase &)=delete
FWParameterSetterBase::FWParameterSetterBase
FWParameterSetterBase()
Definition:
FWParameterSetterBase.cc:40
FWParameterSetterBase::~FWParameterSetterBase
virtual ~FWParameterSetterBase()
Definition:
FWParameterSetterBase.cc:47
FWParameterSetterBase::update
void update() const
Definition:
FWParameterSetterBase.cc:74
FWParameterSetterBase::makeSetterFor
static std::shared_ptr< FWParameterSetterBase > makeSetterFor(FWParameterBase *)
Definition:
FWParameterSetterBase.cc:83
FWParameterSetterBase::m_frame
FWParameterSetterEditorBase * m_frame
Definition:
FWParameterSetterBase.h:61
FWParameterSetterBase::frame
FWParameterSetterEditorBase * frame() const
Definition:
FWParameterSetterBase.h:51
Generated for CMSSW Reference Manual by
1.8.16