21 #ifndef PYTHON_INTERPRETER_WORKER_HH
22 #define PYTHON_INTERPRETER_WORKER_HH
27 #pragma push_macro("slots")
29 #include <boost/python.hpp>
30 #include <boost/shared_ptr.hpp>
31 #pragma pop_macro("slots")
39 namespace ost {
namespace gui {
40 namespace bp = boost::python;
51 void Finished(
unsigned int id,
bool error_state);
52 void Output(
unsigned int id,
const QString& output);
PythonInterpreterWorker()
void Output(unsigned int id, const QString &output)
unsigned int AddCommand(const QString &command)
~PythonInterpreterWorker()
bool is_simple_expression(const QString &expr)
struct sigaction sig_act_
void Finished(unsigned int id, bool error_state)
boost::shared_ptr< OutputRedirector > output_redirector_
boost::shared_ptr< OutputRedirector > error_redirector_
void run_command_(std::pair< unsigned int, QString > pair)
void handle_redirector_output(const QString &output)
void handle_redirector_error(const QString &output)
void ErrorOutput(unsigned int id, const QString &output)
QQueue< std::pair< unsigned int, QString > > exec_queue_
bp::object parse_expr_cmd_