The world rtti converter context tracks created objects and is capable of also handling components / game objects. Used by the ezIPCObjectMirror to create / destroy objects.
More...
|
virtual void | Clear () override |
|
void | DeleteExistingObjects () |
|
virtual ezInternal::NewInstance< void > | CreateObject (const ezUuid &guid, const ezRTTI *pRtti) override |
|
virtual void | DeleteObject (const ezUuid &guid) override |
|
virtual void | RegisterObject (const ezUuid &guid, const ezRTTI *pRtti, void *pObject) override |
|
virtual void | UnregisterObject (const ezUuid &guid) override |
|
virtual ezRttiConverterObject | GetObjectByGUID (const ezUuid &guid) const override |
|
virtual ezUuid | GetObjectGUID (const ezRTTI *pRtti, const void *pObject) const override |
|
virtual void | OnUnknownTypeError (ezStringView sTypeName) override |
|
virtual ezUuid | GenerateObjectGuid (const ezUuid &parentGuid, const ezAbstractProperty *pProp, ezVariant 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 ezRTTI * | FindTypeByName (ezStringView sName) const |
|
template<typename T > |
void | GetObjectsByType (ezDynamicArray< T * > &out_objects, ezDynamicArray< ezUuid > *out_pUuids=nullptr) |
|
virtual ezUuid | EnqueObject (const ezUuid &guid, const ezRTTI *pRtti, void *pObject) |
|
virtual ezRttiConverterObject | DequeueObject () |
|
The world rtti converter context tracks created objects and is capable of also handling components / game objects. Used by the ezIPCObjectMirror 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.