MrSID Decode SDK for Raster Reference Manual
9.0.0.3864
|
progress delegate (callback) base class More...
#include <lti_delegates.h>
Public Member Functions | |
virtual | ~LTIProgressDelegate (void) |
virtual LT_STATUS | setProgressStatus (float percentComplete)=0 |
set percent completed |
This abstract class is used for implementing a mechanism to report the progress (percent complete) of a potentially long-running operation. During these sorts of operations, an object which has a progress delegate may periodically call the delegate's setProgressStatus() method to report the percent of the operation completed.
Progress delegates are typically used in GUI environments as a means of displaying percent-complete or time-remaining.
A "delegate" is simply an object-oriented version of a callback function.
Definition at line 72 of file lti_delegates.h.
virtual LTIProgressDelegate::~LTIProgressDelegate | ( | void | ) | [virtual] |
virtual LT_STATUS LTIProgressDelegate::setProgressStatus | ( | float | percentComplete | ) | [pure virtual] |
This function should be implemented to report to the client application the progress of a long-running operation.
percentComplete | the percent complete; this must be a value in the range 0.0 to 1.0 inclusive |