Ticket #203 (closed: fixed)
Extend Algorithm base class to allow algorithms to execute asynchronously
Reported by: | Nick Draper | Owned by: | Roman Tolchenov |
---|---|---|---|
Priority: | major | Milestone: | Iteration 11 |
Component: | Keywords: | ||
Cc: | Blocked By: | ||
Blocking: | Tester: |
Description
The base class should be extended to add an ExecuteAsync method. This should run the Exec method in a separate thread and communicate the result back through some callback mechanism (Boost.Signals?).
Once this works the QTIPLOT interface should be altered to use this as the primary method of running algorithms.
Change History
comment:10 Changed 12 years ago by Roman Tolchenov
- Status changed from new to closed
- Resolution set to fixed
comment:11 Changed 5 years ago by Stuart Campbell
This ticket has been transferred to github issue 1051
Note: See
TracTickets for help on using
tickets.
(In [1300]) re #203. New Algorithm::executeAsync() method runs the algorithm in a separate thread. It posts Poco::Notifications when it starts and finishes and also when an exception is thrown. Algorithms can send notifications about their progress by calling Algorithm::progress() method.