Changeset 1614a17 for molecuilder/src/Actions
- Timestamp:
- Feb 25, 2010, 11:15:22 AM (16 years ago)
- Children:
- f467c6
- Parents:
- 536380 (diff), 2e6496 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)links above to see all the changes relative to each parent. - Location:
- molecuilder/src/Actions
- Files:
-
- 6 added
- 2 edited
-
AtomsCalculation.hpp (added)
-
AtomsCalculation_impl.hpp (added)
-
Calculation.hpp (added)
-
Calculation_impl.hpp (added)
-
ManipulateAtomsProcess.cpp (added)
-
ManipulateAtomsProcess.hpp (added)
-
Process.cpp (modified) (3 diffs)
-
Process.hpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
molecuilder/src/Actions/Process.cpp
r536380 r1614a17 38 38 39 39 int Process::getCurrStep(){ 40 OBSERVE; 40 41 return currStep; 42 } 43 44 void Process::setCurrStep(int _currStep){ 45 currStep = _currStep; 41 46 } 42 47 … … 47 52 return 0; 48 53 } 54 49 55 int Process::getMaxSteps(){ 50 56 return maxSteps; 51 57 } 52 58 59 void Process::setMaxSteps(int _maxSteps){ 60 maxSteps = _maxSteps; 61 } 53 62 54 63 void Process::start(){ … … 69 78 starts = false; 70 79 } 80 71 81 void Process::step(){ 72 82 OBSERVE; 73 83 currStep++; 74 84 } 85 75 86 void Process::stop(){ 76 87 stops = true; -
molecuilder/src/Actions/Process.hpp
r536380 r1614a17 29 29 bool doesStop(); 30 30 int getCurrStep(); 31 void setCurrStep(int _currStep); 31 32 float getDoneRatio(); 32 33 int getMaxSteps(); 34 void setMaxSteps(int _maxSteps); 33 35 34 36 protected:
Note:
See TracChangeset
for help on using the changeset viewer.
