#include <Fireworks/Core/interface/FWGenericParameter.h>
Public Types | |
typedef T | value_type |
Public Member Functions | |
virtual void | addTo (FWConfiguration &iTo) const |
FWGenericParameter () | |
FWGenericParameter (FWParameterizable *iParent, const std::string &iName, const T &iDefault=T()) | |
template<class K > | |
FWGenericParameter (FWParameterizable *iParent, const std::string &iName, K iCallback, const T &iDefault=T()) | |
void | set (T iValue) |
virtual void | setFrom (const FWConfiguration &iFrom) |
T | value () const |
Public Member Functions inherited from FWParameterBase | |
FWParameterBase (FWParameterizable *iParent, const std::string &iName) | |
const std::string & | name () const |
virtual | ~FWParameterBase () |
Public Member Functions inherited from FWConfigurable | |
FWConfigurable () | |
virtual | ~FWConfigurable () |
Public Attributes | |
sigc::signal< void, T > | changed_ |
Private Member Functions | |
FWGenericParameter (const FWGenericParameter &) | |
const FWGenericParameter & | operator= (const FWGenericParameter &) |
Private Attributes | |
T | m_value |
Description: Provides access to a simple generic parameter.
Usage:
Definition at line 32 of file FWGenericParameter.h.
typedef T FWGenericParameter< T >::value_type |
Definition at line 35 of file FWGenericParameter.h.
|
inline |
Definition at line 37 of file FWGenericParameter.h.
|
inline |
Definition at line 41 of file FWGenericParameter.h.
|
inline |
Definition at line 49 of file FWGenericParameter.h.
References FWGenericParameter< T >::changed_.
|
private |
|
inlinevirtual |
Implements FWConfigurable.
Definition at line 63 of file FWGenericParameter.h.
References FWConfiguration::addKeyValue(), FWGenericParameter< T >::m_value, FWParameterBase::name(), and asciidump::s.
|
private |
|
inline |
Definition at line 81 of file FWGenericParameter.h.
References FWGenericParameter< T >::changed_, and FWGenericParameter< T >::m_value.
Referenced by CmsShowCommon::addTo(), FWStringParameterSetter::doUpdate(), FWLongParameterSetter::doUpdate(), FWBoolParameterSetter::doUpdate(), FWEnumParameterSetter::doUpdate(), FWDoubleParameterSetter::doUpdate(), FWLegoViewBase::FWLegoViewBase(), FWTriggerTableView::processChanged(), FWLegoViewBase::setFrom(), FWRPZView::setFrom(), FWViewEnergyScale::SetFromCmsShowCommonConfig(), CmsShowCommon::setGeomColor(), CmsShowCommon::setGeomTransparency(), and CmsShowCommon::switchBackground().
|
inlinevirtual |
Implements FWConfigurable.
Definition at line 73 of file FWGenericParameter.h.
References FWGenericParameter< T >::changed_, cmsDriver::config, FWGenericParameter< T >::m_value, FWParameterBase::name(), asciidump::s, and FWConfiguration::valueForKey().
Referenced by FWTriggerTableView::setFrom().
|
inline |
Definition at line 59 of file FWGenericParameter.h.
References FWGenericParameter< T >::m_value.
Referenced by FWStringParameterSetter::build(), FWBoolParameterSetter::build(), FWLongParameterSetter::build(), FWEnumParameterSetter::build(), FWDoubleParameterSetter::build(), python.Vispa.Views.PropertyView.FileProperty::buttonClicked(), FWViewEnergyScale::calculateScaleFactor(), FWEveView::cameraGuideChanged(), Types.string::configValue(), Types.FileInPath::configValue(), FWRPZView::doFishEyeDistortion(), FWRPZView::doPreScaleDistortion(), FWRPZView::doShiftOrigin(), Mixins.UsingBlock::dumpPython(), FWL1TriggerTableView::fillTable(), FWHLTTriggerTableView::fillTable(), FWGeometryTableManager::filterOff(), FWGeometryTableManager::FWGeometryTableManager(), FWRPZView::FWRPZView(), CmsShowCommon::gamma(), FWViewEnergyScale::getPlotEt(), CmsShowCommon::getProjTrackBreaking(), CmsShowCommon::getRnrPTBMarkers(), Types.int32::insertInto(), Types.uint32::insertInto(), Types.int64::insertInto(), Types.uint64::insertInto(), Mixins.UsingBlock::insertInto(), Types.double::insertInto(), Types.bool::insertInto(), Types.string::insertInto(), Types.FileInPath::insertInto(), Types.vint32::insertInto(), Types.vuint32::insertInto(), Types.vint64::insertInto(), Types.vuint64::insertInto(), Types.vdouble::insertInto(), Types.vbool::insertInto(), Types.vstring::insertInto(), FWEveView::isEnergyScaleGlobal(), FWTriggerTableView::isProcessValid(), python.Vispa.Views.PropertyView.FileProperty::labelDoubleClicked(), FWEveView::pointLineScalesChanged(), FWEveView::populateController(), FWTriggerTableView::resetCombo(), FWEveView::saveImageTo(), FWLegoViewBase::setAutoRebin(), FWLegoViewBase::setCell2DMode(), FWLegoViewBase::setContext(), FWEveView::setContext(), CmsShowCommon::setDrawBreakMarkers(), FWRPZView::setEtaRng(), FWLegoViewBase::setFontSizein2D(), CmsShowCommon::setFrom(), FWTriggerTableView::setFrom(), CmsShowCommon::setGamma(), FWLegoViewBase::setPixelsPerBin(), FWLegoViewBase::setProjectionMode(), FWGeometryTableManager::setTableContent(), CmsShowCommon::setTrackBreakMode(), FWGlimpseView::showAxes(), FWGlimpseView::showCylinder(), FWLegoViewBase::showOverlay(), FWRPZView::showProjectionAxes(), FWGeometryTableManager::updateFilter(), and FWEveView::useGlobalEnergyScaleChanged().
sigc::signal<void,T> FWGenericParameter< T >::changed_ |
Definition at line 87 of file FWGenericParameter.h.
Referenced by CmsShowCommon::CmsShowCommon(), FWEveView::FWEveView(), FWGenericParameter< T >::FWGenericParameter(), FWGeometryTableManager::FWGeometryTableManager(), FWGlimpseView::FWGlimpseView(), FWLegoViewBase::FWLegoViewBase(), FWRPZView::FWRPZView(), FWTriggerTableView::FWTriggerTableView(), FWViewEnergyScale::FWViewEnergyScale(), FWGenericParameter< T >::set(), FW3DViewBase::setContext(), and FWGenericParameter< T >::setFrom().
|
private |
Definition at line 95 of file FWGenericParameter.h.
Referenced by FWGenericParameter< T >::addTo(), FWGenericParameter< T >::set(), FWGenericParameter< T >::setFrom(), and FWGenericParameter< T >::value().