mirror of
https://github.com/pocoproject/poco.git
synced 2025-05-03 15:58:23 +02:00
trunk/branch integration: documentation
This commit is contained in:
parent
aa5edec47a
commit
06dad528cf
@ -83,10 +83,14 @@ public:
|
|||||||
/// The value will be between 0.0 (just started)
|
/// The value will be between 0.0 (just started)
|
||||||
/// and 1.0 (completed).
|
/// and 1.0 (completed).
|
||||||
|
|
||||||
void cancel();
|
virtual void cancel();
|
||||||
/// Requests the task to cancel itself. For cancellation
|
/// Requests the task to cancel itself. For cancellation
|
||||||
/// to work, the task's runTask() method must periodically
|
/// to work, the task's runTask() method must periodically
|
||||||
/// call isCancelled() and react accordingly.
|
/// call isCancelled() and react accordingly.
|
||||||
|
///
|
||||||
|
/// Can be overridden to implement custom behavior,
|
||||||
|
/// but the base class implementation of cancel() should
|
||||||
|
/// be called to ensure proper behavior.
|
||||||
|
|
||||||
bool isCancelled() const;
|
bool isCancelled() const;
|
||||||
/// Returns true if cancellation of the task has been
|
/// Returns true if cancellation of the task has been
|
||||||
|
Loading…
x
Reference in New Issue
Block a user