kanzi::RangeConceptImpl< TBaseClass, TDerivedClass > Class Template Reference

#include <kanzi/ui/node/concept/range.hpp>

Inheritance diagram for kanzi::RangeConceptImpl< TBaseClass, TDerivedClass >:
kanzi::RangeConcept

Public Member Functions

template<class MessageT >
void sendRangeMessage (const MessageT &messageType)
 
 RangeConceptImpl (Domain *domain, string_view name)
 
float getMinimumValue () const
 Gets the value of #RangeMinimumProperty. More...
 
void setMinimumValue (float value)
 Sets the value of #RangeMinimumProperty. More...
 
float getMaximumValue () const
 Gets the value of #RangeMaximumProperty. More...
 
void setMaximumValue (float value)
 Sets the value of #RangeMaximumProperty. More...
 
float getStep () const
 Gets the value of #RangeStepProperty. More...
 
void setStep (float value)
 Sets the value of #RangeStepProperty. More...
 
float getValue () const
 Gets the value of #RangeValueProperty. More...
 
void setValue (float value)
 Sets the value of #RangeValueProperty. More...
 
float getNormalizedValue () const
 Gets the value of NormalizedValueProperty. More...
 
void setNormalizedValue (float value)
 Sets the value of NormalizedValueProperty. More...
 
bool isValueChanging () const
 Gets the value of #ValueChangingProperty. More...
 
void goToNextValue ()
 Increases the value by amount of StepProperty. More...
 
void goToPreviousValue ()
 Decreases the value by amount of StepProperty. More...
 
void goToMinimumValue ()
 Sets the value to #MinimumValue. More...
 
void goToMaximumValue ()
 Sets the value to #MaximumValue. More...
 

Static Public Member Functions

static PropertyTypeEditorInfoSharedPtr makeEditorInfo ()
 
- Static Public Member Functions inherited from kanzi::RangeConcept
static PropertyTypeEditorInfoSharedPtr makeEditorInfo ()
 

Protected Member Functions

TDerivedClass * getThisObject ()
 Internal accessor for the Curiously Recurring Template Pattern. More...
 
const TDerivedClass * getThisObject () const
 Internal accessor for the Curiously Recurring Template Pattern. More...
 
virtual void onNodePropertyChanged (AbstractPropertyType propertyType, PropertyNotificationReason reason) KZ_OVERRIDE
 

Additional Inherited Members

- Static Public Attributes inherited from kanzi::RangeConcept
static MessageType< ValueChangeStartedMessageArgumentsValueChangeStartedMessage
 
static MessageType< ValueChangeFinishedMessageArgumentsValueChangeFinishedMessage
 
static MessageType< ValueChangedMessageArgumentsValueChangedMessage
 
static PropertyType< float > MinimumValueProperty
 MinimumValue property. More...
 
static PropertyType< float > MaximumValueProperty
 MaximumValue property. More...
 
static PropertyType< float > StepProperty
 Step property. More...
 
static PropertyType< float > ValueProperty
 Value property. More...
 
static PropertyType< float > NormalizedValueProperty
 NormalizedValue property. More...
 
static PropertyType< bool > IsValueChangingProperty
 IsValueChanging property. More...
 

Constructor & Destructor Documentation

template<class TBaseClass , class TDerivedClass >
kanzi::RangeConceptImpl< TBaseClass, TDerivedClass >::RangeConceptImpl ( Domain domain,
string_view  name 
)
explicit

Member Function Documentation

template<class TBaseClass , class TDerivedClass >
PropertyTypeEditorInfoSharedPtr kanzi::RangeConceptImpl< TBaseClass, TDerivedClass >::makeEditorInfo ( )
static
template<class TBaseClass , class TDerivedClass >
template<class MessageT >
void kanzi::RangeConceptImpl< TBaseClass, TDerivedClass >::sendRangeMessage ( const MessageT &  messageType)
template<class TBaseClass , class TDerivedClass >
float kanzi::RangeConceptImpl< TBaseClass, TDerivedClass >::getMinimumValue ( ) const

Gets the value of #RangeMinimumProperty.

See also
setRangeMinimum()
template<class TBaseClass , class TDerivedClass >
void kanzi::RangeConceptImpl< TBaseClass, TDerivedClass >::setMinimumValue ( float  value)

Sets the value of #RangeMinimumProperty.

See also
getRangeMinimum()
template<class TBaseClass , class TDerivedClass >
float kanzi::RangeConceptImpl< TBaseClass, TDerivedClass >::getMaximumValue ( ) const

Gets the value of #RangeMaximumProperty.

See also
setRangeMaximum()
template<class TBaseClass , class TDerivedClass >
void kanzi::RangeConceptImpl< TBaseClass, TDerivedClass >::setMaximumValue ( float  value)

Sets the value of #RangeMaximumProperty.

See also
getRangeMaximum()
template<class TBaseClass , class TDerivedClass >
float kanzi::RangeConceptImpl< TBaseClass, TDerivedClass >::getStep ( ) const

Gets the value of #RangeStepProperty.

See also
setRangeStep()
template<class TBaseClass , class TDerivedClass >
void kanzi::RangeConceptImpl< TBaseClass, TDerivedClass >::setStep ( float  value)

Sets the value of #RangeStepProperty.

See also
getRangeStep()
template<class TBaseClass , class TDerivedClass >
float kanzi::RangeConceptImpl< TBaseClass, TDerivedClass >::getValue ( ) const

Gets the value of #RangeValueProperty.

See also
setRangeValue()
template<class TBaseClass , class TDerivedClass >
void kanzi::RangeConceptImpl< TBaseClass, TDerivedClass >::setValue ( float  value)

Sets the value of #RangeValueProperty.

See also
getRangeValue()
template<class TBaseClass , class TDerivedClass >
float kanzi::RangeConceptImpl< TBaseClass, TDerivedClass >::getNormalizedValue ( ) const

Gets the value of NormalizedValueProperty.

See also
setNormalizedValue()
template<class TBaseClass , class TDerivedClass >
void kanzi::RangeConceptImpl< TBaseClass, TDerivedClass >::setNormalizedValue ( float  value)

Sets the value of NormalizedValueProperty.

See also
getNormalizedValue()
template<class TBaseClass , class TDerivedClass >
bool kanzi::RangeConceptImpl< TBaseClass, TDerivedClass >::isValueChanging ( ) const

Gets the value of #ValueChangingProperty.

template<class TBaseClass , class TDerivedClass >
void kanzi::RangeConceptImpl< TBaseClass, TDerivedClass >::goToNextValue ( )

Increases the value by amount of StepProperty.

See also
goToPreviousValue(), goToMinimumValue(), goToMaximumValue()
template<class TBaseClass , class TDerivedClass >
void kanzi::RangeConceptImpl< TBaseClass, TDerivedClass >::goToPreviousValue ( )

Decreases the value by amount of StepProperty.

See also
goToNextValue(), goToMinimumValue(), goToMaximumValue()
template<class TBaseClass , class TDerivedClass >
void kanzi::RangeConceptImpl< TBaseClass, TDerivedClass >::goToMinimumValue ( )

Sets the value to #MinimumValue.

See also
goToMaximumValue(), goToPreviousValue(), goToNextValue()
template<class TBaseClass , class TDerivedClass >
void kanzi::RangeConceptImpl< TBaseClass, TDerivedClass >::goToMaximumValue ( )

Sets the value to #MaximumValue.

See also
goToMinimumValue(), goToPreviousValue(), goToNextValue()
template<class TBaseClass , class TDerivedClass >
TDerivedClass* kanzi::RangeConceptImpl< TBaseClass, TDerivedClass >::getThisObject ( )
inlineprotected

Internal accessor for the Curiously Recurring Template Pattern.

template<class TBaseClass , class TDerivedClass >
const TDerivedClass* kanzi::RangeConceptImpl< TBaseClass, TDerivedClass >::getThisObject ( ) const
inlineprotected

Internal accessor for the Curiously Recurring Template Pattern.

template<class TBaseClass , class TDerivedClass >
void kanzi::RangeConceptImpl< TBaseClass, TDerivedClass >::onNodePropertyChanged ( AbstractPropertyType  propertyType,
PropertyNotificationReason  reason 
)
protectedvirtual

The documentation for this class was generated from the following files: