ProgressData¶
-
class
ProgressData()¶ ProgressData to manage a
doneand atodocounter.Each
SyncData()instance has an associated ProgressData instance. SeeSyncData.progressData(). The information of that ProgressData instance is used, when the current syncstate is prefixed bysend.,eval.orprepare.. SeeSyncData.setSyncState().-
ProgressData.done¶ Getter for the
donecounter.
-
ProgressData.inc(value=1)¶ Increment the
donecounter.Arguments: - value (integer) –
OptionalSet incrementation value.
- value (integer) –
-
ProgressData.reset(done=0, todo=0)¶ Reset
doneandtodocounter.Arguments: - done (integer) –
OptionalSet a value for thedonecounter. - todo (integer) –
OptionalSet a value for thetodocounter.
- done (integer) –
-
ProgressData.todo¶ Getter for the
todocounter.
-