The world rtti converter context tracks created objects and is capable of also handling components / game objects. Used by the xiiIPCObjectMirror to create / destroy objects.
More...
|
| virtual void | Clear () override |
| |
|
void | DeleteExistingObjects () |
| |
| virtual xiiInternal::NewInstance< void > | CreateObject (const xiiUuid &guid, const xiiRTTI *pRtti) override |
| |
| virtual void | DeleteObject (const xiiUuid &guid) override |
| |
| virtual void | RegisterObject (const xiiUuid &guid, const xiiRTTI *pRtti, void *pObject) override |
| |
| virtual void | UnregisterObject (const xiiUuid &guid) override |
| |
| virtual xiiRttiConverterObject | GetObjectByGUID (const xiiUuid &guid) const override |
| |
| virtual xiiUuid | GetObjectGUID (const xiiRTTI *pRtti, const void *pObject) const override |
| |
| virtual void | OnUnknownTypeError (xiiStringView sTypeName) override |
| |
| virtual xiiUuid | GenerateObjectGuid (const xiiUuid &parentGuid, const xiiAbstractProperty *pProp, xiiVariant index, void *pObject) const |
| | Generates a guid for a new object. Default implementation generates stable guids derived from parentGuid + property name + index and ignores the address of pObject.
|
| |
|
virtual const xiiRTTI * | FindTypeByName (xiiStringView sName) const |
| |
|
template<typename T> |
| void | GetObjectsByType (xiiDynamicArray< T * > &out_objects, xiiDynamicArray< xiiUuid > *out_pUuids=nullptr) |
| |
|
virtual xiiUuid | EnqueObject (const xiiUuid &guid, const xiiRTTI *pRtti, void *pObject) |
| |
|
virtual xiiRttiConverterObject | DequeueObject () |
| |
The world rtti converter context tracks created objects and is capable of also handling components / game objects. Used by the xiiIPCObjectMirror to create / destroy objects.
Atm it does not remove owner ptr when a parent is deleted, so it will accumulate zombie entries. As requests to dead objects shouldn't generally happen this is for the time being not a problem.