Changeset 18167
- Timestamp:
- 04/10/15 12:12:34 (10 years ago)
- Location:
- trunk/FACT++/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/StateMachineDimControl.cc
r16830 r18167 123 123 } 124 124 125 int StateMachineDimControl::StopScript() 126 { 127 Info("Stop received."); 125 int StateMachineDimControl::StopScript(const EventImp &imp) 126 { 127 const string str(imp.GetString()); 128 129 string msg("Stop received"); 130 msg += str.empty() ? "." : " ["+str+"]"; 131 132 Info(msg); 128 133 129 134 Readline::StopScript(); … … 529 534 530 535 AddEvent("STOP", "C") 531 (bind(&StateMachineDimControl::StopScript, this ))536 (bind(&StateMachineDimControl::StopScript, this, placeholders::_1)) 532 537 ("Stop a runnning batch script or JavaScript"); 533 538 -
trunk/FACT++/src/StateMachineDimControl.h
r15430 r18167 47 47 48 48 int StartScript(const EventImp &imp, const std::string &cmd); 49 int StopScript( );49 int StopScript(const EventImp &imp); 50 50 int InterruptScript(const EventImp &imp); 51 51
Note:
See TracChangeset
for help on using the changeset viewer.