Fireworks
Core
interface
FWViewContext.h
Go to the documentation of this file.
1
#ifndef Fireworks_Core_FWViewContext_h
2
#define Fireworks_Core_FWViewContext_h
3
// -*- C++ -*-
4
//
5
// Package: Core
6
// Class : FWViewContext
7
//
16
//
17
// Original Author: Alja Mrak-Tadel
18
// Created: Wed Apr 14 18:31:27 CEST 2010
19
//
20
21
// system include files
22
#include <sigc++/sigc++.h>
23
#include <map>
24
#include <string>
25
#include "Rtypes.h"
26
27
// user include files
28
29
// forward declarations
30
class
FWViewEnergyScale
;
31
32
class
FWViewContext
{
33
public
:
34
FWViewContext
();
35
virtual
~FWViewContext
();
36
37
FWViewEnergyScale
*
getEnergyScale
()
const
;
38
void
setEnergyScale
(
FWViewEnergyScale
*);
39
40
void
scaleChanged
();
41
42
mutable
sigc::signal<void, const FWViewContext*>
scaleChanged_
;
43
44
private
:
45
FWViewContext
(
const
FWViewContext
&) =
delete
;
// stop default
46
47
const
FWViewContext
&
operator=
(
const
FWViewContext
&) =
delete
;
// stop default
48
49
// ---------- member data --------------------------------
50
51
FWViewEnergyScale
*
m_energyScale
;
52
};
53
54
#endif
FWViewContext::FWViewContext
FWViewContext()
Definition:
FWViewContext.cc:19
FWViewContext::~FWViewContext
virtual ~FWViewContext()
Definition:
FWViewContext.cc:21
FWViewContext::operator=
const FWViewContext & operator=(const FWViewContext &)=delete
FWViewContext::scaleChanged
void scaleChanged()
Definition:
FWViewContext.cc:23
FWViewContext
Definition:
FWViewContext.h:32
FWViewContext::setEnergyScale
void setEnergyScale(FWViewEnergyScale *)
Definition:
FWViewContext.cc:27
FWViewEnergyScale
Definition:
FWViewEnergyScale.h:34
FWViewContext::m_energyScale
FWViewEnergyScale * m_energyScale
Definition:
FWViewContext.h:51
FWViewContext::scaleChanged_
sigc::signal< void, const FWViewContext * > scaleChanged_
Definition:
FWViewContext.h:42
FWViewContext::getEnergyScale
FWViewEnergyScale * getEnergyScale() const
Definition:
FWViewContext.cc:25
Generated for CMSSW Reference Manual by
1.8.16