[vos-d] Message handler problem
Reed Hedges
reed at interreality.org
Thu Mar 15 16:11:41 EDT 2007
Peter Amstutz wrote:
> That's something that was introduced by the new event tables
> implementation in 0.24. The solution is to make the registration
> function a templated class, and for the subclass to call the base class
> registration function with the subclass type to ensure that the method
> handlers are associated with the subclass as well as the base class.
Well, is there a way to avoid the subclass having to do this? I'm trying
to make it easy to make a subclass of a local MetaObjects. I haven't
thought of a way yet but I didn't look too deeply into the way it stores
the function pointers in VobjectBase yet...
Reed
More information about the vos-d
mailing list