![]() |
Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members
|
Notify object. More...
#include <FXConcurrent.h>
Public Member Functions | |
| FXCompletion () | |
| Create completion object. | |
| void | wait () |
| Wait till associated tasks are done. | |
| FXbool | done () const |
| Return true if associated tasks are done. | |
| virtual | ~FXCompletion () |
| Destroy completion object. | |
Friends | |
| class | FXConcurrent |
Notify object.
An optional notify object may be passed to FXConcurrent::execute(). When argc new tasks are started, the expected count of completions is incremented by argc. Upon the completion of each task, the expected count is decremented by one; when the count reaches zero, the notify() routine is called. The default implemenation of notify() does nothing. You should subclass Completion and reimplement notify() appropriately.
|
|