Exemple #1
0
 public virtual void Start(FLIRCommunicationInterface iface)
 {
     if (IsDirectBinding)
     {
         if (IntPtr.Size == 8)
         {
             global::ApiDefinition.Messaging.void_objc_msgSend_UInt64(this.Handle, Selector.GetHandle("start:"), (UInt64)iface);
         }
         else
         {
             global::ApiDefinition.Messaging.void_objc_msgSend_UInt32(this.Handle, Selector.GetHandle("start:"), (UInt32)iface);
         }
     }
     else
     {
         if (IntPtr.Size == 8)
         {
             global::ApiDefinition.Messaging.void_objc_msgSendSuper_UInt64(this.SuperHandle, Selector.GetHandle("start:"), (UInt64)iface);
         }
         else
         {
             global::ApiDefinition.Messaging.void_objc_msgSendSuper_UInt32(this.SuperHandle, Selector.GetHandle("start:"), (UInt32)iface);
         }
     }
 }
 public static void DiscoveryFinished(this IFLIRDiscoveryEventDelegate This, FLIRCommunicationInterface iface)
 {
     if (IntPtr.Size == 8)
     {
         global::ApiDefinition.Messaging.void_objc_msgSend_UInt64(This.Handle, Selector.GetHandle("discoveryFinished:"), (UInt64)iface);
     }
     else
     {
         global::ApiDefinition.Messaging.void_objc_msgSend_UInt32(This.Handle, Selector.GetHandle("discoveryFinished:"), (UInt32)iface);
     }
 }
        public void DiscoveryError(string error, int nsnetserviceserror, FLIRCommunicationInterface iface)
        {
            if (error == null)
            {
                throw new ArgumentNullException("error");
            }
            var nserror = NSString.CreateNative(error);

            if (IntPtr.Size == 8)
            {
                global::ApiDefinition.Messaging.void_objc_msgSend_IntPtr_int_UInt64(this.Handle, Selector.GetHandle("discoveryError:netServiceError:on:"), nserror, nsnetserviceserror, (UInt64)iface);
            }
            else
            {
                global::ApiDefinition.Messaging.void_objc_msgSend_IntPtr_int_UInt32(this.Handle, Selector.GetHandle("discoveryError:netServiceError:on:"), nserror, nsnetserviceserror, (UInt32)iface);
            }
            NSString.ReleaseNative(nserror);
        }
 public virtual void DiscoveryFinished(FLIRCommunicationInterface iface)
 {
     throw new You_Should_Not_Call_base_In_This_Method();
 }
 public abstract void DiscoveryError(string error, int nsnetserviceserror, FLIRCommunicationInterface iface);