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

Home » Public Forums » archive » Re: IDL objected oriented question
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: IDL objected oriented question [message #34637 is a reply to message #34636] Wed, 09 April 2003 09:33 Go to previous messageGo to previous message
Pavel Romashkin is currently offline  Pavel Romashkin
Messages: 166
Registered: April 1999
Senior Member
There is no question that IDL object implementation is crippled. Just as
there is no question that even as it is, it is very useful.
I have been following the threads addressing heap cleanup and this one,
and - what can we do? - yes, we have to take care of many things that
other languages do on their own.
With regard to Catalyst, I suppose, you just right click on
dfanning.com/catalyst.zip and choose "download to disk", and enjoy :-)
Jokes aside, I thought of doing a similar thing as Catalyst, but for a
different reason - using small widget systems that don't even have to be
visible to help objects do their business. So to say, fill the gaps in
object implementation with widget events, just like in, for instance,
VBA, where objects can simply listen to each other (in addition to true
encapsulation and automatic cleanup :-)
Then of course, it all comes back to a global event sink, object
self-awareness and transmogrification. Which ends up to be a Common
variable or elusive orphaned pointer :-)
The reason I haven't done it is, I never really needed it. Shouldn't be
very difficult and a fun, challenging project. Any takers?

Cheers,
Pavel


> Dave Burridge and I have solved this problem with our Catalyst
> Object Library by wrapping all widgets up as objects. Then widget
> events automatically get sent to event handler *methods* rather
> than event handler procedures. This makes it possible to write
> widget programs in the normal way, but you get to take advantage
> of the many lovely properties of objects, too. It is the best
> of both worlds, really.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: ENVI band math: "b1 gt b2 " , "(b1-b2) gt 0" same or not?
Next Topic: Question on ENVI 3.6

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

Current Time: Wed Oct 08 15:27:51 PDT 2025

Total time taken to generate the page: 0.00457 seconds