Exemple #1
0
        public void ConnectionTrackerInterfacegetCPtr()
        {
            tlog.Debug(tag, $"ConnectionTrackerInterfacegetCPtr START");

            using (View view = new View())
            {
                var testingTarget = new MyConnectionTrackerInterface(view.SwigCPtr.Handle, false);
                Assert.IsNotNull(testingTarget, "Should be not null!");
                Assert.IsInstanceOf <ConnectionTrackerInterface>(testingTarget, "Should be an Instance of ConnectionTrackerInterface!");

                try
                {
                    ConnectionTrackerInterface.getCPtr(testingTarget);
                }
                catch (Exception e)
                {
                    tlog.Debug(tag, e.Message.ToString());
                    Assert.Fail("Caught Exception: Failed!");
                }

                testingTarget.Dispose();
            }

            tlog.Debug(tag, $"ConnectionTrackerInterfacegetCPtr END (OK)");
        }
Exemple #2
0
 internal void Connect(ConnectionTrackerInterface connectionTracker, SWIGTYPE_p_Dali__FunctorDelegate arg1)
 {
     Interop.VoidSignal.VoidSignal_Connect__SWIG_4(swigCPtr, ConnectionTrackerInterface.getCPtr(connectionTracker), SWIGTYPE_p_Dali__FunctorDelegate.getCPtr(arg1));
     if (NDalicPINVOKE.SWIGPendingException.Pending)
     {
         throw NDalicPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemple #3
0
        internal bool DoConnectSignal(ConnectionTrackerInterface connectionTracker, string signalName, SWIGTYPE_p_FunctorDelegate functorDelegate)
        {
            bool ret = Interop.BaseObject.DoConnectSignal(SwigCPtr, ConnectionTrackerInterface.getCPtr(connectionTracker), signalName, SWIGTYPE_p_FunctorDelegate.getCPtr(functorDelegate));

            if (NDalicPINVOKE.SWIGPendingException.Pending)
            {
                throw NDalicPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemple #4
0
        public void ConnectionTrackerInterfaceConstructor()
        {
            tlog.Debug(tag, $"ConnectionTrackerInterfaceConstructor START");

            using (View view = new View())
            {
                var testingTarget = new ConnectionTrackerInterface(view.SwigCPtr.Handle, false);
                Assert.IsNotNull(testingTarget, "Should be not null!");
                Assert.IsInstanceOf <ConnectionTrackerInterface>(testingTarget, "Should be an Instance of ConnectionTrackerInterface!");

                testingTarget.Dispose();
            }

            tlog.Debug(tag, $"ConnectionTrackerInterfaceConstructor END (OK)");
        }