Re: finalizations RFE

New Message Reply Date view Thread view Subject view Author view

Jim Helman (jimh++at++surreal)
Thu, 22 Feb 96 14:07:34 -0800


> How about being able to register a finalization function
> that gets called from the pfObject destructor (eg: to
> manage user data memory) ?

pfDeleteFunc() registers such a function globally.

Per-class notification could be added without much
expense via a virtual function. Per-instance
notification would require an extra pointer (word) per
instantiated pfObject, which would be somewhat expensive
compared to its utility, at least if delete notification
were all it was used for.

A future version of Performer will have notification on a
per-instance basis available for destruction, as well as
other changes to an object.

Keep the RFEs coming. Now is a particularly good time to
bring up any limitations you've found, especially if
solutions might affect fundamental elements of Performer,
such as its memory, object, traversal or graphics
architecture.

rgds,

-jim helman

jimh++at++surreal.asd.sgi.com
IRIS Performer/Cosmo3D Java Library
415/933-1151


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:52:26 PDT

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.