#include <python_interpreter_worker.hh>
Public Slots | |
| void | Wake () |
Signals | |
| void | Finished (unsigned int id, bool error_state) |
| void | Output (unsigned int id, const QString &output) |
| void | ErrorOutput (unsigned int id, const QString &output) |
Public Member Functions | |
| PythonInterpreterWorker () | |
| unsigned int | AddCommand (const QString &command) |
Protected Slots | |
| void | handle_redirector_output (const QString &output) |
| void | handle_redirector_error (const QString &output) |
Protected Member Functions | |
| bool | is_simple_expression (const QString &expr) |
| void | run_command_ (std::pair< unsigned int, QString > pair) |
| bool | is_simple_expression_ (const QString &expr) |
Protected Attributes | |
| QQueue< std::pair< unsigned int, QString > > | exec_queue_ |
| unsigned int | command_id_ |
| boost::shared_ptr < OutputRedirector > | output_redirector_ |
| boost::shared_ptr < OutputRedirector > | error_redirector_ |
| struct sigaction | sig_act_ |
| bp::object | parse_expr_cmd_ |
| bp::object | repr_ |
| bp::dict | main_namespace_ |
| unsigned int | current_id_ |
Definition at line 15 of file python_interpreter_worker.hh.
| unsigned int AddCommand | ( | const QString & | command | ) |
| void ErrorOutput | ( | unsigned int | id, | |
| const QString & | output | |||
| ) | [signal] |
| void Finished | ( | unsigned int | id, | |
| bool | error_state | |||
| ) | [signal] |
| void handle_redirector_error | ( | const QString & | output | ) | [protected, slot] |
| void handle_redirector_output | ( | const QString & | output | ) | [protected, slot] |
| bool is_simple_expression | ( | const QString & | expr | ) | [protected] |
| bool is_simple_expression_ | ( | const QString & | expr | ) | [protected] |
| void Output | ( | unsigned int | id, | |
| const QString & | output | |||
| ) | [signal] |
| void run_command_ | ( | std::pair< unsigned int, QString > | pair | ) | [protected] |
| void Wake | ( | ) | [slot] |
unsigned int command_id_ [protected] |
Definition at line 39 of file python_interpreter_worker.hh.
unsigned int current_id_ [protected] |
Definition at line 48 of file python_interpreter_worker.hh.
boost::shared_ptr<OutputRedirector> error_redirector_ [protected] |
Definition at line 41 of file python_interpreter_worker.hh.
QQueue<std::pair<unsigned int,QString> > exec_queue_ [protected] |
Definition at line 38 of file python_interpreter_worker.hh.
bp::dict main_namespace_ [protected] |
Definition at line 47 of file python_interpreter_worker.hh.
boost::shared_ptr<OutputRedirector> output_redirector_ [protected] |
Definition at line 40 of file python_interpreter_worker.hh.
bp::object parse_expr_cmd_ [protected] |
Definition at line 45 of file python_interpreter_worker.hh.
bp::object repr_ [protected] |
Definition at line 46 of file python_interpreter_worker.hh.
struct sigaction sig_act_ [read, protected] |
Definition at line 43 of file python_interpreter_worker.hh.
1.5.8