FasterCapObject.SetEndCallback

boolean FasterCapObject.SetEndCallback(IDispatch* callback, BSTR cbName)

Return Value

True if a callback function was set. False if the callback function is reset to default (no callback).

Parameters

callback

Pointer to the client's automation object exposing the callback function. If NULL is passed as argument, the callback will be removed.

cbName

Name of the callback function.

The callback function must have the following prototype:

void cbName()

Remarks

Call this function to set a callback upon FasterCap simulation end. That is, when FasterCap has finished the simulation and results are available, the cbName function will be called to notify the client.

See Also

FasterCap Automation Overview | IsRunning Property | SetLogCallback Method