Hi, On Tue, 2008-11-18 at 11:04 -0600, Carsten Neumann wrote: > Hi Andreas, All, > > I'm currently looking at making the singletons SceneFileHandler and > ImageFileHandler replaceable with user derived types [1]. > While looking at the current code I stumbled over the > setReadCB/setWriteCB functions and I'm wondering what these callbacks > are used for, if present they seem to take over the operation of the > SFH/IFH ? What are use cases for these callbacks and could the same > thing be done if there was a way to derive from SFH/IFH and override > some functions ?
just for my understanding what do you expect to override in the top level handler ?. The specific loaders inside can already be replaced. A small problem I see is that it does not seem likely to scale. What do you do if project/lib A needs to use their replacement where as project/lib B theirs. I would not try to encourage this. kind regards, gerrit ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Opensg-core mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/opensg-core
