class ScriptGUIElementWrapper

Provides a base class for all script object wrappers that wrap a GUIElement object passed as a pointer.

Public

Methods

GetLifetimeTrackingMode

ScriptObjectLifetimeTrackingMode GetLifetimeTrackingMode() const override

Determines how is script object lifetime tracked, and when should the native object be destroyed.

IsNativeObjectValid

bool IsNativeObjectValid() const

Checks is the native object alive and valid.

GetNativeObject

GUIElement *GetNativeObject() const

Returns the native object that is being wrapped.

Protected

Methods

NotifyNativeObjectDestroyed

void NotifyNativeObjectDestroyed() override

Notifies the wrapper that the native object it is managing is about to be destroyed.

Fields

mNativeObject

GUIElement * mNativeObject