Changes in src/Actions/Process.cpp [24a5e0:7dad10]
- File:
-
- 1 edited
-
src/Actions/Process.cpp (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/Actions/Process.cpp
r24a5e0 r7dad10 13 13 Action(_name,_doRegister), 14 14 maxSteps(_maxSteps), 15 active(false),16 15 starts(false), 17 stops(false) 16 stops(false), 17 active(false) 18 18 {} 19 19 … … 38 38 39 39 int Process::getCurrStep(){ 40 OBSERVE;41 40 return currStep; 42 }43 44 void Process::setCurrStep(int _currStep){45 currStep = _currStep;46 41 } 47 42 … … 52 47 return 0; 53 48 } 54 55 49 int Process::getMaxSteps(){ 56 50 return maxSteps; 57 51 } 58 52 59 void Process::setMaxSteps(int _maxSteps){60 maxSteps = _maxSteps;61 }62 53 63 54 void Process::start(){ … … 78 69 starts = false; 79 70 } 80 81 71 void Process::step(){ 82 72 OBSERVE; 83 73 currStep++; 84 74 } 85 86 75 void Process::stop(){ 87 76 stops = true;
Note:
See TracChangeset
for help on using the changeset viewer.
