Beispiel #1
0
 public void gnssMessageInfo(DeviceMessageInfo val)
 {
     msclPINVOKE.DeviceStatusData_gnssMessageInfo__SWIG_1(swigCPtr, DeviceMessageInfo.getCPtr(val));
     if (msclPINVOKE.SWIGPendingException.Pending)
     {
         throw msclPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Beispiel #2
0
        public DeviceMessageInfo gnssMessageInfo()
        {
            DeviceMessageInfo ret = new DeviceMessageInfo(msclPINVOKE.DeviceStatusData_gnssMessageInfo__SWIG_0(swigCPtr), true);

            if (msclPINVOKE.SWIGPendingException.Pending)
            {
                throw msclPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
 public ButtplugClientDevice(DeviceMessageInfo aDevInfo)
 {
     Index           = aDevInfo.DeviceIndex;
     Name            = aDevInfo.DeviceName;
     AllowedMessages = new Dictionary <string, MessageAttributes>(aDevInfo.DeviceMessages);
 }
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(DeviceMessageInfo obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }
 public ButtplugClientDevice(DeviceMessageInfo aDevInfo)
 {
     Index           = aDevInfo.DeviceIndex;
     Name            = aDevInfo.DeviceName;
     AllowedMessages = new List <string>(aDevInfo.DeviceMessages);
 }