[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [RFC] External control of Octave via IPC
From: |
Søren Hauberg |
Subject: |
Re: [RFC] External control of Octave via IPC |
Date: |
Tue, 20 Jan 2009 15:34:51 +0100 |
tir, 20 01 2009 kl. 09:30 -0500, skrev John Swensen:
> Would it be possible to define the same interface (not necessarily
> what is in the octave_server class right now) that returns data in the
> exact same way for both DBus and direct function call
> implementations? I think an IPC method of interacting with Octave is
> important (think better distributed octave implementations, making a
> Octave Engine similar to the Matlab Engine, etc), but when running in
> the same process as Octave, it is altogether unecessary.
I guess you could make some wrapper class around the DBus calls that
behaves like octave_server. In more high-level languages (like Python)
DBus calls behaves just like ordinary functions, but in C/C++ it is a
bit more tedious, so some wrapper would be needed.
Soren