#include <VirtualMachine.h>
|
virtual void | output (QString msg) |
| output Signal emmited when the Virtual Machine receives a string. More...
|
|
virtual void | requestReadline () |
| Signal emmited when the Virtual Machine needs to execute a input operation. More...
|
|
|
std::string | getDescription () const |
| Returns a brief description about the underlying Virtual Machine. More...
|
|
std::string | getName () const |
|
std::string | getTitle () const |
| Return the title of Virtual Machine: a name that can be used by applications to show in a GUI. More...
|
|
std::string | readline () |
| readline Method to be used by the language of the Virtual Machine when doing a input operation. More...
|
|
void | setFileName (QString file) |
| setFileName Sets the file that will be used in the Virtual Machine. More...
|
|
| VirtualMachine () |
|
| ~VirtualMachine () |
| Virtual destructor. More...
|
|
Definition at line 78 of file VirtualMachine.h.
◆ VirtualMachine()
te::vm::python::VirtualMachine::VirtualMachine |
( |
| ) |
|
◆ ~VirtualMachine()
te::vm::python::VirtualMachine::~VirtualMachine |
( |
| ) |
|
|
virtual |
◆ execute
void te::vm::python::VirtualMachine::execute |
( |
| ) |
|
|
slot |
◆ getDescription()
std::string te::vm::python::VirtualMachine::getDescription |
( |
| ) |
const |
|
virtual |
◆ getName()
std::string te::vm::python::VirtualMachine::getName |
( |
| ) |
const |
|
virtual |
◆ getTitle()
std::string te::vm::python::VirtualMachine::getTitle |
( |
| ) |
const |
|
virtual |
◆ output
virtual void te::vm::core::VirtualMachine::output |
( |
QString |
msg | ) |
|
|
virtualsignalinherited |
output Signal emmited when the Virtual Machine receives a string.
- Parameters
-
msg | String received from the Virtual Machine. |
◆ readline() [1/2]
std::string te::vm::python::VirtualMachine::readline |
( |
| ) |
|
|
virtual |
readline Method to be used by the language of the Virtual Machine when doing a input operation.
- Returns
- A string containing the user input.
Implements te::vm::core::VirtualMachine.
◆ readline [2/2]
void te::vm::python::VirtualMachine::readline |
( |
QString |
msg | ) |
|
|
slot |
◆ requestReadline
virtual void te::vm::core::VirtualMachine::requestReadline |
( |
| ) |
|
|
virtualsignalinherited |
Signal emmited when the Virtual Machine needs to execute a input operation.
◆ setFileName()
void te::vm::python::VirtualMachine::setFileName |
( |
QString |
file | ) |
|
|
virtual |
setFileName Sets the file that will be used in the Virtual Machine.
- Parameters
-
file | The full path filename. |
Implements te::vm::core::VirtualMachine.
◆ stop
void te::vm::python::VirtualMachine::stop |
( |
| ) |
|
|
slot |
◆ write
void te::vm::python::VirtualMachine::write |
( |
const QString & |
str | ) |
|
|
slot |
◆ m_filename
std::string te::vm::python::VirtualMachine::m_filename |
|
private |
◆ m_mainThreadState
PyThreadState* te::vm::python::VirtualMachine::m_mainThreadState |
|
private |
◆ m_readlineLoop
QEventLoop* te::vm::python::VirtualMachine::m_readlineLoop |
|
private |
◆ m_readlineStr
std::string te::vm::python::VirtualMachine::m_readlineStr |
|
private |
◆ m_stderr
◆ m_stdin
◆ m_stdout
The documentation for this class was generated from the following file:
- /home/castejon/castejon_files/develop/terralib5/git_release/src/terralib/vm/python/VirtualMachine.h