Hi Gerrit,
Gerrit Voss wrote:
> On Thu, 2007-10-25 at 04:01 -0500, Dirk Reiners wrote:
>> 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?
>
> Just ignore this for now. They are only used internally right now so
> using your internal refptr is fine. All the rest comes later.
hm, I had to jump through some hoops to accommodate the FieldBundles, so
ignoring them does not really work. The ReferenceCountPointer class
template internally only operates on a FieldContainer * or FieldBundle *
(so that the actual pointee type can be incomplete), which means I had
to introduce another template parameter (RootObjectT) to handle that.
Since I'd like to explore the idea of moving the reference counting into
the fields, it would be helpful to have a rough idea of how they are
supposed to work. That might allow me to conclude that I actually can
ignore them, but in that case I'd not only have the statement, but also
the rationale ;)
Thanks,
Carsten
-------------------------------------------------------------------------
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