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

Home » Public Forums » archive » Where is the trick in objects
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Where is the trick in objects [message #34633] Wed, 09 April 2003 18:48
Thomas Gutzler is currently offline  Thomas Gutzler
Messages: 44
Registered: November 2002
Member
Hi,

I think I ran into a little problem while trying to program my own
object. I can create it, work with it, and destroy it. But I can't get
rid of uncleared heap variables.
I tried a ::KILL method which uses 'heap_free, self' or ptr_free and
obj_delete on several self.variables and self.objects.
obj_destroy, myobject doesn't work, too.

I'm kind of clueless.
I had a look at FSC_PsConfig which hasn't a single obj_delete and just
one ptr_free and it uses its own base widget, too.

My object generates a base widget and some dependent widgets (draw, ..),
views an image and a polyline and modifies this image. I think, closing
the base widget without a cleanup-function causes the leak, but PsConfig
doesn't have a cleanup, too :/

Anyway, if somebody wants to have a look at the object, it's there:
http://mugiri-in-au.dyndns.tv:8000/Uni/GUI_CC__define.pro
Don't be scared of bad style, it's not a final :)

thx,
Tom

P.S: I'm also looking for a better way to move the large arrays around.
I think GetProperty, all=all isn't very fast, is it?
[Message index]
 
Read Message
Previous Topic: Filled contour like plot without interpolation?
Next Topic: porting IDL code to OS X

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

Current Time: Wed Oct 08 14:52:28 PDT 2025

Total time taken to generate the page: 0.00394 seconds