GNU Octave
4.4.1
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
ObjectProxy.h
Go to the documentation of this file.
1
/*
2
3
Copyright (C) 2011-2018 Michael Goffioul
4
5
This file is part of Octave.
6
7
Octave is free software: you can redistribute it and/or modify it
8
under the terms of the GNU General Public License as published by
9
the Free Software Foundation, either version 3 of the License, or
10
(at your option) any later version.
11
12
Octave is distributed in the hope that it will be useful, but
13
WITHOUT ANY WARRANTY; without even the implied warranty of
14
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
GNU General Public License for more details.
16
17
You should have received a copy of the GNU General Public License
18
along with Octave; see the file COPYING. If not, see
19
<https://www.gnu.org/licenses/>.
20
21
*/
22
23
#if ! defined (octave_ObjectProxy_h)
24
#define octave_ObjectProxy_h 1
25
26
#include "
uint8NDArray.h
"
27
28
#include <QObject>
29
30
class
QString;
31
32
namespace
QtHandles
33
{
34
35
class
Object;
36
37
class
ObjectProxy
:
public
QObject
38
{
39
Q_OBJECT
40
41
public
:
42
ObjectProxy
(
Object
*obj =
nullptr
);
43
44
void
update
(
int
pId);
45
void
finalize
(
void
);
46
void
redraw
(
void
);
47
void
print
(
const
QString& file_cmd,
const
QString& term);
48
uint8NDArray
get_pixels
(
void
);
49
50
Object
*
object
(
void
) {
return
m_object
; }
51
void
setObject
(
Object
*obj);
52
53
signals:
54
void
sendUpdate
(
int
pId);
55
void
sendFinalize
(
void
);
56
void
sendRedraw
(
void
);
57
void
sendPrint
(
const
QString& file_cmd,
const
QString& term);
58
59
private
:
60
void
init
(
Object
*obj);
61
62
private
:
63
Object
*
m_object
;
64
};
65
66
};
67
68
#endif
QtHandles::ObjectProxy::ObjectProxy
ObjectProxy(Object *obj=nullptr)
Definition:
ObjectProxy.cc:40
QtHandles::ObjectProxy::setObject
void setObject(Object *obj)
Definition:
ObjectProxy.cc:81
QtHandles::Object
Definition:
Object.h:40
QtHandles::ObjectProxy::sendPrint
void sendPrint(const QString &file_cmd, const QString &term)
QtHandles::ObjectProxy::update
void update(int pId)
Definition:
ObjectProxy.cc:88
QObject
QtHandles::ObjectProxy::object
Object * object(void)
Definition:
ObjectProxy.h:50
intNDArray< octave_uint8 >
QtHandles::ObjectProxy::finalize
void finalize(void)
Definition:
ObjectProxy.cc:97
QtHandles
Definition:
__init_qt__.cc:44
QtHandles::ObjectProxy
Definition:
ObjectProxy.h:37
QtHandles::ObjectProxy::init
void init(Object *obj)
Definition:
ObjectProxy.cc:47
uint8NDArray.h
QtHandles::ObjectProxy::sendRedraw
void sendRedraw(void)
QtHandles::ObjectProxy::sendUpdate
void sendUpdate(int pId)
QtHandles::ObjectProxy::m_object
Object * m_object
Definition:
ObjectProxy.h:63
QtHandles::ObjectProxy::redraw
void redraw(void)
Definition:
ObjectProxy.cc:104
QtHandles::ObjectProxy::get_pixels
uint8NDArray get_pixels(void)
Definition:
ObjectProxy.cc:116
QtHandles::ObjectProxy::sendFinalize
void sendFinalize(void)
QtHandles::ObjectProxy::print
void print(const QString &file_cmd, const QString &term)
Definition:
ObjectProxy.cc:110
libgui
graphics
ObjectProxy.h
Generated on Sat Sep 1 2018 14:01:37 for GNU Octave by
1.8.14