![]() |
IDS peak AFL v1.8.0
|
Event notification callbacks for brightness control component operations. More...
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 function for a specific brightness component. | |
Event notification callbacks for brightness control component operations.
It is possible to be informed for specific events via callbacks. Callbacks provide real-time feedback about controller operations and enable responsive application behavior.
Finished will be called when the controller has completed its operation and reached the target value.
When called:
Processing will be called during image processing to provide real-time feedback.
When called:
Important Threading Notes:
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 function for a specific brightness component.
Configures a callback function that will be invoked when specific events occur for an individual brightness component within a brightness controller. Callbacks provide asynchronous notification of component state changes, processing completion, convergence events, or errors. This enables responsive application behavior and real-time monitoring of brightness adjustment mechanisms.
| [in] | controller | Controller handle for which to set the brightness component callback |
| [in] | component | Brightness component for which to configure the callback. Available components include exposure time, analog gain, digital gain, and other brightness adjustment mechanisms. See peak_afl_controller_brightness_component for available options. |
| [in] | type | Type of callback event to monitor. Different types correspond to different component events such as processing completion, convergence, or status changes. See peak_afl_callback_type for available options. |
| [in] | funcPtr | Function pointer to the callback function. Set to NULL to disable the callback, or provide a valid function pointer to enable it. The callback signature must match the specified callback type. |
| [in] | context | User-defined context pointer that will be passed as the last parameter to the callback function. Can be NULL if no context is needed. |