From: Peter Oslej (peterO++at++vrm.sk)
Date: 12/06/2000 11:31:02
Hello all,
could somebody help me how to store simple userData struct attached to
pfObject to the pfb file ?
I have pfDCS nodes with user data and I like to save the values in it to the
pfb file and restore it
in the next reloadings .
I define user callbacks with pfdUserData_pfb(descF,storeF,loadF) .
But callbacks are automatically called during saving procedure only when the
user data is attached
to the slot = 0 like this dcs->setUserData(0,udata).
When I try to use
dcs->setUserData(dcs->getNamedUserDataSlot("slotNameA"),udata);
udata was attached by the performer to the slot number 3 and during saving
to the pfb file
appears message :
PF Debug/Internal : pfdStoreFile_pfb: Can't find user data 0x100d3680 in
internal list,
parent type = pfDCS,
slot = 3,
user data type = (unknown);
And then I am not sure what exactly have to be written in descF,storeF,loadF
callbacks.
I am running on onyx2 with IRIX 6.5.5 and performer 2.2 . and pfpfb.c has
revision 1.116
I compiled with it my testProg.
Help me please
Thanks
Peter Oslej
VRM
This archive was generated by hypermail 2b29 : Wed Dec 06 2000 - 10:28:34 PST