MrSID Decode SDK for LiDAR Reference Manual  1.1.4.4709
PercentProgressDelegate Class Reference

#include <ProgressDelegate.h>

Inheritance diagram for PercentProgressDelegate:
ProgressDelegate

List of all members.

Public Member Functions

 PercentProgressDelegate (void)
 ~PercentProgressDelegate (void)
void reportProgress (double fractionDone, const char *message)
 Displays the progress of the operation.
bool getCancelled (void)
 Indicate weather the operation should be cancelled.
void displayWarning (const char *message)
void setCancelled (bool cancel)

Detailed Description

Definition at line 95 of file ProgressDelegate.h.


Constructor & Destructor Documentation


Member Function Documentation

void PercentProgressDelegate::displayWarning ( const char *  message) [virtual]

Reimplemented from ProgressDelegate.

bool PercentProgressDelegate::getCancelled ( void  ) [virtual]

This method should be implemented to indicate whether some user-defined event indicates that the operation should be terminated.

Returns:
return true to cancel the long-running operation

Implements ProgressDelegate.

void PercentProgressDelegate::reportProgress ( double  progress,
const char *  message 
) [virtual]

This method should be implemented to report to the client application the progress of a long-running operation.

Parameters:
progressa value between 0 and 1 (progress = <work completed>=""> / <total work>="">)

Implements ProgressDelegate.


The documentation for this class was generated from the following file: