|
VR-Engage
2.3
|
This page covers CIGI extension base-class changes between VR-Engage 2.2 and 2.3. Check custom publishers, listeners, sessions, and host subclasses before rebuilding.
The CIGI classes in vreCigiHost/cigiHost.h, cigiSession.h, cigiObjectBase.h, cigiData.h, cigiPublisherBase.h, cigiPublisherGroup.h, cigiPublisherTemplate.h, cigiSimEntityComponentPublisherBase.h, cigiSimObjectPublisherBase.h, cigiListenerBase.h, and cigiListenerTemplate.h now derive through makVre::DtVreSharedBase<SELF_T, SUPER_T> instead of DtSpSubClass<SELF_T, SUPER_T>.
Update subclasses that name the old base or its aliases explicitly. Use the Super, Sptr, and Wptr aliases supplied by DtVreSharedBase where applicable. Check casts and creator registration against vreUtil/baseClass.h; do not assume the old managed-object factory is interchangeable. For the broader managed-object migration, see Managed object base class renames.
DtVreSharedBase supplies create(), registerCreator<CUSTOM_T>(), and registerCreatorVersion<CUSTOM_T>(unsigned int). It also supplies Type() and the runtime type() const method. Register a custom creator before calling create(): the new factory asserts if no creator is registered. See vreUtil/baseClass.h for the factory contract.