On Sat, 2006-06-10 at 07:46 -0700, Sullivan, Joseph (CDR) wrote:
> Hi Tim,
> You're most definitly correct, the tutorials don't make consistent use of 
> ref_ptrs.
> Here's one good place to start: 
> http://dburns.dhs.org/OSG/Articles/RefPointers/RefPointers.html.
> Not sure if this caveat has been incorporated: 
> http://dburns.dhs.org/osgarchiver/archives/February2004/0336.html

It kinda has been in "Rule of Thumb #5" ... The simple answer is that
ownership wrt strong pointer implemenations that don't support cycles
(like ref_ptr) is always directed. Therefore in the Caveat #4, either
class A or class B must be designed to hold a ref_ptr to (ie own) the
other.

Regards,
Marcus

-- 
Mark Barnes
COLLADA Project Lead, tel:+1.650.655.7342
Sony Computer Entertainment America
http://research.scea.com

_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to