#include <octave_connection.h>
Octave input and output are controlled by this class.
Public Slots | |
void | octaveOutputSlot () |
void | octaveErrorOutputSlot () |
Signals | |
void | line_ready (QString line) |
Emits this signal when line is available from stderr of Octave. | |
void | output_ready (QString output) |
void | error_ready (QString error) |
void | command_ready (QString command) |
Public Member Functions | |
OctaveConnection (QObject *parent=0) | |
void | setOctavePath (const QString path) |
Sets octave path. | |
void | startOctave () |
void | command_enter (const QString &text, bool show=true) |
Sends command to Octave. | |
Private Attributes | |
QString | octave_path |
QString | line_buffer |
QBuffer | error_buffer |
OctaveConnection::OctaveConnection | ( | QObject * | parent = 0 |
) |
void OctaveConnection::command_enter | ( | const QString & | text, | |
bool | show = true | |||
) |
void OctaveConnection::command_ready | ( | QString | command | ) | [signal] |
void OctaveConnection::error_ready | ( | QString | error | ) | [signal] |
void OctaveConnection::line_ready | ( | QString | line | ) | [signal] |
Emits this signal when line is available from stderr of Octave.
void OctaveConnection::octaveErrorOutputSlot | ( | ) | [slot] |
void OctaveConnection::octaveOutputSlot | ( | ) | [slot] |
void OctaveConnection::output_ready | ( | QString | output | ) | [signal] |
void OctaveConnection::setOctavePath | ( | const QString | path | ) |
Sets octave path.
path | path to Octave. |
void OctaveConnection::startOctave | ( | ) |
QBuffer OctaveConnection::error_buffer [private] |
QString OctaveConnection::line_buffer [private] |
QString OctaveConnection::octave_path [private] |