ProgressData¶
-
class
ProgressData
()¶ ProgressData to manage a
done
and atodo
counter.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
done
counter.
-
ProgressData.
inc
(value=1)¶ Increment the
done
counter.Arguments: - value (integer) –
Optional
Set incrementation value.
- value (integer) –
-
ProgressData.
reset
(done=0, todo=0)¶ Reset
done
andtodo
counter.Arguments: - done (integer) –
Optional
Set a value for thedone
counter. - todo (integer) –
Optional
Set a value for thetodo
counter.
- done (integer) –
-
ProgressData.
todo
¶ Getter for the
todo
counter.
-