![]() |
IDS peak AFL v1.7.0
|
Functions | |
| PEAK_AFL_API_STATUS | peak_afl_AutoController_BrightnessComponent_Callback_Set (peak_afl_controller_handle controller, peak_afl_controller_brightness_component component, peak_afl_callback_type type, void *funcPtr, void *context) |
| Set a callback for a controller component. | |
It is possible to be informed for specific events via callbacks. The following callbacks are available:
Finished callback will only be called when the controller runs in Once mode.| PEAK_AFL_API_STATUS peak_afl_AutoController_BrightnessComponent_Callback_Set | ( | peak_afl_controller_handle | controller, |
| peak_afl_controller_brightness_component | component, | ||
| peak_afl_callback_type | type, | ||
| void * | funcPtr, | ||
| void * | context ) |
Set a callback for a controller component.
Set funcPtr to NULL to disable the callback. Set funcPtr to !NULL to enable the callback.
The callback set by funcPtr will be called with context as its last parameter.
For a list of valid types see peak_afl_callback_type.
| [in] | controller | controller handle |
| [out] | component | brightness component |
| [in] | type | callback type |
| [in] | funcPtr | function pointer |
| [in] | context | pointer |