mw::mo::mocam::autofocus::Handle::SetCallback Member Function

Syntax

ErrorCodes SetCallback(
    void (*callback)(void*),
    void* param
);

Arguments

Name Description
in callback The user function that will be called using user parameter below.
in param The user parameter that will be passed to the user function above.

Return Values

Return OK if no error.

Description

This method allows the user to give a user function that will be called during autofocus one step calculation (when Calculate is called).
Typical usage will be to use your own user function to yield time to other threads to dispatch autofocus calculation on several frames.

Revision History

2011/03/15
Initial version.

CONFIDENTIAL