HI Wang Rui et. al.,

On Mon, Jan 25, 2010 at 9:55 AM, Robert Osfield
<[email protected]> wrote:
> Today I'll start refactoring the old DotOsgWrapper code so it isn't so
> tightly bound into osgDB::Registry.  I would like to start
> rationalizing on the headers as well - I don't want to break the build
> for current users, but I also want to have leass headers in osgDB that
> are for deprecated classes.  I'll look at the present
> deprecated_dotosg_wrappers to see which heads they use and avoid
> modifying them as I do my tweak.

I've now completed this refactor.  Changes I've made are:

  Removed the include/osgDB/Filed, FieldReader and FieldReadIterator
headers, moving their
  class definitions into include/osgDB/Input.  Added /** deprecated.
*/ to front of all these
  classes.

   Refactored osgDB::Registry so that all the
DotOsgWrapper/osgDB::Input/osgDB::Output
   related methods are now moved out into a
DeprecatedDotOsgWrapperManager class.

The change I had to make to the rest of the OSG was
include/osgWidget/StyleManager
that had an include<osgDB/FileReadIterator>, so I just changed the
include into osgDB/Input.  This classes will need to refactored later
down the road to use the new IO scheme, or simply rewritten so that
the IO is provided via a plugin.

None of the src/osgWrappes/deprecated_dotosg/ needed modifying as they
all include osgDB/Input/Ouput/DotOsgWrapper.  I'm optimistic that 3rd
party NodeKits won't need modifying either, and if they do it should
be simply a case of adding an #include<osgDB/Input> and removing use
of the old headers.

With these changes I haven't removed any old functionality, just moved
classes within headers.

Cheers,
Robert.
_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org

Reply via email to