public ClockCallbackWrapper(Gst.ClockCallback managed)
 {
     this.managed = managed;
     if (managed != null)
     {
         NativeDelegate = new ClockCallbackNative(NativeCallback);
     }
 }
		public static Gst.ClockCallback GetManagedDelegate (ClockCallbackNative native)
		{
			if (native == null)
				return null;
			ClockCallbackWrapper wrapper = (ClockCallbackWrapper) native.Target;
			if (wrapper == null)
				return null;
			return wrapper.managed;
		}
        public static Gst.ClockCallback GetManagedDelegate(ClockCallbackNative native)
        {
            if (native == null)
            {
                return(null);
            }
            ClockCallbackWrapper wrapper = (ClockCallbackWrapper)native.Target;

            if (wrapper == null)
            {
                return(null);
            }
            return(wrapper.managed);
        }
 internal ClockCallbackInvoker(ClockCallbackNative native_cb, IntPtr data, GLib.DestroyNotify notify)
 {
     this.native_cb = native_cb;
     __data         = data;
     __notify       = notify;
 }
 internal ClockCallbackInvoker(ClockCallbackNative native_cb, IntPtr data) : this(native_cb, data, null)
 {
 }
 internal ClockCallbackInvoker(ClockCallbackNative native_cb) : this(native_cb, IntPtr.Zero, null)
 {
 }
		public ClockCallbackWrapper (Gst.ClockCallback managed)
		{
			this.managed = managed;
			if (managed != null)
				NativeDelegate = new ClockCallbackNative (NativeCallback);
		}
		internal ClockCallbackInvoker (ClockCallbackNative native_cb, IntPtr data, Gst.GLib.DestroyNotify notify)
		{
			this.native_cb = native_cb;
			__data = data;
			__notify = notify;
		}
		internal ClockCallbackInvoker (ClockCallbackNative native_cb, IntPtr data) : this (native_cb, data, null) {}
		internal ClockCallbackInvoker (ClockCallbackNative native_cb) : this (native_cb, IntPtr.Zero, null) {}