guh - Developer documentation

Type Utils

Types::StateOperator

ConstantValueDescription
Types::StateOperatorAnd0The logical AND & operator for two States
Types::StateOperatorOr1The logical OR | operator for two States

Types::ValueOperator

ConstantValueDescription
Types::ValueOperatorEquals0The = operator to compare two values of a Param.
Types::ValueOperatorNotEquals1The != operator to compare two values of a Param.
Types::ValueOperatorLess2The < operator to compare two values of a Param.
Types::ValueOperatorGreater3The > operator to compare two values of a Param.
Types::ValueOperatorLessOrEqual4The <= operator to compare two values of a Param.
Types::ValueOperatorGreaterOrEqual5The >= operator to compare two values of a Param.

Types::InputType

ConstantValueDescription
Types::InputTypeNone0The ParamType has no InputType
Types::InputTypeTextLine1The ParamType suggests a string text line as InputType
Types::InputTypeTextArea2The ParamType suggests a string text area as InputType
Types::InputTypePassword3The ParamType indicates that this is a password InputType. Maby the characters should be covered.
Types::InputTypeSearch4The ParamType indicates that this is a search InputType.
Types::InputTypeMail5The ParamType indicates that a mail address is requested as InputType.
Types::InputTypeIPv4Address6The ParamType indicates that a IPv4 address is requested as InputType.
Types::InputTypeIPv6Address7The ParamType indicates that a IPv6 address is requested as InputType.
Types::InputTypeUrl8The ParamType indicates that a URL is requested as InputType.
Types::InputTypeMacAddress9The ParamType indicates that a MAC hardware address is requested as InputType.

Types::Unit

ConstantValueDescription
Types::UnitNone0The value of the Param has no unit.
Types::UnitSeconds1The value of the Param has unit [s] → seconds.
Types::UnitMinutes2The value of the Param has unit [min] → minutes.
Types::UnitHours3The value of the Param has unit [h] → hours.
Types::UnitUnixTime4The value of the Param has unit [s] → seconds since epoch.
Types::UnitMeterPerSecond5The value of the Param has unit [m/s] → meters per second.
Types::UnitKiloMeterPerHour6The value of the Param has unit [km/h] → kilo meters per hour.
Types::UnitDegree7The value of the Param has unit [°] → degree.
Types::UnitRadiant8The value of the Param has unit [rad] → radiant.
Types::UnitDegreeCelsius9The value of the Param has unit [°C] → degree celsius.
Types::UnitDegreeKelvin10The value of the Param has unit [°K] → kelvin.
Types::UnitMired11The value of the Param has unit [mir] → mired.
Types::UnitMilliBar12The value of the Param has unit [mbar] → milli bar.
Types::UnitBar13The value of the Param has unit [bar] → bar.
Types::UnitPascal14The value of the Param has unit [Pa] → pascal.
Types::UnitHectoPascal15The value of the Param has unit [hPa] → hecto pascal.
Types::UnitAtmosphere16The value of the Param has unit [atm] → atmosphere.
Types::UnitLumen17The value of the Param has unit [lm] → lumen.
Types::UnitLux18The value of the Param has unit [lx] → lux.
Types::UnitCandela19The value of the Param has unit [cd] → candela.
Types::UnitMilliMeter20The value of the Param has unit [mm] → milli meter.
Types::UnitCentiMeter21The value of the Param has unit [cm] → centi meter.
Types::UnitMeter22The value of the Param has unit [m] → meter.
Types::UnitKiloMeter23The value of the Param has unit [km] → kilo meter.
Types::UnitGram24The value of the Param has unit [g] → gram.
Types::UnitKiloGram25The value of the Param has unit [gg] → kilo gram.
Types::UnitDezibel26The value of the Param has unit [db] → dezibel.
Types::UnitBpm27The value of the Param has unit [db] → dezibel.
Types::UnitKiloByte28The value of the Param has unit [kB] → kilo byte.
Types::UnitMegaByte29The value of the Param has unit [MB] → mega byte.
Types::UnitGigaByte30The value of the Param has unit [GB] → giga byte.
Types::UnitTeraByte31The value of the Param has unit [TB] → tera byte.
Types::UnitMilliWatt32The value of the Param has unit [mW] → milli watt.
Types::UnitWatt33The value of the Param has unit [W] → watt.
Types::UnitKiloWatt34The value of the Param has unit [kW] → kilo watt.
Types::UnitKiloWattHour35The value of the Param has unit [kWh] → kilo watt hour.
Types::UnitEuroPerMegaWattHour36The value of the Param has unit [€/MWh] → euro per mega watt hour.
Types::UnitPercentage37The value of the Param has unit [%] → percentage.
Types::UnitPartsPerMillion38The value of the Param has unit [ppm] → parts per million.
Types::UnitEuro39The value of the Param has unit [€] → euro.
Types::UnitDollar40The value of the Param has unit [$] → dollar.
Types::UnitHerz41The value of the Param has unit [Hz] → herz.
Types::UnitAmpere42The value of the Param has unit [A] → ampere.
Types::UnitMilliAmpere43The value of the Param has unit [mA] → milli ampere.
Types::UnitVolt44The value of the Param has unit [V] → volt.
Types::UnitMilliVolt45The value of the Param has unit [mV] → milli volt.
Types::UnitVoltAmpere46The value of the Param has unit [VA] → volt ampere.
Types::UnitVoltAmpereReactive47The value of the Param has unit [var] → volt-ampere reactive.
Types::UnitAmpereHour48The value of the Param has unit [Ah] → ampere hour.

UUID Types

PluginId

This class is a subclass of QUuid and represents the id of a DevicePlugin.

VendorId

This class is a subclass of QUuid and represents the id of a Vendor.

ParamTypeId

This class is a subclass of QUuid and represents the id of a ParamType.

DeviceClassId

This class is a subclass of QUuid and represents the id of a DeviceClass.

DeviceId

This class is a subclass of QUuid and represents the id of a Device.

DeviceDescriptorId

This class is a subclass of QUuid and represents the id of a DeviceDescriptor.

EventTypeId

This class is a subclass of QUuid and represents the id of a EventType.

EventId

This class is a subclass of QUuid and represents the id of a Event.

StateTypeId

This class is a subclass of QUuid and represents the id of a StateType.

StateId

This class is a subclass of QUuid and represents the id of a State.

ActionTypeId

This class is a subclass of QUuid and represents the id of a ActionType.

ActionId

This class is a subclass of QUuid and represents the id of a Action and RuleAction.

RuleId

This class is a subclass of QUuid and represents the id of a guhserver::Rule.

PairingTransactionId

This class is a subclass of QUuid and represents the id of a pairing transaction.