29 #ifndef CORE_PYTHON_PYTHONINTERPRETER_H
30 #define CORE_PYTHON_PYTHONINTERPRETER_H
33 #include <boost/shared_ptr.hpp>
34 #include <boost/signals2/signal.hpp>
71 void initialize_eventhandler();
81 void run_string(
const std::string& command );
86 void run_script(
const std::string& script );
91 void run_file(
const std::string& file_name );
99 void start_terminal();
109 friend class ::PythonStdIO;
116 static std::string EscapeSingleQuotedString(
const std::string& input_str );
console_output_signal_type prompt_signal_
Definition: PythonInterpreter.h:104
#define SCISHARE
Definition: share.h:39
console_output_signal_type error_signal_
Definition: PythonInterpreter.h:105
boost::shared_ptr< PythonInterpreterPrivate > PythonInterpreterPrivateHandle
Definition: PythonInterpreter.h:52
#define CORE_SINGLETON(name)
Definition: Singleton.h:59
console_output_signal_type output_signal_
Definition: PythonInterpreter.h:106
boost::signals2::signal< void(const std::string &) > console_output_signal_type
Definition: PythonInterpreter.h:103
A wrapper class of the python interpreter.
Definition: PythonInterpreter.h:55
Definition: PythonInterpreter.cc:60
Definition: PythonInterpreter.cc:162