Changeset 78b9d9 for molecuilder/src/Actions/Process.hpp
- Timestamp:
- Mar 3, 2010, 1:57:41 PM (16 years ago)
- Children:
- 14d898
- Parents:
- dc5413
- File:
-
- 1 edited
-
molecuilder/src/Actions/Process.hpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
molecuilder/src/Actions/Process.hpp
rdc5413 r78b9d9 19 19 #include "Actions/Action.hpp" 20 20 21 /** 22 * A Process is an Action that might take some time and therefore has special 23 * methods to allow communication with progress indicators. Indicators 24 * can sign on at a global place and will be notified when any process is doing 25 * a calculation. 26 * 27 * A Process has four states: 28 * - starting: It is in the process of setting itself up, and wants everybody to know that it will start 29 * the calculation soon. Indicators should set up anything they need for displaying the progress 30 * when they are notified by a process in this state. 31 * - active: The process is currently doing it's thing and wants any indicator to know it's status, i.e. 32 * the percentage done. 33 * - stopping: The process has fullfilled it's purpose and is shutting down. Indicators recieving this status 34 * should also use it to shut down their indication mechanism and delete any objects allocated for 35 * this Process 36 * - inactive: This Process is currently sleeping. If a Process is sending out any signals in this state, there 37 * is something seriously wrong. 38 */ 21 39 class Process : public Action, public Observable 22 40 {
Note:
See TracChangeset
for help on using the changeset viewer.
