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 setCancelled (bool cancel)


Detailed Description

Definition at line 91 of file ProgressDelegate.h.


Constructor & Destructor Documentation

PercentProgressDelegate::PercentProgressDelegate ( void   ) 

PercentProgressDelegate::~PercentProgressDelegate ( void   ) 


Member Function Documentation

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:
progress a value between 0 and 1 (progress = <work completed>=""> / <total work>="">)

Implements 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::setCancelled ( bool  cancel  ) 


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

LizardTech