Cancelable Class Reference
Inheritance diagram for Cancelable:
Public Member Functions
|Destroy a Cancelable object. |
|virtual void||cancel ()=0|
|virtual bool||isCanceled ()=0|
- Eric Crahen <http://www.code-foo.com>
A cancel()ed object may not necessarily abort it work immediately. Often, it much more elegant for a cancel()ed object to complete handling whatever responsibilities have been assigned to it, but it will not take on any new responsibility.
A cancel()ed should complete its responsibilities as soon as possible. Canceling is not only a request to stop taking on new responsibility, and to complete its current responsibility. Its also a request to complete dealing with its current responsibilities, quickly when possible.
Member Function Documentation
Canceling a Cancelable object makes a request to disable that object. This entails refusing to take on any new responsibility, and completing its current responsibilities quickly.
Canceling an object more than once has no effect.
Determine if a Cancelable object has been canceled.
The documentation for this class was generated from the following file: