comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: object serialization in IDL?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: object serialization in IDL? [message #83872] Thu, 11 April 2013 07:01
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
superchromix writes:

> I have a standalone IDL application that is composed of a number of
> objects (for example, window object and several image objects). I
> would like to be able to save the state of the whole application, and
> then restore it again later. Does anyone know of a good tutorial for
> doing this? I guess it would involve the SAVE and RESTORE methods, or
> some other form of object serialization..?

Tutorial, no. Example, yes.

You can save and restore cgWindows, including all the internal commands,
etc. (Handy for e-mailing to colleagues so they can see exactly what you
are seeing.) You can see how this is done by looking at the SaveCommands
and RestoreCommands methods in the cgCmdWindow object:

http://www.idlcoyote.com/programs/cgcmdwindow__define.pro

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thue. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Previous Topic: SMOOTH not smoothing...
Next Topic: Re: SMOOTH not smoothing...

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 15:26:20 PDT 2025

Total time taken to generate the page: 6.81589 seconds