![]() |
HydroCouple
2.0.0
HydroCouple Interface Definitions
|
IUnit interface, describing the physical unit of a IQuantity. More...
#include <hydrocouple.h>
Public Types | |
| enum class | DistanceUnitType { Standard , Geographic , Unknown } |
| HydroCouple::DistanceUnitType are the types of units that can be used to measure distance. More... | |
| enum class | DistanceUnits { Meters , Kilometers , Feet , NauticalMiles , Yards , Miles , Degrees , Centimeters , Millimeters , Inches , Unknown } |
| HydroCouple::DistanceUnits are the types of units that can be used to measure distance. More... | |
| enum | AreaUnits { SquareMeters , SquareKilometers , SquareFeet , SquareYards , SquareMiles , Hectares , Acres , SquareNauticalMiles , SquareDegrees , SquareCentimeters , SquareMillimeters , SquareInches , Unknown } |
| HydroCouple::AreaUnits are the types of units that can be used to measure area. More... | |
Public Member Functions | |
| virtual | ~IUnit ()=default |
| IUnit::~IUnit is a virtual destructor. | |
| virtual IUnitDimensions * | dimensions () const =0 |
| Fundamental dimensions of the unit. | |
| virtual double | conversionFactorToSI () const =0 |
| Conversion factor to SI ('A' in: SI-value = A * quant-value + B) | |
| virtual double | offsetToSI () const =0 |
| OffSet to SI ('B' in: SI-value = A * quant-value + B). | |
Public Member Functions inherited from HydroCouple::IDescription | |
| virtual | ~IDescription ()=default |
| IDescription::~IDescription is a virtual destructor. | |
| virtual string | caption () const =0 |
| Gets caption for the entity. | |
| virtual void | setCaption (const string &caption)=0 |
| Sets caption for the entity. | |
| virtual string | description () const =0 |
| Gets additional descriptive information for the entity. | |
| virtual void | setDescription (const string &description)=0 |
| Gets additional descriptive information for the entity. | |
Public Member Functions inherited from HydroCouple::IPropertyChanged | |
| virtual | ~IPropertyChanged ()=default |
| IPropertyChanged::~IPropertyChanged is a virtual destructor. | |
Public Member Functions inherited from HydroCouple::ISignal< string > | |
| virtual | ~ISignal ()=default |
| ISignal::~ISignal is a virtual destructor. | |
| virtual void | connect (const shared_ptr< ISlot< Args... > > &slot)=0 |
| connect is used to connect a slot to the signal. | |
| virtual void | disconnect (const shared_ptr< ISlot< Args... > > &slot)=0 |
| disconnect is used to disconnect a slot from the signal. | |
| virtual void | blockSignals (bool block)=0 |
| blockSignals is used to block signals from being emitted. | |
Additional Inherited Members | |
Protected Member Functions inherited from HydroCouple::ISignal< string > | |
| virtual void | emit (Args... args)=0 |
| emit is used to emit the signal. | |
HydroCouple::AreaUnits are the types of units that can be used to measure area.
|
strong |
HydroCouple::DistanceUnits are the types of units that can be used to measure distance.
|
strong |
|
virtualdefault |
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).