HydroCouple  2.0.0
HydroCouple Interface Definitions
Loading...
Searching...
No Matches
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 ()=default
 IQuantity::~IQuantity is a virtual destructor.
 
virtual IUnitunit () const =0
 Unit of quantity.
 
virtual hydrocouple_variant minValue () const =0
 minValue
 
virtual hydrocouple_variant maxValue () const =0
 maxValue
 
- Public Member Functions inherited from HydroCouple::IValueDefinition
virtual ~IValueDefinition ()=default
 ~IValueDefinition destructor
 
virtual type_info type () const =0
 The object types of value that will be available and is returned by the GetValues function.IPropertyChanged.
 
virtual hydrocouple_variant missingValue () const =0
 The value representing that data is missing.
 
virtual hydrocouple_variant defaultValue () const =0
 Gets the default value of the argument.
 
- 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.
 

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 ( )
virtualdefault

IQuantity::~IQuantity is a virtual destructor.

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: