|
AppCore
|
#include <SystemBusinessLogic.h>

Public Types | |
| enum | FeatureType { FeaturePowerDownKey = 0, FeatureCtrAltDelKey = 1, FeatureSpecialPowerNotifyKeys = 3, FeatureDisableUi = 4, FeaturePowerWatchdog = 5, FeatureKeyboardAutorepeat = 6, FeatureEnableKeyboard = 10, FeaturePowerDownKey = 0, FeatureCtrAltDelKey = 1, FeatureSpecialPowerNotifyKeys = 3, FeatureDisableUi = 4, FeaturePowerWatchdog = 5, FeatureKeyboardAutorepeat = 6, FeatureEnableKeyboard = 10 } |
| enum | FeatureType { FeaturePowerDownKey = 0, FeatureCtrAltDelKey = 1, FeatureSpecialPowerNotifyKeys = 3, FeatureDisableUi = 4, FeaturePowerWatchdog = 5, FeatureKeyboardAutorepeat = 6, FeatureEnableKeyboard = 10, FeaturePowerDownKey = 0, FeatureCtrAltDelKey = 1, FeatureSpecialPowerNotifyKeys = 3, FeatureDisableUi = 4, FeaturePowerWatchdog = 5, FeatureKeyboardAutorepeat = 6, FeatureEnableKeyboard = 10 } |
Public Member Functions | |
| SystemBusinessLogic () | |
| virtual | ~SystemBusinessLogic () |
| virtual bool | GetConnectionBoardNumber (long &connectionBoardNumber) const =0 |
| virtual bool | GetConnectionBoardNumber (QString &connectionBoardNumberText) const =0 |
| virtual bool | GetIPAddress (const QString &device, QString &ipAddressOut) const =0 |
| virtual bool | SetIPAddress (const QString &device, const QString &ipAddress) const =0 |
| virtual bool | GetMacAddress (const QString &device, QString &macAddressOut) const =0 |
| virtual bool | GetOSVersion (QString &osVersion) const =0 |
| virtual bool | GetDeviceSerialNumber (QString &serialNumber) const =0 |
| virtual bool | GetDeviceSerialNumber (int64_t &serialNumber) const =0 |
| virtual bool | GetCompanyID (int32_t &companyId) const =0 |
| virtual bool | GetCompanyID (QString &companyId) const =0 |
| virtual bool | GetWlanIface (QString &wlanInterface, int8_t id=0) const =0 |
| virtual bool | GetGsmInterface (QString &gsmInterface) const =0 |
| virtual bool | GetChipsetVersion (QString &chipsetVersion) const =0 |
| virtual bool | GetRootFSVersion (QString &rootFileSystemVersion) const =0 |
| virtual bool | GetBuildNumber (QString &buildNumber, QString specificFilePath="") |
| virtual bool | GetReleaseNumber (QString &releaseNumber) |
| virtual bool | GetJenkinsBuildNumber (QString &jenkinsBuildNumber) |
| virtual bool | GetBuildTime (QDateTime &buildTime) |
| virtual bool | GetWlanSignalStrength (bool &present, int &signalStrength) const |
| virtual bool | GetGPRSSignalStrength (bool &present, int &signalStrength) const |
| virtual bool | GetBrightness (int &brightness) const =0 |
| virtual bool | SetBrightness (int brightness)=0 |
| virtual bool | GetBrightnessTable (std::vector< int > &brightnessTable) const =0 |
| virtual bool | GetLightSensorValueInLux (int &value) const =0 |
| virtual bool | GetPowerSupplyState (bool &isPowerLoss) const =0 |
| virtual bool | GetBatteryVoltage (uint16_t &batteryVoltage) const =0 |
| virtual void | SlaveDeviceServoUnlock () const =0 |
| virtual void | SlaveDeviceServoLock () const =0 |
| virtual bool | SetDevicesBlockOut (bool blockoutEnabled) const =0 |
| SetDevicesBlockOut - sets BlockOut signal on deviceInterface. More... | |
| virtual void | ApplicationUIReady () const =0 |
| virtual bool | IsWlanIfaceOnline (bool &isWlanIfaceOnline) const =0 |
| virtual bool | GetWakeupInput (bool &stayRunning) const =0 |
| GetWakeupInput - check if wakeupInput is true (engine is running) More... | |
| virtual bool | GetEngineIgnitionState (bool &engineIsRunning) const |
| GetEngineIgnitionState - returns current engine ignition state / ignition switch state (it is analogy to block signal on 2.4 a 2.6 slaves) More... | |
| virtual bool | SetPowerOffTime (const int powerOffValueInSeconds) const |
| SetPowerOffTime - sets device power off time value. More... | |
| virtual bool | SetSystemFeature (FeatureType feature, bool enable) const =0 |
| SetSystemFeature - sets device feature. More... | |
| virtual bool | SetShutdownTimeOnBattery (const int seconds) const |
| SetShutdownTimeOnBattery. More... | |
| SystemBusinessLogic () | |
| virtual | ~SystemBusinessLogic () |
| virtual bool | GetConnectionBoardNumber (long &connectionBoardNumber) const =0 |
| virtual bool | GetConnectionBoardNumber (QString &connectionBoardNumberText) const =0 |
| virtual bool | GetIPAddress (const QString &device, QString &ipAddressOut) const =0 |
| virtual bool | SetIPAddress (const QString &device, const QString &ipAddress) const =0 |
| virtual bool | GetMacAddress (const QString &device, QString &macAddressOut) const =0 |
| virtual bool | GetOSVersion (QString &osVersion) const =0 |
| virtual bool | GetDeviceSerialNumber (QString &serialNumber) const =0 |
| virtual bool | GetDeviceSerialNumber (int64_t &serialNumber) const =0 |
| virtual bool | GetCompanyID (int32_t &companyId) const =0 |
| virtual bool | GetCompanyID (QString &companyId) const =0 |
| virtual bool | GetWlanIface (QString &wlanInterface, int8_t id=0) const =0 |
| virtual bool | GetGsmInterface (QString &gsmInterface) const =0 |
| virtual bool | GetChipsetVersion (QString &chipsetVersion) const =0 |
| virtual bool | GetRootFSVersion (QString &rootFileSystemVersion) const =0 |
| virtual bool | GetBuildNumber (QString &buildNumber, QString specificFilePath="") |
| virtual bool | GetReleaseNumber (QString &releaseNumber) |
| virtual bool | GetJenkinsBuildNumber (QString &jenkinsBuildNumber) |
| virtual bool | GetBuildTime (QDateTime &buildTime) |
| virtual bool | GetWlanSignalStrength (bool &present, int &signalStrength) const |
| virtual bool | GetGPRSSignalStrength (bool &present, int &signalStrength) const |
| virtual bool | GetBrightness (int &brightness) const =0 |
| virtual bool | SetBrightness (int brightness)=0 |
| virtual bool | GetBrightnessTable (std::vector< int > &brightnessTable) const =0 |
| virtual bool | GetLightSensorValueInLux (int &value) const =0 |
| virtual bool | GetPowerSupplyState (bool &isPowerLoss) const =0 |
| virtual bool | GetBatteryVoltage (uint16_t &batteryVoltage) const =0 |
| virtual void | SlaveDeviceServoUnlock () const =0 |
| virtual void | SlaveDeviceServoLock () const =0 |
| virtual bool | SetDevicesBlockOut (bool blockoutEnabled) const =0 |
| SetDevicesBlockOut - sets BlockOut signal on deviceInterface. More... | |
| virtual void | ApplicationUIReady () const =0 |
| virtual bool | IsWlanIfaceOnline (bool &isWlanIfaceOnline) const =0 |
| virtual bool | GetWakeupInput (bool &stayRunning) const =0 |
| GetWakeupInput - check if wakeupInput is true (engine is running) More... | |
| virtual bool | GetEngineIgnitionState (bool &engineIsRunning) const |
| GetEngineIgnitionState - returns current engine ignition state / ignition switch state (it is analogy to block signal on 2.4 a 2.6 slaves) More... | |
| virtual bool | SetPowerOffTime (const int powerOffValueInSeconds) const |
| SetPowerOffTime - sets device power off time value. More... | |
| virtual bool | SetSystemFeature (FeatureType feature, bool enable) const =0 |
| SetSystemFeature - sets device feature. More... | |
| virtual bool | SetShutdownTimeOnBattery (const int seconds) const |
| SetShutdownTimeOnBattery. More... | |
Protected Member Functions | |
| bool | GetDataFromBuildTXT (QString &output, QString prefix, QString delimiter, QString path="", bool valueOnNewLine=false) |
| bool | GetDataFromBuildTXT (QString &output, QString prefix, QString delimiter, QString path="", bool valueOnNewLine=false) |
| SystemBusinessLogic::SystemBusinessLogic | ( | ) |
|
virtual |
| SystemBusinessLogic::SystemBusinessLogic | ( | ) |
|
virtual |
|
pure virtual |
Implemented in VesnaSystemBusinessLogic, VesnaSystemBusinessLogic, EmtestXScale26SystemBusinessLogic, EmtestXScaleSystemBusinessLogic, I386SystemBusinessLogic, EmtestXScale26SystemBusinessLogic, EmtestXScaleSystemBusinessLogic, I386SystemBusinessLogic, and MikroCortexA8SystemBusinessLogic.
|
pure virtual |
Implemented in VesnaSystemBusinessLogic, VesnaSystemBusinessLogic, EmtestXScale26SystemBusinessLogic, EmtestXScaleSystemBusinessLogic, I386SystemBusinessLogic, EmtestXScale26SystemBusinessLogic, EmtestXScaleSystemBusinessLogic, I386SystemBusinessLogic, and MikroCortexA8SystemBusinessLogic.
|
pure virtual |
Implemented in VesnaSystemBusinessLogic, VesnaSystemBusinessLogic, EmtestXScale26SystemBusinessLogic, EmtestXScaleSystemBusinessLogic, I386SystemBusinessLogic, EmtestXScale26SystemBusinessLogic, EmtestXScaleSystemBusinessLogic, I386SystemBusinessLogic, and MikroCortexA8SystemBusinessLogic.
|
pure virtual |
Implemented in VesnaSystemBusinessLogic, VesnaSystemBusinessLogic, EmtestXScale26SystemBusinessLogic, EmtestXScaleSystemBusinessLogic, I386SystemBusinessLogic, EmtestXScale26SystemBusinessLogic, EmtestXScaleSystemBusinessLogic, I386SystemBusinessLogic, and MikroCortexA8SystemBusinessLogic.
|
pure virtual |
Implemented in VesnaSystemBusinessLogic, VesnaSystemBusinessLogic, EmtestXScale26SystemBusinessLogic, EmtestXScaleSystemBusinessLogic, I386SystemBusinessLogic, EmtestXScale26SystemBusinessLogic, EmtestXScaleSystemBusinessLogic, I386SystemBusinessLogic, and MikroCortexA8SystemBusinessLogic.
|
pure virtual |
Implemented in VesnaSystemBusinessLogic, VesnaSystemBusinessLogic, EmtestXScale26SystemBusinessLogic, EmtestXScaleSystemBusinessLogic, I386SystemBusinessLogic, EmtestXScale26SystemBusinessLogic, EmtestXScaleSystemBusinessLogic, I386SystemBusinessLogic, and MikroCortexA8SystemBusinessLogic.
|
pure virtual |
Implemented in VesnaSystemBusinessLogic, VesnaSystemBusinessLogic, EmtestXScale26SystemBusinessLogic, EmtestXScaleSystemBusinessLogic, I386SystemBusinessLogic, EmtestXScale26SystemBusinessLogic, EmtestXScaleSystemBusinessLogic, I386SystemBusinessLogic, and MikroCortexA8SystemBusinessLogic.
|
pure virtual |
Implemented in VesnaSystemBusinessLogic, VesnaSystemBusinessLogic, EmtestXScale26SystemBusinessLogic, EmtestXScaleSystemBusinessLogic, I386SystemBusinessLogic, EmtestXScale26SystemBusinessLogic, EmtestXScaleSystemBusinessLogic, I386SystemBusinessLogic, and MikroCortexA8SystemBusinessLogic.
|
virtual |

|
virtual |
|
virtual |

|
virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
protected |

|
protected |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
virtual |
GetEngineIgnitionState - returns current engine ignition state / ignition switch state (it is analogy to block signal on 2.4 a 2.6 slaves)
| engineIsRunning | - true if engine is currently running, false otherwise |
Reimplemented in MikroCortexA8SystemBusinessLogic.
|
virtual |
GetEngineIgnitionState - returns current engine ignition state / ignition switch state (it is analogy to block signal on 2.4 a 2.6 slaves)
| engineIsRunning | - true if engine is currently running, false otherwise |
Reimplemented in MikroCortexA8SystemBusinessLogic.
|
virtual |
Reimplemented in VesnaSystemBusinessLogic, and VesnaSystemBusinessLogic.
|
virtual |
Reimplemented in VesnaSystemBusinessLogic, and VesnaSystemBusinessLogic.
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
virtual |

|
virtual |
|
pure virtual |
Implemented in VesnaSystemBusinessLogic, VesnaSystemBusinessLogic, EmtestXScale26SystemBusinessLogic, EmtestXScaleSystemBusinessLogic, I386SystemBusinessLogic, EmtestXScale26SystemBusinessLogic, EmtestXScaleSystemBusinessLogic, I386SystemBusinessLogic, and MikroCortexA8SystemBusinessLogic.
|
pure virtual |
Implemented in VesnaSystemBusinessLogic, VesnaSystemBusinessLogic, EmtestXScale26SystemBusinessLogic, EmtestXScaleSystemBusinessLogic, I386SystemBusinessLogic, EmtestXScale26SystemBusinessLogic, EmtestXScaleSystemBusinessLogic, I386SystemBusinessLogic, and MikroCortexA8SystemBusinessLogic.
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
Implemented in VesnaSystemBusinessLogic, VesnaSystemBusinessLogic, EmtestXScale26SystemBusinessLogic, EmtestXScaleSystemBusinessLogic, I386SystemBusinessLogic, EmtestXScale26SystemBusinessLogic, EmtestXScaleSystemBusinessLogic, I386SystemBusinessLogic, and MikroCortexA8SystemBusinessLogic.
|
pure virtual |
Implemented in VesnaSystemBusinessLogic, VesnaSystemBusinessLogic, EmtestXScale26SystemBusinessLogic, EmtestXScaleSystemBusinessLogic, I386SystemBusinessLogic, EmtestXScale26SystemBusinessLogic, EmtestXScaleSystemBusinessLogic, I386SystemBusinessLogic, and MikroCortexA8SystemBusinessLogic.
|
virtual |

|
virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
GetWakeupInput - check if wakeupInput is true (engine is running)
| stayRunning | - true if application should remain running, false if application should change state to suspend |
Implemented in VesnaSystemBusinessLogic, VesnaSystemBusinessLogic, EmtestXScale26SystemBusinessLogic, EmtestXScaleSystemBusinessLogic, I386SystemBusinessLogic, EmtestXScale26SystemBusinessLogic, EmtestXScaleSystemBusinessLogic, I386SystemBusinessLogic, and MikroCortexA8SystemBusinessLogic.
|
pure virtual |
GetWakeupInput - check if wakeupInput is true (engine is running)
| stayRunning | - true if application should remain running, false if application should change state to suspend |
Implemented in VesnaSystemBusinessLogic, VesnaSystemBusinessLogic, EmtestXScale26SystemBusinessLogic, EmtestXScaleSystemBusinessLogic, I386SystemBusinessLogic, EmtestXScale26SystemBusinessLogic, EmtestXScaleSystemBusinessLogic, I386SystemBusinessLogic, and MikroCortexA8SystemBusinessLogic.
|
pure virtual |
|
pure virtual |
|
virtual |
Reimplemented in VesnaSystemBusinessLogic, and VesnaSystemBusinessLogic.
|
virtual |
Reimplemented in VesnaSystemBusinessLogic, and VesnaSystemBusinessLogic.
|
pure virtual |
Implemented in VesnaSystemBusinessLogic, VesnaSystemBusinessLogic, EmtestXScale26SystemBusinessLogic, EmtestXScaleSystemBusinessLogic, I386SystemBusinessLogic, EmtestXScale26SystemBusinessLogic, EmtestXScaleSystemBusinessLogic, I386SystemBusinessLogic, and MikroCortexA8SystemBusinessLogic.
|
pure virtual |
Implemented in VesnaSystemBusinessLogic, VesnaSystemBusinessLogic, EmtestXScale26SystemBusinessLogic, EmtestXScaleSystemBusinessLogic, I386SystemBusinessLogic, EmtestXScale26SystemBusinessLogic, EmtestXScaleSystemBusinessLogic, I386SystemBusinessLogic, and MikroCortexA8SystemBusinessLogic.
|
pure virtual |
Implemented in VesnaSystemBusinessLogic, VesnaSystemBusinessLogic, EmtestXScale26SystemBusinessLogic, EmtestXScaleSystemBusinessLogic, I386SystemBusinessLogic, EmtestXScale26SystemBusinessLogic, EmtestXScaleSystemBusinessLogic, I386SystemBusinessLogic, and MikroCortexA8SystemBusinessLogic.
|
pure virtual |
Implemented in VesnaSystemBusinessLogic, VesnaSystemBusinessLogic, EmtestXScale26SystemBusinessLogic, EmtestXScaleSystemBusinessLogic, I386SystemBusinessLogic, EmtestXScale26SystemBusinessLogic, EmtestXScaleSystemBusinessLogic, I386SystemBusinessLogic, and MikroCortexA8SystemBusinessLogic.
|
pure virtual |
SetDevicesBlockOut - sets BlockOut signal on deviceInterface.
| blockoutEnabled |
Implemented in VesnaSystemBusinessLogic, VesnaSystemBusinessLogic, EmtestXScale26SystemBusinessLogic, EmtestXScaleSystemBusinessLogic, I386SystemBusinessLogic, EmtestXScale26SystemBusinessLogic, EmtestXScaleSystemBusinessLogic, I386SystemBusinessLogic, and MikroCortexA8SystemBusinessLogic.
|
pure virtual |
SetDevicesBlockOut - sets BlockOut signal on deviceInterface.
| blockoutEnabled |
Implemented in VesnaSystemBusinessLogic, VesnaSystemBusinessLogic, EmtestXScale26SystemBusinessLogic, EmtestXScaleSystemBusinessLogic, I386SystemBusinessLogic, EmtestXScale26SystemBusinessLogic, EmtestXScaleSystemBusinessLogic, I386SystemBusinessLogic, and MikroCortexA8SystemBusinessLogic.
|
pure virtual |
|
pure virtual |
|
virtual |
SetPowerOffTime - sets device power off time value.
| powerOffValueInSeconds | - power off timer value, when time runs out, device will power off itself |
Reimplemented in MikroCortexA8SystemBusinessLogic.
|
virtual |
SetPowerOffTime - sets device power off time value.
| powerOffValueInSeconds | - power off timer value, when time runs out, device will power off itself |
Reimplemented in MikroCortexA8SystemBusinessLogic.
|
virtual |
SetShutdownTimeOnBattery.
| seconds | - shutdown time when device has lost input voltage |
Reimplemented in MikroCortexA8SystemBusinessLogic.
|
virtual |
SetShutdownTimeOnBattery.
| seconds | - shutdown time when device has lost input voltage |
Reimplemented in MikroCortexA8SystemBusinessLogic.
|
pure virtual |
SetSystemFeature - sets device feature.
| feature | - device feature based on |
| enable | - true if device feature will be enabled |
Implemented in MikroCortexA8SystemBusinessLogic, VesnaSystemBusinessLogic, VesnaSystemBusinessLogic, EmtestXScale26SystemBusinessLogic, EmtestXScaleSystemBusinessLogic, I386SystemBusinessLogic, EmtestXScale26SystemBusinessLogic, EmtestXScaleSystemBusinessLogic, and I386SystemBusinessLogic.
|
pure virtual |
SetSystemFeature - sets device feature.
| feature | - device feature based on |
| enable | - true if device feature will be enabled |
Implemented in MikroCortexA8SystemBusinessLogic, VesnaSystemBusinessLogic, VesnaSystemBusinessLogic, EmtestXScale26SystemBusinessLogic, EmtestXScaleSystemBusinessLogic, I386SystemBusinessLogic, EmtestXScale26SystemBusinessLogic, EmtestXScaleSystemBusinessLogic, and I386SystemBusinessLogic.
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
1.8.8