Changeset abd4a1 for molecuilder/src/Actions/ActionSequence.cpp
- Timestamp:
- Apr 8, 2010, 2:00:11 PM (16 years ago)
- Children:
- 91b18cd
- Parents:
- 770138
- File:
-
- 1 edited
-
molecuilder/src/Actions/ActionSequence.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
molecuilder/src/Actions/ActionSequence.cpp
r770138 rabd4a1 36 36 } 37 37 38 ActionSequence::stateSet ActionSequence::callAll(){ 38 // this method is used outside the ActionModule 39 // Each action registers itself with the history 40 void ActionSequence::callAll(){ 41 for(actionSet::iterator it=actions.begin(); it!=actions.end(); it++){ 42 // we want to have a global bookkeeping for all actions in the sequence, so 43 // we bypass the normal call 44 (*it)->call(); 45 } 46 } 47 48 // This method is used internally when MakroActions are constructed. 49 // In this case only the makro Action should be registered and 50 // handle the states 51 ActionSequence::stateSet ActionSequence::callAll(bool){ 39 52 stateSet states; 40 53 for(actionSet::iterator it=actions.begin(); it!=actions.end(); it++){
Note:
See TracChangeset
for help on using the changeset viewer.
