From: shiva.jm Date: Fri, 18 Nov 2016 10:38:49 +0000 (+0530) Subject: Garbage Collection using Dispose Queue method Updated X-Git-Tag: dali_1.2.27~8^2 X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=commitdiff_plain;h=177c81e1970ce368f8127d8193272429e087ed5d Garbage Collection using Dispose Queue method Updated These patch updates some automatic/manual CS files, for which we cannot inject code using SWIG. Change-Id: I0d9366739004beb5671f459c16625925cb3780b4 Signed-off-by: shiva.jm --- diff --git a/plugins/dali-swig/SWIG/dali-gc.i b/plugins/dali-swig/SWIG/dali-gc.i index cf7bdab..df7cfe4 100644 --- a/plugins/dali-swig/SWIG/dali-gc.i +++ b/plugins/dali-swig/SWIG/dali-gc.i @@ -117,1001 +117,15 @@ %} %enddef -%define DALI_CREATE_CUSTOM_DESTRUCTOR_FUNCTION_VIDEOVIEWSIGNAL( NameSpace, ClassName ) -%typemap(csfinalize) NameSpace::ClassName %{ - ~VideoViewSignal() { - DisposeQueue.Instance.Add(this); - } -%} -%enddef - -%define DALI_CREATE_CUSTOM_DISPOSE_FUNCTION_VIDEOVIEWSIGNAL( NameSpace, ClassName ) -%typemap(csdestruct, methodname="Dispose", methodmodifiers="public") NameSpace::ClassName %{{ - if (!Stage.IsInstalled()) { - DisposeQueue.Instance.Add(this); - return; - } - - lock(this) { - if (swigCPtr.Handle != global::System.IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - NDalicPINVOKE.delete_VideoViewSignal(swigCPtr); - } - swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); - } - global::System.GC.SuppressFinalize(this); - } - } -%} -%enddef - -%define DALI_CREATE_CUSTOM_DESTRUCTOR_FUNCTION_APPLICATIONSIGNAL( NameSpace, ClassName ) -%typemap(csfinalize) NameSpace::ClassName %{ - ~ApplicationSignal() { - DisposeQueue.Instance.Add(this); - } -%} -%enddef - -%define DALI_CREATE_CUSTOM_DISPOSE_FUNCTION_APPLICATIONSIGNAL( NameSpace, ClassName ) -%typemap(csdestruct, methodname="Dispose", methodmodifiers="public") NameSpace::ClassName %{{ - if (!Stage.IsInstalled()) { - DisposeQueue.Instance.Add(this); - return; - } - - lock(this) { - if (swigCPtr.Handle != global::System.IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - NDalicPINVOKE.delete_ApplicationSignal(swigCPtr); - } - swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); - } - global::System.GC.SuppressFinalize(this); - } - } -%} -%enddef - -%define DALI_CREATE_CUSTOM_DESTRUCTOR_FUNCTION_APPLICATIONCONTROLSIGNAL( NameSpace, ClassName ) -%typemap(csfinalize) NameSpace::ClassName %{ - ~ApplicationControlSignal() { - DisposeQueue.Instance.Add(this); - } -%} -%enddef - -%define DALI_CREATE_CUSTOM_DISPOSE_FUNCTION_APPLICATIONCONTROLSIGNAL( NameSpace, ClassName ) -%typemap(csdestruct, methodname="Dispose", methodmodifiers="public") NameSpace::ClassName %{{ - if (!Stage.IsInstalled()) { - DisposeQueue.Instance.Add(this); - return; - } - - lock(this) { - if (swigCPtr.Handle != global::System.IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - NDalicPINVOKE.delete_ApplicationControlSignal(swigCPtr); - } - swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); - } - global::System.GC.SuppressFinalize(this); - } - } -%} -%enddef - -%define DALI_CREATE_CUSTOM_DESTRUCTOR_FUNCTION_IMAGESIGNAL( NameSpace, ClassName ) -%typemap(csfinalize) NameSpace::ClassName %{ - ~ImageSignal() { - DisposeQueue.Instance.Add(this); - } -%} -%enddef - -%define DALI_CREATE_CUSTOM_DISPOSE_FUNCTION_IMAGESIGNAL( NameSpace, ClassName ) -%typemap(csdestruct, methodname="Dispose", methodmodifiers="public") NameSpace::ClassName %{{ - if (!Stage.IsInstalled()) { - DisposeQueue.Instance.Add(this); - return; - } - - lock(this) { - if (swigCPtr.Handle != global::System.IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - NDalicPINVOKE.delete_ImageSignal(swigCPtr); - } - swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); - } - global::System.GC.SuppressFinalize(this); - } - } -%} -%enddef - -%define DALI_CREATE_CUSTOM_DESTRUCTOR_FUNCTION_RESOURCESIMAGESIGNAL( NameSpace, ClassName ) -%typemap(csfinalize) NameSpace::ClassName %{ - ~ResourceImageSignal() { - DisposeQueue.Instance.Add(this); - } -%} -%enddef - -%define DALI_CREATE_CUSTOM_DISPOSE_FUNCTION_RESOURCESIMAGESIGNAL( NameSpace, ClassName ) -%typemap(csdestruct, methodname="Dispose", methodmodifiers="public") NameSpace::ClassName %{{ - if (!Stage.IsInstalled()) { - DisposeQueue.Instance.Add(this); - return; - } - - lock(this) { - if (swigCPtr.Handle != global::System.IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - NDalicPINVOKE.delete_ResourceImageSignal(swigCPtr); - } - swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); - } - global::System.GC.SuppressFinalize(this); - } - } -%} -%enddef - -%define DALI_CREATE_CUSTOM_DESTRUCTOR_FUNCTION_RECTINT( NameSpace, ClassName ) -%typemap(csfinalize) NameSpace::ClassName %{ - ~RectInteger() { - DisposeQueue.Instance.Add(this); - } -%} -%enddef - -%define DALI_CREATE_CUSTOM_DISPOSE_FUNCTION_RECTINT( NameSpace, ClassName ) -%typemap(csdestruct, methodname="Dispose", methodmodifiers="public") NameSpace::ClassName %{{ - if (!Stage.IsInstalled()) { - DisposeQueue.Instance.Add(this); - return; - } - - lock(this) { - if (swigCPtr.Handle != global::System.IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - NDalicPINVOKE.delete_RectInteger(swigCPtr); - } - swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); - } - global::System.GC.SuppressFinalize(this); - } - } -%} -%enddef - -%define DALI_CREATE_CUSTOM_DESTRUCTOR_FUNCTION_RECTDOUBLE( NameSpace, ClassName ) -%typemap(csfinalize) NameSpace::ClassName %{ - ~RectDouble() { - DisposeQueue.Instance.Add(this); - } -%} -%enddef - -%define DALI_CREATE_CUSTOM_DISPOSE_FUNCTION_RECTDOUBLE( NameSpace, ClassName ) -%typemap(csdestruct, methodname="Dispose", methodmodifiers="public") NameSpace::ClassName %{{ - if (!Stage.IsInstalled()) { - DisposeQueue.Instance.Add(this); - return; - } - - lock(this) { - if (swigCPtr.Handle != global::System.IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - NDalicPINVOKE.delete_RectDouble(swigCPtr); - } - swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); - } - global::System.GC.SuppressFinalize(this); - } - } -%} -%enddef - -%define DALI_CREATE_CUSTOM_DESTRUCTOR_FUNCTION_RECTFLOAT( NameSpace, ClassName ) -%typemap(csfinalize) NameSpace::ClassName %{ - ~RectFloat() { - DisposeQueue.Instance.Add(this); - } -%} -%enddef - -%define DALI_CREATE_CUSTOM_DISPOSE_FUNCTION_RECTFLOAT( NameSpace, ClassName ) -%typemap(csdestruct, methodname="Dispose", methodmodifiers="public") NameSpace::ClassName %{{ - if (!Stage.IsInstalled()) { - DisposeQueue.Instance.Add(this); - return; - } - - lock(this) { - if (swigCPtr.Handle != global::System.IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - NDalicPINVOKE.delete_RectFloat(swigCPtr); - } - swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); - } - global::System.GC.SuppressFinalize(this); - } - } -%} -%enddef - -%define DALI_CREATE_CUSTOM_DESTRUCTOR_FUNCTION_RECTUNSIGNEDINT( NameSpace, ClassName ) -%typemap(csfinalize) NameSpace::ClassName %{ - ~RectUnsignedInteger() { - DisposeQueue.Instance.Add(this); - } -%} -%enddef - -%define DALI_CREATE_CUSTOM_DISPOSE_FUNCTION_RECTUNSIGNEDINT( NameSpace, ClassName ) -%typemap(csdestruct, methodname="Dispose", methodmodifiers="public") NameSpace::ClassName %{{ - if (!Stage.IsInstalled()) { - DisposeQueue.Instance.Add(this); - return; - } - - lock(this) { - if (swigCPtr.Handle != global::System.IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - NDalicPINVOKE.delete_RectUnsignedInteger(swigCPtr); - } - swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); - } - global::System.GC.SuppressFinalize(this); - } - } -%} -%enddef - -%define DALI_CREATE_CUSTOM_DESTRUCTOR_FUNCTION_STRINGVALUEPAIR( NameSpace, ClassName ) -%typemap(csfinalize) NameSpace::ClassName %{ - ~StringValuePair() { - DisposeQueue.Instance.Add(this); - } -%} -%enddef - -%define DALI_CREATE_CUSTOM_DISPOSE_FUNCTION_STRINGVALUEPAIR( NameSpace, ClassName ) -%typemap(csdestruct, methodname="Dispose", methodmodifiers="public") NameSpace::ClassName %{{ - if (!Stage.IsInstalled()) { - DisposeQueue.Instance.Add(this); - return; - } - - lock(this) { - if (swigCPtr.Handle != global::System.IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - NDalicPINVOKE.delete_StringValuePair(swigCPtr); - } - swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); - } - global::System.GC.SuppressFinalize(this); - } - } -%} -%enddef - -%define DALI_CREATE_CUSTOM_DESTRUCTOR_FUNCTION_TOUCHCONTAINER( NameSpace, ClassName ) -%typemap(csfinalize) NameSpace::ClassName %{ - ~TouchPointContainer() { - DisposeQueue.Instance.Add(this); - } -%} -%enddef - -%define DALI_CREATE_CUSTOM_DISPOSE_FUNCTION_TOUCHCONTAINER( NameSpace, ClassName ) -%typemap(csdestruct, methodname="Dispose", methodmodifiers="public") NameSpace::ClassName %{{ - if (!Stage.IsInstalled()) { - DisposeQueue.Instance.Add(this); - return; - } - - lock(this) { - if (swigCPtr.Handle != global::System.IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - NDalicPINVOKE.delete_TouchPointContainer(swigCPtr); - } - swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); - } - global::System.GC.SuppressFinalize(this); - } - } -%} -%enddef - -%define DALI_CREATE_CUSTOM_DESTRUCTOR_FUNCTION_BOOLSIGNAL( NameSpace, ClassName ) -%typemap(csfinalize) NameSpace::ClassName %{ - ~BoolSignal() { - DisposeQueue.Instance.Add(this); - } -%} -%enddef - -%define DALI_CREATE_CUSTOM_DISPOSE_FUNCTION_BOOLSIGNAL( NameSpace, ClassName ) -%typemap(csdestruct, methodname="Dispose", methodmodifiers="public") NameSpace::ClassName %{{ - if (!Stage.IsInstalled()) { - DisposeQueue.Instance.Add(this); - return; - } - - lock(this) { - if (swigCPtr.Handle != global::System.IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - NDalicPINVOKE.delete_BoolSignal(swigCPtr); - } - swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); - } - global::System.GC.SuppressFinalize(this); - } - } -%} -%enddef - -%define DALI_CREATE_CUSTOM_DESTRUCTOR_FUNCTION_ACCESSIBILITYACTIONSIGNAL( NameSpace, ClassName ) -%typemap(csfinalize) NameSpace::ClassName %{ - ~AccessibilityActionSignal() { - DisposeQueue.Instance.Add(this); - } -%} -%enddef - -%define DALI_CREATE_CUSTOM_DISPOSE_FUNCTION_ACCESSIBILITYACTIONSIGNAL( NameSpace, ClassName ) -%typemap(csdestruct, methodname="Dispose", methodmodifiers="public") NameSpace::ClassName %{{ - if (!Stage.IsInstalled()) { - DisposeQueue.Instance.Add(this); - return; - } - - lock(this) { - if (swigCPtr.Handle != global::System.IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - NDalicPINVOKE.delete_AccessibilityActionSignal(swigCPtr); - } - swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); - } - global::System.GC.SuppressFinalize(this); - } - } -%} -%enddef - -%define DALI_CREATE_CUSTOM_DESTRUCTOR_FUNCTION_ACCESSIBILITYACTIONSCROLLSIGNAL( NameSpace, ClassName ) -%typemap(csfinalize) NameSpace::ClassName %{ - ~AccessibilityActionScrollSignal() { - DisposeQueue.Instance.Add(this); - } -%} -%enddef - -%define DALI_CREATE_CUSTOM_DISPOSE_FUNCTION_ACCESSIBILITYACTIONSCROLLSIGNAL( NameSpace, ClassName ) -%typemap(csdestruct, methodname="Dispose", methodmodifiers="public") NameSpace::ClassName %{{ - if (!Stage.IsInstalled()) { - DisposeQueue.Instance.Add(this); - return; - } - - lock(this) { - if (swigCPtr.Handle != global::System.IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - NDalicPINVOKE.delete_AccessibilityActionScrollSignal(swigCPtr); - } - swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); - } - global::System.GC.SuppressFinalize(this); - } - } -%} -%enddef - -%define DALI_CREATE_CUSTOM_DESTRUCTOR_FUNCTION_ACCESSIBILITYFOCUSSIGNAL( NameSpace, ClassName ) -%typemap(csfinalize) NameSpace::ClassName %{ - ~AccessibilityFocusOvershotSignal() { - DisposeQueue.Instance.Add(this); - } -%} -%enddef - -%define DALI_CREATE_CUSTOM_DISPOSE_FUNCTION_ACCESSIBILITYFOCUSSIGNAL( NameSpace, ClassName ) -%typemap(csdestruct, methodname="Dispose", methodmodifiers="public") NameSpace::ClassName %{{ - if (!Stage.IsInstalled()) { - DisposeQueue.Instance.Add(this); - return; - } - - lock(this) { - if (swigCPtr.Handle != global::System.IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - NDalicPINVOKE.delete_AccessibilityFocusOvershotSignal(swigCPtr); - } - swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); - } - global::System.GC.SuppressFinalize(this); - } - } -%} -%enddef - -%define DALI_CREATE_CUSTOM_DESTRUCTOR_FUNCTION_VECTORINT( NameSpace, ClassName ) -%typemap(csfinalize) NameSpace::ClassName %{ - ~VectorInteger() { - DisposeQueue.Instance.Add(this); - } -%} -%enddef - -%define DALI_CREATE_CUSTOM_DISPOSE_FUNCTION_VECTORINT( NameSpace, ClassName ) -%typemap(csdestruct, methodname="Dispose", methodmodifiers="public") NameSpace::ClassName %{{ - if (!Stage.IsInstalled()) { - DisposeQueue.Instance.Add(this); - return; - } - - lock(this) { - if (swigCPtr.Handle != global::System.IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - NDalicPINVOKE.delete_VectorInteger(swigCPtr); - } - swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); - } - global::System.GC.SuppressFinalize(this); - } - } -%} -%enddef - -%define DALI_CREATE_CUSTOM_DESTRUCTOR_FUNCTION_VECTORFLOAT( NameSpace, ClassName ) -%typemap(csfinalize) NameSpace::ClassName %{ - ~VectorFloat() { - DisposeQueue.Instance.Add(this); - } -%} -%enddef - -%define DALI_CREATE_CUSTOM_DISPOSE_FUNCTION_VECTORFLOAT( NameSpace, ClassName ) -%typemap(csdestruct, methodname="Dispose", methodmodifiers="public") NameSpace::ClassName %{{ - if (!Stage.IsInstalled()) { - DisposeQueue.Instance.Add(this); - return; - } - - lock(this) { - if (swigCPtr.Handle != global::System.IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - NDalicPINVOKE.delete_VectorFloat(swigCPtr); - } - swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); - } - global::System.GC.SuppressFinalize(this); - } - } -%} -%enddef - -%define DALI_CREATE_CUSTOM_DESTRUCTOR_FUNCTION_VECTORUNSIGNEDCHAR( NameSpace, ClassName ) -%typemap(csfinalize) NameSpace::ClassName %{ - ~VectorUnsignedChar() { - DisposeQueue.Instance.Add(this); - } -%} -%enddef - -%define DALI_CREATE_CUSTOM_DISPOSE_FUNCTION_VECTORUNSIGNEDCHAR( NameSpace, ClassName ) -%typemap(csdestruct, methodname="Dispose", methodmodifiers="public") NameSpace::ClassName %{{ - if (!Stage.IsInstalled()) { - DisposeQueue.Instance.Add(this); - return; - } - - lock(this) { - if (swigCPtr.Handle != global::System.IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - NDalicPINVOKE.delete_VectorUnsignedChar(swigCPtr); - } - swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); - } - global::System.GC.SuppressFinalize(this); - } - } -%} -%enddef - -%define DALI_CREATE_CUSTOM_DESTRUCTOR_FUNCTION_VECTORUINT16PAIR( NameSpace, ClassName ) -%typemap(csfinalize) NameSpace::ClassName %{ - ~VectorUint16Pair() { - DisposeQueue.Instance.Add(this); - } -%} -%enddef - -%define DALI_CREATE_CUSTOM_DISPOSE_FUNCTION_VECTORUINT16PAIR( NameSpace, ClassName ) -%typemap(csdestruct, methodname="Dispose", methodmodifiers="public") NameSpace::ClassName %{{ - if (!Stage.IsInstalled()) { - DisposeQueue.Instance.Add(this); - return; - } - - lock(this) { - if (swigCPtr.Handle != global::System.IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - NDalicPINVOKE.delete_VectorUint16Pair(swigCPtr); - } - swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); - } - global::System.GC.SuppressFinalize(this); - } - } -%} -%enddef - -%define DALI_CREATE_CUSTOM_DESTRUCTOR_FUNCTION_TIMERSIGNALTYPE( NameSpace, ClassName ) -%typemap(csfinalize) NameSpace::ClassName %{ - ~TimerSignalType() { - DisposeQueue.Instance.Add(this); - } -%} -%enddef - -%define DALI_CREATE_CUSTOM_DISPOSE_FUNCTION_TIMERSIGNALTYPE( NameSpace, ClassName ) -%typemap(csdestruct, methodname="Dispose", methodmodifiers="public") NameSpace::ClassName %{{ - if (!Stage.IsInstalled()) { - DisposeQueue.Instance.Add(this); - return; - } - - lock(this) { - if (swigCPtr.Handle != global::System.IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - NDalicPINVOKE.delete_TimerSignalType(swigCPtr); - } - swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); - } - global::System.GC.SuppressFinalize(this); - } - } -%} -%enddef - -%define DALI_CREATE_CUSTOM_DESTRUCTOR_FUNCTION_ACTOR( NameSpace, ClassName ) -%typemap(csfinalize) NameSpace::ClassName %{ - ~ActorSignal() { - DisposeQueue.Instance.Add(this); - } -%} -%enddef - -%define DALI_CREATE_CUSTOM_DISPOSE_FUNCTION_ACTOR( NameSpace, ClassName ) -%typemap(csdestruct, methodname="Dispose", methodmodifiers="public") NameSpace::ClassName %{{ - if (!Stage.IsInstalled()) { - DisposeQueue.Instance.Add(this); - return; - } - - lock(this) { - if (swigCPtr.Handle != global::System.IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - NDalicPINVOKE.delete_ActorSignal(swigCPtr); - } - swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); - } - global::System.GC.SuppressFinalize(this); - } - } -%} -%enddef - -%define DALI_CREATE_CUSTOM_DESTRUCTOR_FUNCTION_ANIMATIONSIGNAL( NameSpace, ClassName ) -%typemap(csfinalize) NameSpace::ClassName %{ - ~AnimationSignal() { - DisposeQueue.Instance.Add(this); - } -%} -%enddef - -%define DALI_CREATE_CUSTOM_DISPOSE_FUNCTION_ANIMATIONSIGNAL( NameSpace, ClassName ) -%typemap(csdestruct, methodname="Dispose", methodmodifiers="public") NameSpace::ClassName %{{ - if (!Stage.IsInstalled()) { - DisposeQueue.Instance.Add(this); - return; - } - - lock(this) { - if (swigCPtr.Handle != global::System.IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - NDalicPINVOKE.delete_AnimationSignal(swigCPtr); - } - swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); - } - global::System.GC.SuppressFinalize(this); - } - } -%} -%enddef - -%define DALI_CREATE_CUSTOM_DESTRUCTOR_FUNCTION_BUTTON( NameSpace, ClassName ) -%typemap(csfinalize) NameSpace::ClassName %{ - ~ButtonSignal() { - DisposeQueue.Instance.Add(this); - } -%} -%enddef - -%define DALI_CREATE_CUSTOM_DISPOSE_FUNCTION_BUTTON( NameSpace, ClassName ) -%typemap(csdestruct, methodname="Dispose", methodmodifiers="public") NameSpace::ClassName %{{ - if (!Stage.IsInstalled()) { - DisposeQueue.Instance.Add(this); - return; - } - - lock(this) { - if (swigCPtr.Handle != global::System.IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - NDalicPINVOKE.delete_ButtonSignal(swigCPtr); - } - swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); - } - global::System.GC.SuppressFinalize(this); - } - } -%} -%enddef - -%define DALI_CREATE_CUSTOM_DESTRUCTOR_FUNCTION_PAGETURNSIGNAL( NameSpace, ClassName ) -%typemap(csfinalize) NameSpace::ClassName %{ - ~PageTurnSignal() { - DisposeQueue.Instance.Add(this); - } -%} -%enddef - -%define DALI_CREATE_CUSTOM_DISPOSE_FUNCTION_PAGETURNSIGNAL( NameSpace, ClassName ) -%typemap(csdestruct, methodname="Dispose", methodmodifiers="public") NameSpace::ClassName %{{ - if (!Stage.IsInstalled()) { - DisposeQueue.Instance.Add(this); - return; - } - - lock(this) { - if (swigCPtr.Handle != global::System.IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - NDalicPINVOKE.delete_PageTurnSignal(swigCPtr); - } - swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); - } - global::System.GC.SuppressFinalize(this); - } - } -%} -%enddef - -%define DALI_CREATE_CUSTOM_DESTRUCTOR_FUNCTION_PAGEVIEWSIGNAL( NameSpace, ClassName ) -%typemap(csfinalize) NameSpace::ClassName %{ - ~PagePanSignal() { - DisposeQueue.Instance.Add(this); - } -%} -%enddef - -%define DALI_CREATE_CUSTOM_DISPOSE_FUNCTION_PAGEVIEWSIGNAL( NameSpace, ClassName ) -%typemap(csdestruct, methodname="Dispose", methodmodifiers="public") NameSpace::ClassName %{{ - if (!Stage.IsInstalled()) { - DisposeQueue.Instance.Add(this); - return; - } - - lock(this) { - if (swigCPtr.Handle != global::System.IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - NDalicPINVOKE.delete_PagePanSignal(swigCPtr); - } - swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); - } - global::System.GC.SuppressFinalize(this); - } - } -%} -%enddef - -%define DALI_CREATE_CUSTOM_DESTRUCTOR_FUNCTION_PANGESTURESIGNAL( NameSpace, ClassName ) -%typemap(csfinalize) NameSpace::ClassName %{ - ~PanGestureDetectedSignal() { - DisposeQueue.Instance.Add(this); - } -%} -%enddef - -%define DALI_CREATE_CUSTOM_DISPOSE_FUNCTION_PANGESTURESIGNAL( NameSpace, ClassName ) -%typemap(csdestruct, methodname="Dispose", methodmodifiers="public") NameSpace::ClassName %{{ - if (!Stage.IsInstalled()) { - DisposeQueue.Instance.Add(this); - return; - } - - lock(this) { - if (swigCPtr.Handle != global::System.IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - NDalicPINVOKE.delete_PanGestureDetectedSignal(swigCPtr); - } - swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); - } - global::System.GC.SuppressFinalize(this); - } - } -%} -%enddef - -%define DALI_CREATE_CUSTOM_DESTRUCTOR_FUNCTION_PINCHGESTURESIGNAL( NameSpace, ClassName ) -%typemap(csfinalize) NameSpace::ClassName %{ - ~PinchGestureDetectedSignal() { - DisposeQueue.Instance.Add(this); - } -%} -%enddef - -%define DALI_CREATE_CUSTOM_DISPOSE_FUNCTION_PINCHGESTURESIGNAL( NameSpace, ClassName ) -%typemap(csdestruct, methodname="Dispose", methodmodifiers="public") NameSpace::ClassName %{{ - if (!Stage.IsInstalled()) { - DisposeQueue.Instance.Add(this); - return; - } - - lock(this) { - if (swigCPtr.Handle != global::System.IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - NDalicPINVOKE.delete_PinchGestureDetectedSignal(swigCPtr); - } - swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); - } - global::System.GC.SuppressFinalize(this); - } - } -%} -%enddef - -%define DALI_CREATE_CUSTOM_DESTRUCTOR_FUNCTION_RENDERTASKSIGNAL( NameSpace, ClassName ) -%typemap(csfinalize) NameSpace::ClassName %{ - ~RenderTaskSignal() { - DisposeQueue.Instance.Add(this); - } -%} -%enddef - -%define DALI_CREATE_CUSTOM_DISPOSE_FUNCTION_RENDERTASKSIGNAL( NameSpace, ClassName ) -%typemap(csdestruct, methodname="Dispose", methodmodifiers="public") NameSpace::ClassName %{{ - if (!Stage.IsInstalled()) { - DisposeQueue.Instance.Add(this); - return; - } - - lock(this) { - if (swigCPtr.Handle != global::System.IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - NDalicPINVOKE.delete_RenderTaskSignal(swigCPtr); - } - swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); - } - global::System.GC.SuppressFinalize(this); - } - } -%} -%enddef - -%define DALI_CREATE_CUSTOM_DESTRUCTOR_FUNCTION_SCROLLABLESIGNAL( NameSpace, ClassName ) -%typemap(csfinalize) NameSpace::ClassName %{ - ~ScrollableSignal() { - DisposeQueue.Instance.Add(this); - } -%} -%enddef - -%define DALI_CREATE_CUSTOM_DISPOSE_FUNCTION_SCROLLABLESIGNAL( NameSpace, ClassName ) -%typemap(csdestruct, methodname="Dispose", methodmodifiers="public") NameSpace::ClassName %{{ - if (!Stage.IsInstalled()) { - DisposeQueue.Instance.Add(this); - return; - } - - lock(this) { - if (swigCPtr.Handle != global::System.IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - NDalicPINVOKE.delete_ScrollableSignal(swigCPtr); - } - swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); - } - global::System.GC.SuppressFinalize(this); - } - } -%} -%enddef - -%define DALI_CREATE_CUSTOM_DESTRUCTOR_FUNCTION_SCROLLVIEWSIGNAL( NameSpace, ClassName ) -%typemap(csfinalize) NameSpace::ClassName %{ - ~ScrollViewSnapStartedSignal() { - DisposeQueue.Instance.Add(this); - } -%} -%enddef - -%define DALI_CREATE_CUSTOM_DISPOSE_FUNCTION_SCROLLVIEWSIGNAL( NameSpace, ClassName ) -%typemap(csdestruct, methodname="Dispose", methodmodifiers="public") NameSpace::ClassName %{{ - if (!Stage.IsInstalled()) { - DisposeQueue.Instance.Add(this); - return; - } - - lock(this) { - if (swigCPtr.Handle != global::System.IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - NDalicPINVOKE.delete_ScrollViewSnapStartedSignal(swigCPtr); - } - swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); - } - global::System.GC.SuppressFinalize(this); - } - } -%} -%enddef - -%define DALI_CREATE_CUSTOM_DESTRUCTOR_FUNCTION_SLIDERVALUECHANGEDSIGNAL( NameSpace, ClassName ) -%typemap(csfinalize) NameSpace::ClassName %{ - ~SliderValueChangedSignal() { - DisposeQueue.Instance.Add(this); - } -%} -%enddef - -%define DALI_CREATE_CUSTOM_DISPOSE_FUNCTION_SLIDERVALUECHANGEDSIGNAL( NameSpace, ClassName ) -%typemap(csdestruct, methodname="Dispose", methodmodifiers="public") NameSpace::ClassName %{{ - if (!Stage.IsInstalled()) { - DisposeQueue.Instance.Add(this); - return; - } - - lock(this) { - if (swigCPtr.Handle != global::System.IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - NDalicPINVOKE.delete_SliderValueChangedSignal(swigCPtr); - } - swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); - } - global::System.GC.SuppressFinalize(this); - } - } -%} -%enddef - -%define DALI_CREATE_CUSTOM_DESTRUCTOR_FUNCTION_SLIDERMARKCHANGEDSIGNAL( NameSpace, ClassName ) -%typemap(csfinalize) NameSpace::ClassName %{ - ~SliderMarkReachedSignal() { - DisposeQueue.Instance.Add(this); - } -%} -%enddef - -%define DALI_CREATE_CUSTOM_DISPOSE_FUNCTION_SLIDERMARKCHANGEDSIGNAL( NameSpace, ClassName ) -%typemap(csdestruct, methodname="Dispose", methodmodifiers="public") NameSpace::ClassName %{{ - if (!Stage.IsInstalled()) { - DisposeQueue.Instance.Add(this); - return; - } - - lock(this) { - if (swigCPtr.Handle != global::System.IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - NDalicPINVOKE.delete_SliderMarkReachedSignal(swigCPtr); - } - swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); - } - global::System.GC.SuppressFinalize(this); - } - } -%} -%enddef - -%define DALI_CREATE_CUSTOM_DESTRUCTOR_FUNCTION_STAGESIGNAL( NameSpace, ClassName ) -%typemap(csfinalize) NameSpace::ClassName %{ - ~StageWheelSignal() { - DisposeQueue.Instance.Add(this); - } -%} -%enddef - -%define DALI_CREATE_CUSTOM_DISPOSE_FUNCTION_STAGESIGNAL( NameSpace, ClassName ) -%typemap(csdestruct, methodname="Dispose", methodmodifiers="public") NameSpace::ClassName %{{ - if (!Stage.IsInstalled()) { - DisposeQueue.Instance.Add(this); - return; - } - - lock(this) { - if (swigCPtr.Handle != global::System.IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - NDalicPINVOKE.delete_StageWheelSignal(swigCPtr); - } - swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); - } - global::System.GC.SuppressFinalize(this); - } - } -%} -%enddef - -%define DALI_CREATE_CUSTOM_DESTRUCTOR_FUNCTION_STYLECHANGEDSIGNAL( NameSpace, ClassName ) -%typemap(csfinalize) NameSpace::ClassName %{ - ~StyleChangedSignal() { - DisposeQueue.Instance.Add(this); - } -%} -%enddef - -%define DALI_CREATE_CUSTOM_DISPOSE_FUNCTION_STYLECHANGEDSIGNAL( NameSpace, ClassName ) -%typemap(csdestruct, methodname="Dispose", methodmodifiers="public") NameSpace::ClassName %{{ - if (!Stage.IsInstalled()) { - DisposeQueue.Instance.Add(this); - return; - } - - lock(this) { - if (swigCPtr.Handle != global::System.IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - NDalicPINVOKE.delete_StyleChangedSignal(swigCPtr); - } - swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); - } - global::System.GC.SuppressFinalize(this); - } - } -%} -%enddef - -%define DALI_CREATE_CUSTOM_DESTRUCTOR_FUNCTION_TAPGESTURESIGNAL( NameSpace, ClassName ) +%define DALI_CREATE_CUSTOM_DESTRUCTOR_FUNCTION_STRINGVALUEPAIR( NameSpace, ClassName ) %typemap(csfinalize) NameSpace::ClassName %{ - ~TapGestureDetectedSignal() { + ~StringValuePair() { DisposeQueue.Instance.Add(this); } %} %enddef -%define DALI_CREATE_CUSTOM_DISPOSE_FUNCTION_TAPGESTURESIGNAL( NameSpace, ClassName ) +%define DALI_CREATE_CUSTOM_DISPOSE_FUNCTION_STRINGVALUEPAIR( NameSpace, ClassName ) %typemap(csdestruct, methodname="Dispose", methodmodifiers="public") NameSpace::ClassName %{{ if (!Stage.IsInstalled()) { DisposeQueue.Instance.Add(this); @@ -1122,7 +136,7 @@ if (swigCPtr.Handle != global::System.IntPtr.Zero) { if (swigCMemOwn) { swigCMemOwn = false; - NDalicPINVOKE.delete_TapGestureDetectedSignal(swigCPtr); + NDalicPINVOKE.delete_StringValuePair(swigCPtr); } swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); } @@ -1132,15 +146,15 @@ %} %enddef -%define DALI_CREATE_CUSTOM_DESTRUCTOR_FUNCTION_TEXTFIELDSIGNAL( NameSpace, ClassName ) +%define DALI_CREATE_CUSTOM_DESTRUCTOR_FUNCTION_BOOLSIGNAL( NameSpace, ClassName ) %typemap(csfinalize) NameSpace::ClassName %{ - ~TextFieldSignal() { + ~BoolSignal() { DisposeQueue.Instance.Add(this); } %} %enddef -%define DALI_CREATE_CUSTOM_DISPOSE_FUNCTION_TEXTFIELDSIGNAL( NameSpace, ClassName ) +%define DALI_CREATE_CUSTOM_DISPOSE_FUNCTION_BOOLSIGNAL( NameSpace, ClassName ) %typemap(csdestruct, methodname="Dispose", methodmodifiers="public") NameSpace::ClassName %{{ if (!Stage.IsInstalled()) { DisposeQueue.Instance.Add(this); @@ -1151,7 +165,7 @@ if (swigCPtr.Handle != global::System.IntPtr.Zero) { if (swigCMemOwn) { swigCMemOwn = false; - NDalicPINVOKE.delete_TextFieldSignal(swigCPtr); + NDalicPINVOKE.delete_BoolSignal(swigCPtr); } swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); } @@ -1161,15 +175,15 @@ %} %enddef -%define DALI_CREATE_CUSTOM_DESTRUCTOR_FUNCTION_TEXTEDITORSIGNAL( NameSpace, ClassName ) +%define DALI_CREATE_CUSTOM_DESTRUCTOR_FUNCTION_TIMERSIGNALTYPE( NameSpace, ClassName ) %typemap(csfinalize) NameSpace::ClassName %{ - ~TextEditorSignal() { + ~TimerSignalType() { DisposeQueue.Instance.Add(this); } %} %enddef -%define DALI_CREATE_CUSTOM_DISPOSE_FUNCTION_TEXTEDITORSIGNAL( NameSpace, ClassName ) +%define DALI_CREATE_CUSTOM_DISPOSE_FUNCTION_TIMERSIGNALTYPE( NameSpace, ClassName ) %typemap(csdestruct, methodname="Dispose", methodmodifiers="public") NameSpace::ClassName %{{ if (!Stage.IsInstalled()) { DisposeQueue.Instance.Add(this); @@ -1180,7 +194,7 @@ if (swigCPtr.Handle != global::System.IntPtr.Zero) { if (swigCMemOwn) { swigCMemOwn = false; - NDalicPINVOKE.delete_TextEditorSignal(swigCPtr); + NDalicPINVOKE.delete_TimerSignalType(swigCPtr); } swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); } @@ -1444,45 +458,45 @@ DALI_CREATE_CUSTOM_DISPOSE_DERIVED_FUNCTION( Dali::Toolkit, VideoView ); DALI_CREATE_CUSTOM_DESTRUCTOR_FUNCTION( Dali::Toolkit, VisualFactory ); DALI_CREATE_CUSTOM_DISPOSE_DERIVED_FUNCTION( Dali::Toolkit, VisualFactory ); -DALI_CREATE_CUSTOM_DISPOSE_FUNCTION_APPLICATIONSIGNAL( Dali, Signal); -DALI_CREATE_CUSTOM_DESTRUCTOR_FUNCTION_APPLICATIONSIGNAL( Dali, Signal); -DALI_CREATE_CUSTOM_DISPOSE_FUNCTION_APPLICATIONCONTROLSIGNAL( Dali, Signal); -DALI_CREATE_CUSTOM_DESTRUCTOR_FUNCTION_APPLICATIONCONTROLSIGNAL( Dali, Signal); - -DALI_CREATE_CUSTOM_DESTRUCTOR_FUNCTION_VIDEOVIEWSIGNAL( Dali, Signal); -DALI_CREATE_CUSTOM_DISPOSE_FUNCTION_VIDEOVIEWSIGNAL( Dali, Signal); - -DALI_CREATE_CUSTOM_DESTRUCTOR_FUNCTION_IMAGESIGNAL( Dali, Signal); -DALI_CREATE_CUSTOM_DISPOSE_FUNCTION_IMAGESIGNAL( Dali, Signal); -DALI_CREATE_CUSTOM_DESTRUCTOR_FUNCTION_RESOURCESIMAGESIGNAL( Dali, Signal); -DALI_CREATE_CUSTOM_DISPOSE_FUNCTION_RESOURCESIMAGESIGNAL( Dali, Signal); - -DALI_CREATE_CUSTOM_DESTRUCTOR_FUNCTION_RECTINT( Dali, Rect); -DALI_CREATE_CUSTOM_DISPOSE_FUNCTION_RECTINT( Dali, Rect); -DALI_CREATE_CUSTOM_DESTRUCTOR_FUNCTION_RECTDOUBLE( Dali, Rect); -DALI_CREATE_CUSTOM_DISPOSE_FUNCTION_RECTDOUBLE( Dali, Rect); -DALI_CREATE_CUSTOM_DESTRUCTOR_FUNCTION_RECTFLOAT( Dali, Rect); -DALI_CREATE_CUSTOM_DISPOSE_FUNCTION_RECTFLOAT( Dali, Rect); -DALI_CREATE_CUSTOM_DESTRUCTOR_FUNCTION_RECTUNSIGNEDINT( Dali, Rect); -DALI_CREATE_CUSTOM_DISPOSE_FUNCTION_RECTUNSIGNEDINT( Dali, Rect); -DALI_CREATE_CUSTOM_DESTRUCTOR_FUNCTION_TOUCHCONTAINER( std, vector); -DALI_CREATE_CUSTOM_DISPOSE_FUNCTION_TOUCHCONTAINER( std, vector); - -DALI_CREATE_CUSTOM_DESTRUCTOR_FUNCTION_VECTORINT( Dali, Vector); -DALI_CREATE_CUSTOM_DISPOSE_FUNCTION_VECTORINT( Dali, Vector); -DALI_CREATE_CUSTOM_DESTRUCTOR_FUNCTION_VECTORFLOAT( Dali, Vector); -DALI_CREATE_CUSTOM_DISPOSE_FUNCTION_VECTORFLOAT( Dali, Vector); -DALI_CREATE_CUSTOM_DESTRUCTOR_FUNCTION_VECTORUNSIGNEDCHAR( Dali, Vector); -DALI_CREATE_CUSTOM_DISPOSE_FUNCTION_VECTORUNSIGNEDCHAR( Dali, Vector); -DALI_CREATE_CUSTOM_DESTRUCTOR_FUNCTION_VECTORUINT16PAIR( Dali, Vector); -DALI_CREATE_CUSTOM_DISPOSE_FUNCTION_VECTORUINT16PAIR( Dali, Vector); - -DALI_CREATE_CUSTOM_DESTRUCTOR_FUNCTION_ACCESSIBILITYACTIONSIGNAL( Dali, Signal); -DALI_CREATE_CUSTOM_DISPOSE_FUNCTION_ACCESSIBILITYACTIONSIGNAL( Dali, Signal); -DALI_CREATE_CUSTOM_DESTRUCTOR_FUNCTION_ACCESSIBILITYACTIONSCROLLSIGNAL( Dali, Signal); -DALI_CREATE_CUSTOM_DISPOSE_FUNCTION_ACCESSIBILITYACTIONSCROLLSIGNAL( Dali, Signal); -DALI_CREATE_CUSTOM_DESTRUCTOR_FUNCTION_ACCESSIBILITYFOCUSSIGNAL( Dali, Signal); -DALI_CREATE_CUSTOM_DISPOSE_FUNCTION_ACCESSIBILITYFOCUSSIGNAL( Dali, Signal); +DALI_CREATE_CUSTOM_DISPOSE_FUNCTION_RENAME( Dali, Signal, ApplicationSignal); +DALI_CREATE_CUSTOM_DESTRUCTOR_FUNCTION_RENAME( Dali, Signal, ApplicationSignal); +DALI_CREATE_CUSTOM_DISPOSE_FUNCTION_RENAME( Dali, Signal, ApplicationControlSignal); +DALI_CREATE_CUSTOM_DESTRUCTOR_FUNCTION_RENAME( Dali, Signal, ApplicationControlSignal); + +DALI_CREATE_CUSTOM_DESTRUCTOR_FUNCTION_RENAME( Dali, Signal, VideoViewSignal); +DALI_CREATE_CUSTOM_DISPOSE_FUNCTION_RENAME( Dali, Signal, VideoViewSignal); + +DALI_CREATE_CUSTOM_DESTRUCTOR_FUNCTION_RENAME( Dali, Signal, ImageSignal); +DALI_CREATE_CUSTOM_DISPOSE_FUNCTION_RENAME( Dali, Signal, ImageSignal); +DALI_CREATE_CUSTOM_DESTRUCTOR_FUNCTION_RENAME( Dali, Signal, ResourceImageSignal); +DALI_CREATE_CUSTOM_DISPOSE_FUNCTION_RENAME( Dali, Signal, ResourceImageSignal); + +DALI_CREATE_CUSTOM_DESTRUCTOR_FUNCTION_RENAME( Dali, Rect, RectInteger); +DALI_CREATE_CUSTOM_DISPOSE_FUNCTION_RENAME( Dali, Rect, RectInteger); +DALI_CREATE_CUSTOM_DESTRUCTOR_FUNCTION_RENAME( Dali, Rect, RectDouble); +DALI_CREATE_CUSTOM_DISPOSE_FUNCTION_RENAME( Dali, Rect, RectDouble); +DALI_CREATE_CUSTOM_DESTRUCTOR_FUNCTION_RENAME( Dali, Rect, RectFloat); +DALI_CREATE_CUSTOM_DISPOSE_FUNCTION_RENAME( Dali, Rect, RectFloat); +DALI_CREATE_CUSTOM_DESTRUCTOR_FUNCTION_RENAME( Dali, Rect, RectUnsignedInteger); +DALI_CREATE_CUSTOM_DISPOSE_FUNCTION_RENAME( Dali, Rect, RectUnsignedInteger); +DALI_CREATE_CUSTOM_DESTRUCTOR_FUNCTION_RENAME( std, vector, TouchPointContainer); +DALI_CREATE_CUSTOM_DISPOSE_FUNCTION_RENAME( std, vector, TouchPointContainer); + +DALI_CREATE_CUSTOM_DESTRUCTOR_FUNCTION_RENAME( Dali, Vector, VectorInteger); +DALI_CREATE_CUSTOM_DISPOSE_FUNCTION_RENAME( Dali, Vector, VectorInteger); +DALI_CREATE_CUSTOM_DESTRUCTOR_FUNCTION_RENAME( Dali, Vector, VectorFloat); +DALI_CREATE_CUSTOM_DISPOSE_FUNCTION_RENAME( Dali, Vector, VectorFloat); +DALI_CREATE_CUSTOM_DESTRUCTOR_FUNCTION_RENAME( Dali, Vector, VectorUnsignedChar); +DALI_CREATE_CUSTOM_DISPOSE_FUNCTION_RENAME( Dali, Vector, VectorUnsignedChar); +DALI_CREATE_CUSTOM_DESTRUCTOR_FUNCTION_RENAME( Dali, Vector, VectorUint16Pair); +DALI_CREATE_CUSTOM_DISPOSE_FUNCTION_RENAME( Dali, Vector, VectorUint16Pair); + +DALI_CREATE_CUSTOM_DESTRUCTOR_FUNCTION_RENAME( Dali, Signal, AccessibilityActionSignal); +DALI_CREATE_CUSTOM_DISPOSE_FUNCTION_RENAME( Dali, Signal, AccessibilityActionSignal); +DALI_CREATE_CUSTOM_DESTRUCTOR_FUNCTION_RENAME( Dali, Signal, AccessibilityActionScrollSignal); +DALI_CREATE_CUSTOM_DISPOSE_FUNCTION_RENAME( Dali, Signal, AccessibilityActionScrollSignal); +DALI_CREATE_CUSTOM_DESTRUCTOR_FUNCTION_RENAME( Dali, Signal, AccessibilityFocusOvershotSignal); +DALI_CREATE_CUSTOM_DISPOSE_FUNCTION_RENAME( Dali, Signal, AccessibilityFocusOvershotSignal); //DALI_CREATE_CUSTOM_DESTRUCTOR_FUNCTION_STRINGVALUEPAIR( Dali, pair); //DALI_CREATE_CUSTOM_DISPOSE_FUNCTION_STRINGVALUEPAIR( Dali, pair); //DALI_CREATE_CUSTOM_DESTRUCTOR_FUNCTION_BOOLSIGNAL( Dali, Signal); @@ -1490,51 +504,144 @@ DALI_CREATE_CUSTOM_DISPOSE_FUNCTION_ACCESSIBILITYFOCUSSIGNAL( Dali, Signal); //DALI_CREATE_CUSTOM_DISPOSE_FUNCTION_TIMERSIGNALTYPE( Dali, Signal); -DALI_CREATE_CUSTOM_DESTRUCTOR_FUNCTION_ACTOR( Dali, Signal); -DALI_CREATE_CUSTOM_DISPOSE_FUNCTION_ACTOR( Dali, Signal); +DALI_CREATE_CUSTOM_DESTRUCTOR_FUNCTION_RENAME( Dali, Signal, ActorSignal); +DALI_CREATE_CUSTOM_DISPOSE_FUNCTION_RENAME( Dali, Signal, ActorSignal); + +DALI_CREATE_CUSTOM_DESTRUCTOR_FUNCTION_RENAME( Dali, Signal, AnimationSignal); +DALI_CREATE_CUSTOM_DISPOSE_FUNCTION_RENAME( Dali, Signal, AnimationSignal); + +DALI_CREATE_CUSTOM_DESTRUCTOR_FUNCTION_RENAME( Dali, Signal, ButtonSignal); +DALI_CREATE_CUSTOM_DISPOSE_FUNCTION_RENAME( Dali, Signal, ButtonSignal); + +DALI_CREATE_CUSTOM_DESTRUCTOR_FUNCTION_RENAME( Dali, Signal, PageTurnSignal); +DALI_CREATE_CUSTOM_DISPOSE_FUNCTION_RENAME( Dali, Signal, PageTurnSignal); +DALI_CREATE_CUSTOM_DESTRUCTOR_FUNCTION_RENAME( Dali, Signal, PagePanSignal); +DALI_CREATE_CUSTOM_DISPOSE_FUNCTION_RENAME( Dali, Signal, PagePanSignal); + +DALI_CREATE_CUSTOM_DESTRUCTOR_FUNCTION_RENAME( Dali, Signal, PanGestureDetectedSignal); +DALI_CREATE_CUSTOM_DISPOSE_FUNCTION_RENAME( Dali, Signal, PanGestureDetectedSignal); + +DALI_CREATE_CUSTOM_DESTRUCTOR_FUNCTION_RENAME( Dali, Signal, PinchGestureDetectedSignal); +DALI_CREATE_CUSTOM_DISPOSE_FUNCTION_RENAME( Dali, Signal, PinchGestureDetectedSignal); + +DALI_CREATE_CUSTOM_DESTRUCTOR_FUNCTION_RENAME( Dali, Signal, RenderTaskSignal); +DALI_CREATE_CUSTOM_DISPOSE_FUNCTION_RENAME( Dali, Signal, RenderTaskSignal); + +DALI_CREATE_CUSTOM_DESTRUCTOR_FUNCTION_RENAME( Dali, Signal< void(const Dali::Vector2&)>, ScrollableSignal); +DALI_CREATE_CUSTOM_DISPOSE_FUNCTION_RENAME( Dali, Signal< void(const Dali::Vector2&)>, ScrollableSignal); + +DALI_CREATE_CUSTOM_DESTRUCTOR_FUNCTION_RENAME( Dali, Signal< void(const Dali::Toolkit::ScrollView::SnapEvent&)>, ScrollViewSnapStartedSignal); +DALI_CREATE_CUSTOM_DISPOSE_FUNCTION_RENAME( Dali, Signal< void(const Dali::Toolkit::ScrollView::SnapEvent&)>, ScrollViewSnapStartedSignal); + +DALI_CREATE_CUSTOM_DESTRUCTOR_FUNCTION_RENAME( Dali, Signal, SliderValueChangedSignal); +DALI_CREATE_CUSTOM_DISPOSE_FUNCTION_RENAME( Dali, Signal, SliderValueChangedSignal); +DALI_CREATE_CUSTOM_DESTRUCTOR_FUNCTION_RENAME( Dali, Signal, SliderMarkReachedSignal); +DALI_CREATE_CUSTOM_DISPOSE_FUNCTION_RENAME( Dali, Signal, SliderMarkReachedSignal); + +DALI_CREATE_CUSTOM_DESTRUCTOR_FUNCTION_RENAME( Dali, Signal, StageWheelSignal); +DALI_CREATE_CUSTOM_DISPOSE_FUNCTION_RENAME( Dali, Signal, StageWheelSignal); + +DALI_CREATE_CUSTOM_DESTRUCTOR_FUNCTION_RENAME( Dali, Signal, StyleChangedSignal); +DALI_CREATE_CUSTOM_DISPOSE_FUNCTION_RENAME( Dali, Signal,StyleChangedSignal); + +DALI_CREATE_CUSTOM_DESTRUCTOR_FUNCTION_RENAME( Dali, Signal, TapGestureDetectedSignal); +DALI_CREATE_CUSTOM_DISPOSE_FUNCTION_RENAME( Dali, Signal, TapGestureDetectedSignal); + +DALI_CREATE_CUSTOM_DESTRUCTOR_FUNCTION_RENAME( Dali, Signal, TextEditorSignal); +DALI_CREATE_CUSTOM_DISPOSE_FUNCTION_RENAME( Dali, Signal, TextEditorSignal); + +DALI_CREATE_CUSTOM_DESTRUCTOR_FUNCTION_RENAME( Dali, Signal, TextFieldSignal); +DALI_CREATE_CUSTOM_DISPOSE_FUNCTION_RENAME( Dali, Signal, TextFieldSignal); + +DALI_CREATE_CUSTOM_DESTRUCTOR_FUNCTION_RENAME( std, vector, ActorContainer); +DALI_CREATE_CUSTOM_DISPOSE_FUNCTION_RENAME( std, vector, ActorContainer); + +//DALI_CREATE_CUSTOM_DESTRUCTOR_FUNCTION_ITEM( std, pair); + +//DALI_CREATE_CUSTOM_DESTRUCTOR_FUNCTION_ITEMCONTAINER( std, vector>); +//DALI_CREATE_CUSTOM_DISPOSE_FUNCTION_ITEMCONTAINER( std, vector>); + +DALI_CREATE_CUSTOM_DESTRUCTOR_FUNCTION_RENAME( std, vector, ItemIdContainer); +DALI_CREATE_CUSTOM_DISPOSE_FUNCTION_RENAME( std, vector, ItemIdContainer); + +DALI_CREATE_CUSTOM_DESTRUCTOR_FUNCTION_RENAME( Dali, Signal, FocusChangedSignal); +DALI_CREATE_CUSTOM_DISPOSE_FUNCTION_RENAME( Dali, Signal, FocusChangedSignal); + +DALI_CREATE_CUSTOM_DESTRUCTOR_FUNCTION_RENAME( Dali, Signal, FocusGroupChangedSignal); +DALI_CREATE_CUSTOM_DISPOSE_FUNCTION_RENAME( Dali, Signal, FocusGroupChangedSignal); + +DALI_CREATE_CUSTOM_DESTRUCTOR_FUNCTION_RENAME( Dali, Signal, GaussianBlurViewSignal); +DALI_CREATE_CUSTOM_DISPOSE_FUNCTION_RENAME( Dali, Signal, GaussianBlurViewSignal); + +DALI_CREATE_CUSTOM_DESTRUCTOR_FUNCTION_RENAME( Dali, Signal, ControlKeySignal); +DALI_CREATE_CUSTOM_DISPOSE_FUNCTION_RENAME( Dali, Signal, ControlKeySignal); + +DALI_CREATE_CUSTOM_DESTRUCTOR_FUNCTION_RENAME( Dali, Signal, KeyEventSignal); +DALI_CREATE_CUSTOM_DISPOSE_FUNCTION_RENAME( Dali, Signal, KeyEventSignal); + +DALI_CREATE_CUSTOM_DESTRUCTOR_FUNCTION_RENAME( Dali, Signal, KeyInputFocusSignal); +DALI_CREATE_CUSTOM_DISPOSE_FUNCTION_RENAME( Dali, Signal, KeyInputFocusSignal); + +DALI_CREATE_CUSTOM_DESTRUCTOR_FUNCTION_RENAME( Dali, IntrusivePtr, RulerPtr); +DALI_CREATE_CUSTOM_DISPOSE_FUNCTION_RENAME( Dali, IntrusivePtr, RulerPtr); + +DALI_CREATE_CUSTOM_DESTRUCTOR_FUNCTION_RENAME( Dali, Signal, VoidSignal); +DALI_CREATE_CUSTOM_DISPOSE_FUNCTION_RENAME( Dali, Signal, VoidSignal); + +DALI_CREATE_CUSTOM_DESTRUCTOR_FUNCTION_RENAME( Dali, Signal, FloatSignal); +DALI_CREATE_CUSTOM_DISPOSE_FUNCTION_RENAME( Dali, Signal, FloatSignal); + +DALI_CREATE_CUSTOM_DESTRUCTOR_FUNCTION_RENAME( Dali, Signal, ObjectDestroyedSignal); +DALI_CREATE_CUSTOM_DISPOSE_FUNCTION_RENAME( Dali, Signal, ObjectDestroyedSignal); + +DALI_CREATE_CUSTOM_DESTRUCTOR_FUNCTION_RENAME( Dali, Signal, ObjectCreatedSignal); +DALI_CREATE_CUSTOM_DISPOSE_FUNCTION_RENAME( Dali, Signal, ObjectCreatedSignal); + +DALI_CREATE_CUSTOM_DESTRUCTOR_FUNCTION_RENAME( Dali, Signal, PropertyNotifySignal); +DALI_CREATE_CUSTOM_DISPOSE_FUNCTION_RENAME( Dali, Signal, PropertyNotifySignal); + +DALI_CREATE_CUSTOM_DESTRUCTOR_FUNCTION_RENAME( Dali, Signal, LongPressGestureDetectedSignal); +DALI_CREATE_CUSTOM_DISPOSE_FUNCTION_RENAME( Dali, Signal, LongPressGestureDetectedSignal); -DALI_CREATE_CUSTOM_DESTRUCTOR_FUNCTION_ANIMATIONSIGNAL( Dali, Signal); -DALI_CREATE_CUSTOM_DISPOSE_FUNCTION_ANIMATIONSIGNAL( Dali, Signal); +DALI_CREATE_CUSTOM_DESTRUCTOR_FUNCTION_RENAME( Dali, Signal, ActorHoverSignal); +DALI_CREATE_CUSTOM_DISPOSE_FUNCTION_RENAME( Dali, Signal, ActorHoverSignal); -DALI_CREATE_CUSTOM_DESTRUCTOR_FUNCTION_BUTTON( Dali, Signal); -DALI_CREATE_CUSTOM_DISPOSE_FUNCTION_BUTTON( Dali, Signal); +DALI_CREATE_CUSTOM_DESTRUCTOR_FUNCTION_RENAME( Dali, Signal, ActorTouchDataSignal); +DALI_CREATE_CUSTOM_DISPOSE_FUNCTION_RENAME( Dali, Signal, ActorTouchDataSignal); -DALI_CREATE_CUSTOM_DESTRUCTOR_FUNCTION_PAGETURNSIGNAL( Dali, Signal); -DALI_CREATE_CUSTOM_DISPOSE_FUNCTION_PAGETURNSIGNAL( Dali, Signal); -DALI_CREATE_CUSTOM_DESTRUCTOR_FUNCTION_PAGEVIEWSIGNAL( Dali, Signal); -DALI_CREATE_CUSTOM_DISPOSE_FUNCTION_PAGEVIEWSIGNAL( Dali, Signal); +DALI_CREATE_CUSTOM_DESTRUCTOR_FUNCTION_RENAME( Dali, Signal, ActorWheelSignal); +DALI_CREATE_CUSTOM_DISPOSE_FUNCTION_RENAME( Dali, Signal, ActorWheelSignal); -DALI_CREATE_CUSTOM_DESTRUCTOR_FUNCTION_PANGESTURESIGNAL( Dali, Signal); -DALI_CREATE_CUSTOM_DISPOSE_FUNCTION_PANGESTURESIGNAL( Dali, Signal); +DALI_CREATE_CUSTOM_DESTRUCTOR_FUNCTION_RENAME( Dali, Signal, TouchSignal); +DALI_CREATE_CUSTOM_DISPOSE_FUNCTION_RENAME( Dali, Signal, TouchSignal); -DALI_CREATE_CUSTOM_DESTRUCTOR_FUNCTION_PINCHGESTURESIGNAL( Dali, Signal); -DALI_CREATE_CUSTOM_DISPOSE_FUNCTION_PINCHGESTURESIGNAL( Dali, Signal); +//DALI_CREATE_CUSTOM_DESTRUCTOR_FUNCTION_RENAME( Dali, (std::pair< Dali::Radian, Dali::Radian >), AngleThresholdPair); +//DALI_CREATE_CUSTOM_DISPOSE_FUNCTION_RENAME( Dali, (std::pair< Dali::Radian, Dali::Radian >), AngleThresholdPair); -DALI_CREATE_CUSTOM_DESTRUCTOR_FUNCTION_RENDERTASKSIGNAL( Dali, Signal); -DALI_CREATE_CUSTOM_DISPOSE_FUNCTION_RENDERTASKSIGNAL( Dali, Signal); +DALI_CREATE_CUSTOM_DESTRUCTOR_FUNCTION( Dali, ApplicationExtensions ); +DALI_CREATE_CUSTOM_DISPOSE_FUNCTION( Dali, ApplicationExtensions ); -DALI_CREATE_CUSTOM_DESTRUCTOR_FUNCTION_SCROLLABLESIGNAL( Dali, Signal< void(const Dali::Vector2&)>); -DALI_CREATE_CUSTOM_DISPOSE_FUNCTION_SCROLLABLESIGNAL( Dali, Signal< void(const Dali::Vector2&)>); +DALI_CREATE_CUSTOM_DESTRUCTOR_FUNCTION( Dali, SlotObserver ); +DALI_CREATE_CUSTOM_DISPOSE_FUNCTION( Dali, SlotObserver ); -DALI_CREATE_CUSTOM_DESTRUCTOR_FUNCTION_SCROLLVIEWSIGNAL( Dali, Signal< void(const Dali::Toolkit::ScrollView::SnapEvent&)>); -DALI_CREATE_CUSTOM_DISPOSE_FUNCTION_SCROLLVIEWSIGNAL( Dali, Signal< void(const Dali::Toolkit::ScrollView::SnapEvent&)>); +DALI_CREATE_CUSTOM_DESTRUCTOR_FUNCTION( Dali, SignalObserver ); +DALI_CREATE_CUSTOM_DISPOSE_FUNCTION( Dali, SignalObserver ); -DALI_CREATE_CUSTOM_DESTRUCTOR_FUNCTION_SLIDERVALUECHANGEDSIGNAL( Dali, Signal); -DALI_CREATE_CUSTOM_DISPOSE_FUNCTION_SLIDERVALUECHANGEDSIGNAL( Dali, Signal); -DALI_CREATE_CUSTOM_DESTRUCTOR_FUNCTION_SLIDERMARKCHANGEDSIGNAL( Dali, Signal); -DALI_CREATE_CUSTOM_DISPOSE_FUNCTION_SLIDERMARKCHANGEDSIGNAL( Dali, Signal); +DALI_CREATE_CUSTOM_DESTRUCTOR_FUNCTION( Dali, AnimatablePropertyComponentRegistration ); +DALI_CREATE_CUSTOM_DISPOSE_FUNCTION( Dali, AnimatablePropertyComponentRegistration ); -DALI_CREATE_CUSTOM_DESTRUCTOR_FUNCTION_STAGESIGNAL( Dali, Signal); -DALI_CREATE_CUSTOM_DISPOSE_FUNCTION_STAGESIGNAL( Dali, Signal); +DALI_CREATE_CUSTOM_DESTRUCTOR_FUNCTION( Dali, AnimatablePropertyRegistration ); +DALI_CREATE_CUSTOM_DISPOSE_FUNCTION( Dali, AnimatablePropertyRegistration ); -DALI_CREATE_CUSTOM_DESTRUCTOR_FUNCTION_STYLECHANGEDSIGNAL( Dali, Signal); -DALI_CREATE_CUSTOM_DISPOSE_FUNCTION_STYLECHANGEDSIGNAL( Dali, Signal); +DALI_CREATE_CUSTOM_DESTRUCTOR_FUNCTION( Dali::Toolkit, AsyncImageLoader ); +DALI_CREATE_CUSTOM_DISPOSE_DERIVED_FUNCTION( Dali::Toolkit, AsyncImageLoader ); -DALI_CREATE_CUSTOM_DESTRUCTOR_FUNCTION_TAPGESTURESIGNAL( Dali, Signal); -DALI_CREATE_CUSTOM_DISPOSE_FUNCTION_TAPGESTURESIGNAL( Dali, Signal); +DALI_CREATE_CUSTOM_DESTRUCTOR_FUNCTION( Dali, ChildPropertyRegistration ); +DALI_CREATE_CUSTOM_DISPOSE_FUNCTION( Dali, ChildPropertyRegistration ); -DALI_CREATE_CUSTOM_DESTRUCTOR_FUNCTION_TEXTEDITORSIGNAL( Dali, Signal); -DALI_CREATE_CUSTOM_DISPOSE_FUNCTION_TEXTEDITORSIGNAL( Dali, Signal); +DALI_CREATE_CUSTOM_DESTRUCTOR_FUNCTION( Dali::Toolkit, ClampState2D ); +DALI_CREATE_CUSTOM_DISPOSE_FUNCTION( Dali::Toolkit, ClampState2D ); -DALI_CREATE_CUSTOM_DESTRUCTOR_FUNCTION_TEXTFIELDSIGNAL( Dali, Signal); -DALI_CREATE_CUSTOM_DISPOSE_FUNCTION_TEXTFIELDSIGNAL( Dali, Signal); +DALI_CREATE_CUSTOM_DESTRUCTOR_FUNCTION( Dali, DaliException ); +DALI_CREATE_CUSTOM_DISPOSE_FUNCTION( Dali, DaliException );