[osg-users] Serialization with virtual base classes
Hartwig Wiesmann
hartwig.wiesmann at skywind.eu
Sat Dec 23 03:05:05 PST 2017
Hi,
I already asked a similar question a few days ago but did not get an answer. I try to be a bit more specific. Assume I have the following definitions:
Code:
class VirtualBaseClass : public osg::Object
{
};
class A : virtual public VirtualBaseClass
{
};
class B : virtual public VirtualBaseClass
{
};
class Final : public A, public B
{
};
Now I have to register a wrapper for class Final. How do I do this?
Code:
REGISTER_OBJECT_WRAPPER(Final,
new Final,
Final,
"???????") // What do I have to mention here?
{
}
Thank you!
Cheers,
Hartwig
------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=72634#72634
More information about the osg-users
mailing list