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

Home » Public Forums » archive » What about real polymorphism ??
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: What about real polymorphism ?? [message #42026 is a reply to message #41991] Tue, 14 December 2004 00:29 Go to previous message
Michael Wallace is currently offline  Michael Wallace
Messages: 409
Registered: December 2003
Senior Member
> A singleton is very possible with IDL:
> Just use a global variable (also as your access point) and
> check its existance in the constructor.

You know you drive all of us OO guys crazy with comments like "just use
a global variable"?

There is a big difference between a global variable and a singleton.
You're only thinking of the access point, not the rest of the pattern.
I'd be VERY surprised if it's possible to implement a true singleton
pattern in IDL. I'd love to be proved wrong, but I don't think it's
possible with IDL's so-called "objects."

Mike
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: building loops at the command line
Next Topic: Reg VarRoi

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

Current Time: Sun Nov 30 12:21:33 PST 2025

Total time taken to generate the page: 1.67382 seconds