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 ?
Thanks,
Carsten
[1] Basically there still would be a global SFH and IFH, but the SFH
holds a pointer to the IFH it uses. By fixing up the uses of the global
SFH/IHF in the Scene/ImageFileType objects and loader implementations it
becomes possible to use also use ones own derived types for SFH/IFH and
have them DTRT.
Comments/other ideas of course welcome :)
-------------------------------------------------------------------------
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