CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Private Attributes
FWGenericParameterWithRange< T > Class Template Reference

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

Inheritance diagram for FWGenericParameterWithRange< T >:
FWGenericParameter< T > FWParameterBase FWConfigurable FWEnumParameter

Public Member Functions

 FWGenericParameterWithRange (void)
 
 FWGenericParameterWithRange (FWParameterizable *iParent, const std::string &iName, const T &iDefault=T(), T iMin=-1, T iMax=-1)
 
template<class K >
 FWGenericParameterWithRange (FWParameterizable *iParent, const std::string &iName, K iCallback, const T &iDefault=T(), T iMin=-1, T iMax=-1)
 
T max () const
 
T min () const
 
- Public Member Functions inherited from FWGenericParameter< T >
void addTo (FWConfiguration &iTo) const override
 
 FWGenericParameter ()
 
 FWGenericParameter (const FWGenericParameter &)=delete
 
 m_value (iDefault)
 
template<class K >
 m_value (iDefault)
 
const FWGenericParameteroperator= (const FWGenericParameter &)=delete
 
void set (T iValue)
 
void setFrom (const FWConfiguration &iFrom) override
 
T value () const
 
- Public Member Functions inherited from FWParameterBase
 FWParameterBase (FWParameterizable *iParent, const std::string &iName)
 
 FWParameterBase (const FWParameterBase &)=delete
 
const std::string & name () const
 
const FWParameterBaseoperator= (const FWParameterBase &)=delete
 
 ~FWParameterBase () override
 
- Public Member Functions inherited from FWConfigurable
 FWConfigurable ()
 
 FWConfigurable (const FWConfigurable &)=delete
 
const FWConfigurableoperator= (const FWConfigurable &)=delete
 
virtual ~FWConfigurable ()
 

Private Attributes

T m_max
 
T m_min
 

Additional Inherited Members

- Public Types inherited from FWGenericParameter< T >
typedef T value_type
 
- Public Attributes inherited from FWGenericParameter< T >
 __pad0__: FWParameterBase(iParent
 
template<class K >
 __pad1__: FWParameterBase(iParent
 
sigc::signal< void(T)> changed_
 
 iName
 

Detailed Description

template<class T>
class FWGenericParameterWithRange< T >

Description: Provides access to a simple double parameter

Usage: If min and max values are both identical than no restriction is placed on the allowed value

Definition at line 27 of file FWGenericParameterWithRange.h.

Constructor & Destructor Documentation

template<class T>
FWGenericParameterWithRange< T >::FWGenericParameterWithRange ( void  )
inline
template<class T>
FWGenericParameterWithRange< T >::FWGenericParameterWithRange ( FWParameterizable iParent,
const std::string &  iName,
const T iDefault = T(),
T  iMin = -1,
T  iMax = -1 
)
inline
template<class T>
template<class K >
FWGenericParameterWithRange< T >::FWGenericParameterWithRange ( FWParameterizable iParent,
const std::string &  iName,
iCallback,
const T iDefault = T(),
T  iMin = -1,
T  iMax = -1 
)
inline

Member Function Documentation

template<class T>
T FWGenericParameterWithRange< T >::max ( ) const
inline
template<class T>
T FWGenericParameterWithRange< T >::min ( ) const
inline

Member Data Documentation

template<class T>
T FWGenericParameterWithRange< T >::m_max
private

Definition at line 51 of file FWGenericParameterWithRange.h.

Referenced by FWGenericParameterWithRange< T >::max().

template<class T>
T FWGenericParameterWithRange< T >::m_min
private

Definition at line 50 of file FWGenericParameterWithRange.h.

Referenced by FWGenericParameterWithRange< T >::min().