23#ifndef INCLUDE_SERVICES_IAPPPOWERMODEHELPER_VTBL_H_
24#define INCLUDE_SERVICES_IAPPPOWERMODEHELPER_VTBL_H_
45 boolean_t (*CheckPowerModeTransaction)(
IAppPowerModeHelper *_this,
const EPowerMode eActivePowerMode,
const EPowerMode eNewPowerMode);
69 return _this->
vptr->Init(_this);
74 return _this->
vptr->ComputeNewPowerMode(_this, xEvent);
79 return _this->
vptr->CheckPowerModeTransaction(_this, eActivePowerMode, eNewPowerMode);
84 return _this->
vptr->DidEnterPowerMode(_this, ePowerMode);
89 return _this->
vptr->GetActivePowerMode(_this);
94 return _this->
vptr->GetPowerStatus(_this);
99 return _this->
vptr->IsLowPowerMode(_this, ePowerMode);
SYS_DEFINE_STATIC_INLINE sys_error_code_t IapmhInit(IAppPowerModeHelper *_this)
Definition IAppPowerModeHelper_vtbl.h:68
SYS_DEFINE_STATIC_INLINE EPowerMode IapmhComputeNewPowerMode(IAppPowerModeHelper *_this, const SysEvent xEvent)
Definition IAppPowerModeHelper_vtbl.h:73
SYS_DEFINE_STATIC_INLINE SysPowerStatus IapmhGetPowerStatus(IAppPowerModeHelper *_this)
Definition IAppPowerModeHelper_vtbl.h:93
SYS_DEFINE_STATIC_INLINE sys_error_code_t IapmhDidEnterPowerMode(IAppPowerModeHelper *_this, EPowerMode ePowerMode)
Definition IAppPowerModeHelper_vtbl.h:83
SYS_DEFINE_STATIC_INLINE boolean_t IapmhCheckPowerModeTransaction(IAppPowerModeHelper *_this, const EPowerMode eActivePowerMode, const EPowerMode eNewPowerMode)
Definition IAppPowerModeHelper_vtbl.h:78
SYS_DEFINE_STATIC_INLINE EPowerMode IapmhGetActivePowerMode(IAppPowerModeHelper *_this)
Definition IAppPowerModeHelper_vtbl.h:88
SYS_DEFINE_STATIC_INLINE boolean_t IapmhIsLowPowerMode(IAppPowerModeHelper *_this, const EPowerMode ePowerMode)
Definition IAppPowerModeHelper_vtbl.h:98
Umbrella header for the basic system features.
Definition IAppPowerModeHelper_vtbl.h:42
Definition IAppPowerModeHelper_vtbl.h:56
const IAppPowerModeHelper_vtbl * vptr
Definition IAppPowerModeHelper_vtbl.h:60
uint16_t sys_error_code_t
Definition syserror.h:41
#define SYS_DEFINE_STATIC_INLINE
Definition systp.h:95