[Insight-developers] itkObjectFactoryBase.cxx

Luis Ibanez luis.ibanez at kitware.com
Wed Nov 21 15:11:17 EST 2007


Hi Bill,

Thanks for pointing this out.

It would be great if you could include in the bug entry
the list of files that must be synchronized between the
CVS head and the ITK 3.4 branch.

I'll then update the files in the 3.4 branch.


   Thanks


     Luis


---------------------
Bill Lorensen wrote:
> Luis,
> 
> You may have noticed that I have been working to get 
> itkObjectFactoryBase so that is can handle class overrides. It turns 
> out, that as far as I can tell, this capability never worked. Now, the 
> factories can be created at run time or loaded from a shared library. In 
> the process, I cleaned up the ObjectFactory destruction code that was 
> crashing on some platforms during exit. Additionally, on the MAC, shared 
> libraries could not be loaded. Oh, and also, the parsing of the load 
> path was incorrect if more than one directory was in the path.
> 
> Currently the tests I added are passing on all platforms that are 
> compiled with shared libraries. The mixing of static and shared libs is 
> not portable across all platforms as far as I can tell, so those 
> platforms that build static do not run the ObjectFactoryTest2.cxx code 
> that loads factories at run time.
> 
> These fixes are important to Slicer3 and we should place them in the itk 
> 3.4 branch that slicer3 will use in it's first non-beta release.
> 
> I will make a bug tracker entry for this in the next couple of days.
> 
> Bill
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Insight-developers mailing list
> Insight-developers at itk.org
> http://www.itk.org/mailman/listinfo/insight-developers


More information about the Insight-developers mailing list