|
From: Nigel N. <nN...@au...> - 2004-12-11 15:02:25
|
Hi all,=0D =0D Thanks to Hans-Bernhard for setting the (wx) scene.=0D --- On Friday, 10 December 2004 HBB wrote: --- > Ethan Merritt wrote: >> On Tuesday 07 December 2004 09:34 am, Petr Mikulik wrote: >>=0D >>> Again, since wx transmogrifies into a native app on each >>> platform, the same option would still be available for >>> term=3Dwx on a Win32/64 box. =0D >>=0D >> What is this "term=3Dwx"; is that an out-of-tree gnuplot=0D >> driver, or something else entirely? > > Nigel Nunn seems otherwise occupied, so I'll bite: it's a=0D > hypothetical new driver, to be built by extending Nigel's=0D > work on integrating gnuplot into other apps, as a GUI control=0D > (original an MFC control, now, apparently, a wx Widget). My (ever-evolving, monolithic) simulation environment needs=0D a number of plotting panels. These are managed by the app, and plots are generated by simulation threads. Since most=0D academics appear to prefer their flavor of *nix rather than=0D HPC-Win64 on a rack of multi-core blades, there was little=0D interest in my VC-specific version... hence I migrated the=0D whole show to wxWidgets.=0D My experimental term wx works well, but the Gnuplot's use=0D of global variables effectively limits us to a single panel.=0D This could be fixed by packaging these globals in a struct,=0D and associating one such struct with each display panel.=0D =0D =0D >> Or do you mean that rather than reading from a real file, >> you want gnuplot to read from a shared-memory area? > > That's what he meant. gnuplot-as-a-library, if it is to make=0D > sense, needs a way to get data passed in by huge blocks, from=0D > the calling application. Going through an ASCII data file=0D > would be pretty foolish for that, but a shared memory-mapped=0D > file of binary data would do it. > > In other words, a named pipe by usage, but implemented in a=0D > more Windows-ish fashion. Memory-mapped files were one of those neat innovations the=0D DEC engineers built into their NT-OS for their Alpha, before=0D Microsoft bought everything and everyone involved.=0D =0D Nigel=0D =0D =0D =0D ___________________________________________________________________________= ________ This message is intended for the addressee named and may contain= confidential and=0D privileged information. If you are not the intended recipient please note= that any=0D form of distribution, copying or use of this communication or the= information in it=0D is strictly prohibited and may be unlawful. If you receive this message in= error,=0D please delete it and notify the sender. Keep up to date with what's happening in Australian sport. Visit= www.ausport.gov.au ___________________________________________________________________________= ________=0D |