Parent Topic: IMPTERMPROGRESSCOUNTER

IMPProgressFunc

IMPProgressFunc is a typedef type used for functions intended to be used to report progress. It superceeds the pre-V6.2 PCICounter function. The type is defined in ccltask.h, and look like this:

 typedef TBool  (*IMPProgressFunc)( double dfComplete,
                                    const char *pszMessage,
                                    void * pProgressData );
Progress counter functions called to report progress to the user in an application specific way. Three common progress functions are IMPTermProgressCounter() (for producing a text odometer for PACE programs), IMPDummyProgress() which is a progress function that does not do anything and SGLMonitorProgress() which works with a SGLMonitor object.

Algorithms that wish to implement IMPProgressFunc services are expected to do the following:

See Also: IMPTermProgressCounter(), SGLMonitor, IMPCreateCumulativeProgress(), IMPTermProgressViaCounter()


Parent Topic: IMPTERMPROGRESSCOUNTER
About PCI Help Gateway