Hi,

[EMAIL PROTECTED] wrote:
> Author: vossg
> Date: Sat Jul 12 03:36:06 2008
> New Revision: 1380
> Trac changeset: http://opensg.vrsource.org/trac/changeset/1380
> ViewVC: http://realityforge.vrsource.org/viewvc/opensg?view=rev&revision=1380
> 
> Modified:
>    trunk/Source/Base/Base/OSGMemoryObject.h
>    trunk/Source/Base/Base/OSGMemoryObject.inl
>    trunk/Source/System/Cluster/Base/OSGRemoteAspect.cpp
>    trunk/Source/System/FieldContainer/Base/OSGAttachmentContainer.cpp
>    trunk/Source/System/FieldContainer/Base/OSGChangeList.cpp
>    trunk/Source/System/FieldContainer/Base/OSGFieldContainer.h
>    trunk/Source/System/FieldContainer/Base/OSGFieldContainer.inl
>    trunk/Source/System/FieldContainer/Base/OSGFieldContainerType.cpp
>    trunk/Source/System/FieldContainer/Base/OSGRefCountPolicies.h
>    trunk/Source/System/FieldContainer/Base/OSGTransitPtr.inl
> Log:
> fixed: refcount funtion naming
>      : allow memory objects to use the ref/transit ptr

thanks for looking into this. However, ATM something like this

typedef RefCountPtr<GraphOp, UnrecordedRefCountPolicy> GraphOpRefPtr;

is unusable as the ref count policies still expect to operate on 
FieldContainer *.
I'm happy to work on a solution, but wanted to get feedback on which way 
to go:

- move OSGRefCountPolicies.h to Base as well, make them work on 
MemoryObject and derive ReflexiveContainer from MemoryObject.

OR

- like above, but don't derive RC from MO, just add a second set of 
functions to the policies that take MO arguments.

OR

- add a separate set of MemoryObjectRefCountPolicies (?) and use those 
in typedefs like the above.


Comments ?

        Thanks,
                Carsten

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Opensg-core mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-core

Reply via email to