FACT++  1.0
int StateMachineDimControl::StopScript ( const EventImp imp)

Definition at line 125 of file StateMachineDimControl.cc.

References EventImp::GetString(), InterpreterV8::JsStop(), Readline::StopScript(), and str.

Referenced by StateMachineDimControl().

126 {
127  const string str(imp.GetString());
128 
129  string msg("Stop received");
130  msg += str.empty() ? "." : " ["+str+"]";
131 
132  Info(msg);
133 
136  return GetCurrentState();
137 }
int GetCurrentState() const
return the current state of the machine
char str[80]
Definition: test_client.c:7
std::string GetString() const
Definition: EventImp.cc:194
static void JsStop()
static void StopScript()
Definition: Readline.h:112
int Info(const std::string &str)
Definition: MessageImp.h:47

+ Here is the call graph for this function:

+ Here is the caller graph for this function: