GNU Octave
4.2.1
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
Main Page
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
libgui
src
octave-interpreter.h
Go to the documentation of this file.
1
/*
2
3
Copyright (C) 2013-2017 John W. Eaton
4
Copyright (C) 2011-2016 Jacob Dawid
5
6
This file is part of Octave.
7
8
Octave is free software; you can redistribute it and/or modify it
9
under the terms of the GNU General Public License as published by the
10
Free Software Foundation; either version 3 of the License, or (at your
11
option) any later version.
12
13
Octave is distributed in the hope that it will be useful, but WITHOUT
14
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
15
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
16
for more details.
17
18
You should have received a copy of the GNU General Public License
19
along with Octave; see the file COPYING. If not, see
20
<http://www.gnu.org/licenses/>.
21
22
*/
23
24
#if ! defined (octave_octave_interpreter_h)
25
#define octave_octave_interpreter_h 1
26
27
#include <QObject>
28
29
#include "
octave.h
"
30
31
#include "
thread-manager.h
"
32
33
class
octave_interpreter
:
public
QObject
34
{
35
Q_OBJECT
36
37
public
:
38
39
// An object to manage the Octave interpreter.
40
41
octave_interpreter
(octave::application *app_context);
42
43
~octave_interpreter
(
void
) { }
44
45
signals:
46
47
void
octave_ready_signal
();
48
49
public
slots:
50
51
// Initialize and execute the octave interpreter.
52
53
void
execute
(
void
);
54
55
void
interrupt
(
void
);
56
57
private
:
58
59
octave_thread_manager
thread_manager
;
60
61
octave::application *
m_app_context
;
62
63
int
m_exit_status
;
64
};
65
66
#endif
octave_interpreter::~octave_interpreter
~octave_interpreter(void)
Definition:
octave-interpreter.h:43
octave_interpreter::interrupt
void interrupt(void)
Definition:
octave-interpreter.cc:54
octave_interpreter
Definition:
octave-interpreter.h:33
QObject
octave_interpreter::m_exit_status
int m_exit_status
Definition:
octave-interpreter.h:63
octave_interpreter::execute
void execute(void)
Definition:
octave-interpreter.cc:38
octave_interpreter::octave_ready_signal
void octave_ready_signal()
Definition:
moc-octave-interpreter.cc:105
octave_thread_manager
Definition:
thread-manager.h:53
thread-manager.h
octave_interpreter::m_app_context
octave::application * m_app_context
Definition:
octave-interpreter.h:61
octave_interpreter::octave_interpreter
octave_interpreter(octave::application *app_context)
Definition:
octave-interpreter.cc:32
octave.h
octave_interpreter::thread_manager
octave_thread_manager thread_manager
Definition:
octave-interpreter.h:59
Generated on Wed May 10 2017 15:42:43 for GNU Octave by
1.8.8