CMS 3D CMS Logo

List of all members | Public Member Functions | Public Attributes | Private Attributes
FWViewContext Class Reference

#include <Fireworks/Core/interface/FWViewContext.h>

Public Member Functions

 FWViewContext ()
 
 FWViewContext (const FWViewContext &)=delete
 
FWViewEnergyScalegetEnergyScale () const
 
const FWViewContextoperator= (const FWViewContext &)=delete
 
void scaleChanged ()
 
void setEnergyScale (FWViewEnergyScale *)
 
virtual ~FWViewContext ()
 

Public Attributes

sigc::signal< void(const FWViewContext *)> scaleChanged_
 

Private Attributes

FWViewEnergyScalem_energyScale
 

Detailed Description

Description: [one line class summary]

Usage: <usage>

Definition at line 32 of file FWViewContext.h.

Constructor & Destructor Documentation

◆ FWViewContext() [1/2]

FWViewContext::FWViewContext ( )

Definition at line 19 of file FWViewContext.cc.

19 : m_energyScale(nullptr) {}
FWViewEnergyScale * m_energyScale
Definition: FWViewContext.h:51

◆ ~FWViewContext()

FWViewContext::~FWViewContext ( )
virtual

Definition at line 21 of file FWViewContext.cc.

21 {}

◆ FWViewContext() [2/2]

FWViewContext::FWViewContext ( const FWViewContext )
delete

Member Function Documentation

◆ getEnergyScale()

FWViewEnergyScale * FWViewContext::getEnergyScale ( ) const

◆ operator=()

const FWViewContext& FWViewContext::operator= ( const FWViewContext )
delete

◆ scaleChanged()

void FWViewContext::scaleChanged ( )

Definition at line 23 of file FWViewContext.cc.

References scaleChanged_.

Referenced by FWEveView::setupEnergyScale(), and FWEveView::setupEventCenter().

23 { scaleChanged_.emit(this); }
sigc::signal< void(const FWViewContext *)> scaleChanged_
Definition: FWViewContext.h:42

◆ setEnergyScale()

void FWViewContext::setEnergyScale ( FWViewEnergyScale x)

Definition at line 27 of file FWViewContext.cc.

References m_energyScale, and x.

Referenced by CmsShowCommon::CmsShowCommon().

27 { m_energyScale = x; }
FWViewEnergyScale * m_energyScale
Definition: FWViewContext.h:51

Member Data Documentation

◆ m_energyScale

FWViewEnergyScale* FWViewContext::m_energyScale
private

Definition at line 51 of file FWViewContext.h.

Referenced by getEnergyScale(), and setEnergyScale().

◆ scaleChanged_

sigc::signal<void(const FWViewContext*)> FWViewContext::scaleChanged_
mutable

Definition at line 42 of file FWViewContext.h.

Referenced by FWProxyBuilderBase::createProduct(), and scaleChanged().