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

Home » Public Forums » archive » Re: singleton usage
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: singleton usage [message #47610 is a reply to message #47609] Tue, 21 February 2006 06:06 Go to previous messageGo to previous message
vcarlos is currently offline  vcarlos
Messages: 21
Registered: February 2006
Junior Member
Hi Antonio,

I saw the system variable singleton implementation, but what I am in
doubt is about the usage of the pattern itself. Since everytime I need
a reference to the singleton object in my objects I need to call a
myObject = Singleton() statement, or initialize an attribute in every
object needing a reference to the singleton. But what if I just create
a read only system variable and use it over my whole program? (this
variable would be an instance of my "singleton" class)

Thanks

Vinicius
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: IDL Graphics Objects & Heap Variables
Next Topic: Adding a GEOTIFF header to a (large) TIF file

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

Current Time: Thu Oct 09 20:22:32 PDT 2025

Total time taken to generate the page: 0.40193 seconds