insight_update
insight_update |
Purpose
Sends a progress update notification for a single metric from the model to the Xpress Insight system. Replaced with
insightupdate
Synopsis
procedure insight_update(type:integer, value:real)
Argument
type
|
The type of metric to update.
|
Further information
1. This function allows the model to report back progress to the system where it is accessible by a client for display.
2. The Xpress Insight event mechanism does not use the mmjobs send function.
3. By default, mminsight registers the
insightupdateprogress function provided by the mminsight package as the callback function for the gapnotify callback. The
insightupdateprogress function calls insightupdate for any metric that has changed. It is expected that the developer will only need to call insightupdate directly if the gapnotify callback is registered against a function provided by the developer.
Related topics