Skip to content

OnPowerTuningChanged

Navigation: ADLX SDK ReferencesADLX InterfacesPower TuningIADLXPowerTuningChangedListener

Syntax

adlx_bool    OnPowerTuningChanged (IADLXPowerTuningChangedEvent* pPowerTuningChangedEvent)

Parameters

#DirectionNameTypeDescription
1.[in]pPowerTuningChangedEventIADLXPowerTuningChangedEventThe pointer to a power tuning settings change event.

Return Value

If the application requires ADLX to continue notifying the next listener, true must be returned.

If the application requires ADLX to stop notifying the next listener, false must be returned.

Remarks

Once the application registers to the notifications with AddPowerTuningEventListener, ADLX will call this method until the application unregisters from the notifications with RemovePowerTuningEventListener. The method should return quickly to not block the execution path in ADLX. If the method requires a long processing of the event notification, the application must hold onto a reference to the power tuning settings change event with Acquire and make it available on an asynchronous thread and return immediately. When the asynchronous thread is done processing it must discard the power tuning settings change event with Release.

Requirements

Headerinclude “IPowerTuning.h”
Minimum version1.2

See Also: Acquire, Release, IADLXPowerTuningChangedEvent, AddPowerTuningEventListener, RemovePowerTuningEventListener