- Timestamp:
- 12/03/12 21:50:11 (12 years ago)
- Location:
- trunk/FACT++/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/StateMachineDimControl.cc
r14674 r14718 66 66 } 67 67 68 int StateMachineDimControl::Write(const Time &time, const std::string &txt, int qos) 69 { 70 if (txt=="") 71 { 72 return ChangeState(qos, time, Readline::GetScriptDepth(), Readline::GetScript(), fScriptUser); 68 int StateMachineDimControl::ChangeState(int state) 69 { 70 return ChangeState(state, Time(), Readline::GetScriptDepth(), Readline::GetScript(), fScriptUser); 73 71 /* 74 72 === This might be necessary for thread safety, … … 84 82 return PostEvent(evt); 85 83 */ 86 }87 88 // if (qos<fVerbosity)89 // return 0;90 91 return StateMachineDim::Write(time, txt, qos);92 84 } 93 85 -
trunk/FACT++/src/StateMachineDimControl.h
r14674 r14718 41 41 static bool fIsServer; 42 42 43 int ChangeState(int qos, const Time &time =Time(), int scriptdepth=-1, std::string scriptfile="", std::string user="");44 int Write(const Time &time, const std::string &txt, int qos=kMessage);43 int ChangeState(int qos, const Time &time, int scriptdepth, std::string scriptfile, std::string user); 44 int ChangeState(int state); 45 45 46 46 int StartScript(const EventImp &imp, const std::string &cmd);
Note:
See TracChangeset
for help on using the changeset viewer.