CMS 3D CMS Logo

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

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

Inheritance diagram for FWConfigurableParameterizable:
FWParameterizable FWConfigurable CmsShowCommon FWProxyBuilderConfiguration FWViewBase FWViewEnergyScale FWEveView FWGeometryTableViewBase FWTableView FWTriggerTableView FW3DViewBase FWGlimpseView FWLegoViewBase FWRPZView FWGeometryTableView FWOverlapTableView FWHLTTriggerTableView FWL1TriggerTableView

Public Member Functions

void addTo (FWConfiguration &) const override
 
 FWConfigurableParameterizable (unsigned int iVersion=1)
 
 FWConfigurableParameterizable (const FWConfigurableParameterizable &)=delete
 
const FWConfigurableParameterizableoperator= (const FWConfigurableParameterizable &)=delete
 
void setFrom (const FWConfiguration &) override
 
unsigned int version () const
 
 ~FWConfigurableParameterizable () override
 
- Public Member Functions inherited from FWParameterizable
void add (FWParameterBase *)
 
const_iterator begin () const
 
const_iterator end () const
 
 FWParameterizable ()
 
 FWParameterizable (const FWParameterizable &)=delete
 
const FWParameterizableoperator= (const FWParameterizable &)=delete
 
virtual ~FWParameterizable ()
 
- Public Member Functions inherited from FWConfigurable
 FWConfigurable ()
 
 FWConfigurable (const FWConfigurable &)=delete
 
const FWConfigurableoperator= (const FWConfigurable &)=delete
 
virtual ~FWConfigurable ()
 

Private Attributes

unsigned int m_version
 

Additional Inherited Members

- Public Types inherited from FWParameterizable
typedef std::vector< FWParameterBase * >::const_iterator const_iterator
 

Detailed Description

Description: <one line="" class="" summary>="">

Usage: <usage>

Definition at line 29 of file FWConfigurableParameterizable.h.

Constructor & Destructor Documentation

◆ FWConfigurableParameterizable() [1/2]

FWConfigurableParameterizable::FWConfigurableParameterizable ( unsigned int  iVersion = 1)

Definition at line 32 of file FWConfigurableParameterizable.cc.

◆ ~FWConfigurableParameterizable()

FWConfigurableParameterizable::~FWConfigurableParameterizable ( )
override

Definition at line 39 of file FWConfigurableParameterizable.cc.

39 {}

◆ FWConfigurableParameterizable() [2/2]

FWConfigurableParameterizable::FWConfigurableParameterizable ( const FWConfigurableParameterizable )
delete

Member Function Documentation

◆ addTo()

void FWConfigurableParameterizable::addTo ( FWConfiguration oTo) const
overridevirtual

◆ operator=()

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

◆ setFrom()

void FWConfigurableParameterizable::setFrom ( const FWConfiguration iFrom)
overridevirtual

Implements FWConfigurable.

Reimplemented in FWTableView, FWEveView, FWViewEnergyScale, FWGeometryTableView, FWProxyBuilderConfiguration, FWRPZView, FWTriggerTableView, FWLegoViewBase, FWGlimpseView, and FWOverlapTableView.

Definition at line 56 of file FWConfigurableParameterizable.cc.

References cms::cuda::assert(), FWParameterizable::begin(), FWParameterizable::end(), ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, m_version, and FWConfiguration::version().

Referenced by FWTableView::setFrom().

56  {
57  //need a way to handle versioning
58  assert(iFrom.version() == m_version);
59  for (const_iterator it = begin(), itEnd = end(); it != itEnd; ++it) {
60  (*it)->setFrom(iFrom);
61  }
62 }
const_iterator begin() const
std::vector< FWParameterBase * >::const_iterator const_iterator
assert(be >=bs)
const_iterator end() const
unsigned int version() const

◆ version()

unsigned int FWConfigurableParameterizable::version ( ) const
inline

Member Data Documentation

◆ m_version

unsigned int FWConfigurableParameterizable::m_version
private

Definition at line 49 of file FWConfigurableParameterizable.h.

Referenced by setFrom(), and version().