HydroCouple  2.0.0
HydroCouple Interface Definitions
HydroCouple::IQuantity Class Referenceabstract

IQuantity specifies values as an amount of some unit, usually as a floating point number. More...

#include <hydrocouple.h>

Inheritance diagram for HydroCouple::IQuantity:
Collaboration diagram for HydroCouple::IQuantity:

Public Member Functions

virtual ~IQuantity ()=0
 
virtual IUnitunit () const =0
 Unit of quantity. More...
 
virtual hydrocouple_variant minValue () const =0
 minValue More...
 
virtual hydrocouple_variant maxValue () const =0
 maxValue More...
 
- Public Member Functions inherited from HydroCouple::IValueDefinition
virtual ~IValueDefinition ()=0
 ~IValueDefinition destructor More...
 
virtual type_info type () const =0
 The object types of value that will be available and is returned by the GetValues function.IPropertyChanged. More...
 
virtual hydrocouple_variant missingValue () const =0
 The value representing that data is missing. More...
 
virtual hydrocouple_variant defaultValue () const =0
 Gets the default value of the argument. More...
 
- Public Member Functions inherited from HydroCouple::IDescription
virtual ~IDescription ()=0
 IDescription::~IDescription is a virtual destructor. More...
 
virtual string caption () const =0
 Gets caption for the entity. More...
 
virtual void setCaption (const string &caption)=0
 Sets caption for the entity. More...
 
virtual string description () const =0
 Gets additional descriptive information for the entity. More...
 
virtual void setDescription (const string &description)=0
 Gets additional descriptive information for the entity. More...
 
- Public Member Functions inherited from HydroCouple::IPropertyChanged
virtual ~IPropertyChanged ()=0
 IPropertyChanged::~IPropertyChanged is a virtual destructor. More...
 
virtual void registerPropertyChangedListener (const function< void(const any &, const string &)> &propertyChangedListener)=0
 IPropertyChanged::registerPropertyChangedListener() registers a listener to be called when a property of an object changes. More...
 
virtual void deRegisterPropertyChangedListener (const function< void(const any &, const string &propertyName)> &propertyChangedListener)=0
 IPropertyChanged::deRegisterPropertyChangedListener() deregisters a listener that is called when a property of an object changes. More...
 

Detailed Description

IQuantity specifies values as an amount of some unit, usually as a floating point number.

Constructor & Destructor Documentation

◆ ~IQuantity()

virtual HydroCouple::IQuantity::~IQuantity ( )
pure virtual

Member Function Documentation

◆ maxValue()

virtual hydrocouple_variant HydroCouple::IQuantity::maxValue ( ) const
pure virtual

maxValue

Returns

◆ minValue()

virtual hydrocouple_variant HydroCouple::IQuantity::minValue ( ) const
pure virtual

minValue

Returns

◆ unit()

virtual IUnit* HydroCouple::IQuantity::unit ( ) const
pure virtual

Unit of quantity.


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