Hi, On Fri, 2007-10-05 at 08:45 -0500, Carsten Neumann wrote: > Hi Gerrit, > > Gerrit Voss wrote: > > On Thu, 2007-10-04 at 19:20 -0500, Carsten Neumann wrote: > >> Carsten Neumann wrote: > >>> ok, I'll try to get something that compiles over the day. > >> I'm sorry to say so, but I did not manage to get it working, yet. Still > >> I committed what is there to the Carsten_PtrWork branch, so you can take > >> a look at the generated code if you like. > >> I believe the compile currently fails because there are only > >> ParentFieldContainerPtr while the Viewport would need ParentWindowPtr. > > > > not only, I get > > > > build.linux.g++/instlinks/include/OpenSG/OSGMemoryObject.h:46:34: error: > > OSGRefCountFunctions.h: No such file or directory > > argh, I forgot to add these to the branch, sorry. Shouldn't do these > things right before I leave the office... :/
ok, thanks > > and BTW the fcd2code does not work to (something about field and ljust). > > hm, I can not reproduce this. Do you have any additional .fcd files in > your tree ? nothing special, it was a fresh checkout. Anyway I disabled the rebuild for now. I'll have a look later. > > As to the parent ptr stuff. The current code works with > > ParentFieldContainerPtr (viewport::parent) so I don't see why it should > > stop working now. > > in Viewport not ViewportBase there are handcoded functions for > getParent/setParent that return/accept a WindowPtr, the generated code > is not smart enough yet to generate something similar or to store > ParentWindowPtr. Hmm, I intentionally switched all of the parent (except for node IIRC) pointers to store a fc reference so that the parent could be more than just being derived from a specific class. I saw you switched it back to specific classes, any reason for that ? kind regards, gerrit ------------------------------------------------------------------------- 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
