HydroCouple
2.0.0
HydroCouple Interface Definitions
|
IUnit interface, describing the physical unit of a IQuantity. More...
#include <hydrocouple.h>
Public Member Functions | |
virtual | ~IUnit ()=0 |
IUnit::~IUnit is a virtual destructor. More... | |
virtual IUnitDimensions * | dimensions () const =0 |
Fundamental dimensions of the unit. More... | |
virtual double | conversionFactorToSI () const =0 |
Conversion factor to SI ('A' in: SI-value = A * quant-value + B) More... | |
virtual double | offsetToSI () const =0 |
OffSet to SI ('B' in: SI-value = A * quant-value + B). 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... | |
|
pure virtual |
IUnit::~IUnit is a virtual destructor.
|
pure virtual |
Conversion factor to SI ('A' in: SI-value = A * quant-value + B)
|
pure virtual |
Fundamental dimensions of the unit.
|
pure virtual |
OffSet to SI ('B' in: SI-value = A * quant-value + B).