DBProgressProtocol documentation

Authors

Riccardo Mottola

Copyright: (C) 2012-2015 Free Software Foundation

Software documentation for the DBProgressProtocol protocol

DBProgressProtocol

Declared in:
DBProgressProtocol.h
Conforms to:
NSObject
Description forthcoming.
Method summary

incrementCurrentValue: 

- (void) incrementCurrentValue: (unsigned long)amount;
increments the current value by given amount

reset 

- (void) reset;
reinitializes internal status (current, maxmimum and percentage)

setCurrentDescription: 

- (void) setCurrentDescription: (NSString*)desc;
Sets a description of the current phase

setCurrentValue: 

- (void) setCurrentValue: (unsigned long)current;
Sets the current progress, e.g. the current count

setEnd 

- (void) setEnd;
Forces completion

setMaximumValue: 

- (void) setMaximumValue: (unsigned long)max;
Sets the maximum value expected on which to calculate progress on.
E.g. it could be the maximum expected number of records.

setShouldStop: 

- (void) setShouldStop: (BOOL)flag;
marks if the process associated should stop

shouldStop 

- (BOOL) shouldStop;
if the process the progress is associated should stop