Hi Gerrit,
Gerrit Voss wrote:
>> I'm currently thinking about how to handle the FieldBundles correctly
>> with the reference counting pointers that are now stored in Fields.
>
> just move the ref counting from the generated functions to your ptr
> classes.
Well, the problem is more about what to do concerning internal/external
refcounts and the respective pointers, and about Parent pointers. Do the
FBs need those, too?
>> My understanding so far was that they do not have the multi-aspect
>> copies of containers, but are transported over the network for
>> clustering. However, that does not entirely match the code on trunk. If
>> that is indeed the desired functionality, but it just is not fully
>> implemented, how about doing it by creating FieldContainers where the
>> AspectStore holds a pointer to the same object for each aspect ?
>
> no, the whole thing is already confusing enough, so I don't think that
> approach is a good idea.
Well, my main idea in suggesting that was to simplify things and get rid
of the whole FB hierarchy.
What was the goal behind the FBs in the first place? My impression was
that their goal was to be a shared/clusterable structure that's not
multi-aspect, to avoid all the issues we have with moving e.g. Action
over the cluster. For that something that is essentially an FC, but
doesn't have the multi-aspect part of it would be a very simple
solution. I can't think of many places that would have trouble with
having the same data used for multiple aspects, so I don't think that's
going to complicate things much if any, but it would get rid of a lot of
classes, which is a good thing, IMHO.
Yours
Dirk
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Opensg-core mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-core