Dear MITK developers,

we would like to inform you about a subtle public interface change in 
mitk::DataInteractor:


1.     mitk::DataInteractor::Get/SetDataNode() method signatures changed from 
mitk::DataNode::Pointer to native pointers.

2.     mitk::DataInteractor::NodeType typedef was removed.

Migration is very easy if necessary after all. See the following commit for an 
example:

http://mitk.org/git/?p=MITK.git;a=commitdiff;h=9aa4257396d6a3033dee7be7322cddb2868dad58

Technical background: We removed the cyclic ITK smart pointer dependency 
between mitk::DataNode and mitk::DataInteractor. mitk::DataNode is the owner of 
a mitk::DataInteractor and therefore kept its reference counting pointer, 
whereas mitk::DataInteractor has an mitk::WeakPointer to mitk::DataNode now. In 
addition, mitk::Dispatcher uses mitk::WeakPointers to mitk::DataInteractors now 
and doesn't participate in reference counting for mitk::DataInteractors 
anymore. Both changes are supposed to reduce/prevent memory leaks.

Best regards,
Stefan
------------------------------------------------------------------------------
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to