Hi all,

I wish to supply my own plugin for the "zip" format, which unzips to memory. 

I've created my plugin derived from the existing "zip" plugin, overridden the 
readnode functions for file and stream, and at the bottom of my class I've 
called the RegisterReaderWriterProxy template for my class.

It all appears to work, but I now have two "zip" file format plugins. The 
original, and mine. My one gets called second due to the way the 
RegisterReaderWriterProxy template appends to the existing list of known 
plugins, the plugin it is given.

Ideally I would like to remove the existing plugin from the known list, thus 
there would only be my zip file plugin, and life is happy. However I am unclear 
how to do this, or even whether it is possible. Can anyone suggest what to do 
please ?

I can see that there is a call removeReaderWriter in the registry, but can't 
see how I could call it with the original "zip" plugin reader, as this would 
surely have problems at shut down when the proxy class was destroyed.

Please help

Neil.

_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to