QIviWindowControlBackendInterface Class

Backend interface for QIviWindowControl. More...

Header: #include <QIviWindowControlBackendInterface>
qmake: QT += ivivehiclefunctions
Inherits: QIviZonedFeatureInterface

Public Functions

virtual QIviPendingReply<void> close(const QString &zone) = 0
virtual QIviPendingReply<void> open(const QString &zone) = 0
virtual void setBlindMode(QtIviVehicleFunctionsModule::BlindMode blindMode, const QString &zone) = 0
virtual void setHeaterMode(QtIviVehicleFunctionsModule::HeaterMode heaterMode, const QString &zone) = 0

Signals

void blindModeChanged(QtIviVehicleFunctionsModule::BlindMode blindMode = QtIviVehicleFunctionsModule::BlindOpen, const QString &zone = QString())
void blindStateChanged(QtIviVehicleFunctionsModule::WindowState blindState = QtIviVehicleFunctionsModule::FullyOpen, const QString &zone = QString())
void heaterChanged(bool heater = bool(false), const QString &zone = QString())
void heaterModeChanged(QtIviVehicleFunctionsModule::HeaterMode heaterMode = QtIviVehicleFunctionsModule::HeaterOn, const QString &zone = QString())
void stateChanged(QtIviVehicleFunctionsModule::WindowState state = QtIviVehicleFunctionsModule::FullyOpen, const QString &zone = QString())

Detailed Description

The QIviWindowControlBackendInterface is the interface used by QIviWindowControl.

The interface is discovered by a QIviWindowControl object, which connects to it and sets up the connections to it.

See also QIviWindowControl.

Member Function Documentation

[signal] void QIviWindowControlBackendInterface::blindModeChanged(QtIviVehicleFunctionsModule::BlindMode blindMode = QtIviVehicleFunctionsModule::BlindOpen, const QString &zone = QString())

The signal is emitted when the blindMode property changed to blindMode.

The value of zone indicates the zone this property should be changed in.

See also setBlindMode and QIviWindowControl::blindMode.

[signal] void QIviWindowControlBackendInterface::blindStateChanged(QtIviVehicleFunctionsModule::WindowState blindState = QtIviVehicleFunctionsModule::FullyOpen, const QString &zone = QString())

The signal is emitted when the blindState property changed to blindState.

The value of zone indicates the zone this property should be changed in.

See also QIviWindowControl::blindState.

[signal] void QIviWindowControlBackendInterface::heaterChanged(bool heater = bool(false), const QString &zone = QString())

The signal is emitted when the heater property changed to heater.

The value of zone indicates the zone this property should be changed in.

See also QIviWindowControl::heater.

[signal] void QIviWindowControlBackendInterface::heaterModeChanged(QtIviVehicleFunctionsModule::HeaterMode heaterMode = QtIviVehicleFunctionsModule::HeaterOn, const QString &zone = QString())

The signal is emitted when the heaterMode property changed to heaterMode.

The value of zone indicates the zone this property should be changed in.

See also setHeaterMode and QIviWindowControl::heaterMode.

[signal] void QIviWindowControlBackendInterface::stateChanged(QtIviVehicleFunctionsModule::WindowState state = QtIviVehicleFunctionsModule::FullyOpen, const QString &zone = QString())

The signal is emitted when the state property changed to state.

The value of zone indicates the zone this property should be changed in.

See also QIviWindowControl::state.

[pure virtual] QIviPendingReply<void> QIviWindowControlBackendInterface::close(const QString &zone)

Closes the window, if not already in the QIviWindowControl::Closed state.

The value of zone indicates the zone this operation should be done in.

[pure virtual] QIviPendingReply<void> QIviWindowControlBackendInterface::open(const QString &zone)

Opens the window, if not already in the QIviWindowControl::FullyOpen state.

The value of zone indicates the zone this operation should be done in.

[pure virtual] void QIviWindowControlBackendInterface::setBlindMode(QtIviVehicleFunctionsModule::BlindMode blindMode, const QString &zone)

Setter for QIviWindowControl::blindMode. Sets the property blindMode to the new value passed by blindMode.

The value of zone indicates the zone this property should be changed in.

This method is expected to emit a blindModeChanged() signal when the internal state changes due to this function call. The signal is even expected to be emitted if the given blindMode is out of range and no actual change takes place.

See also blindModeChanged().

[pure virtual] void QIviWindowControlBackendInterface::setHeaterMode(QtIviVehicleFunctionsModule::HeaterMode heaterMode, const QString &zone)

Setter for QIviWindowControl::heaterMode. Sets the property heaterMode to the new value passed by heaterMode.

The value of zone indicates the zone this property should be changed in.

This method is expected to emit a heaterModeChanged() signal when the internal state changes due to this function call. The signal is even expected to be emitted if the given heaterMode is out of range and no actual change takes place.

See also heaterModeChanged().

© 2020 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.