예제 #1
0
 public Address(Address from) : this(JausAddressModulePINVOKE.new_Address__SWIG_1(Address.getCPtr(from)), true)
 {
     if (JausAddressModulePINVOKE.SWIGPendingException.Pending)
     {
         throw JausAddressModulePINVOKE.SWIGPendingException.Retrieve();
     }
 }
예제 #2
0
        public virtual bool isLocalComponent(JausAddress address)
        {
            bool ret = JausAddressModulePINVOKE.JausAddress_isLocalComponent__SWIG_1(swigCPtr, JausAddress.getCPtr(address));

            if (JausAddressModulePINVOKE.SWIGPendingException.Pending)
            {
                throw JausAddressModulePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
예제 #3
0
 public virtual void Dispose()
 {
     lock (this) {
         if (swigCPtr.Handle != IntPtr.Zero)
         {
             if (swigCMemOwn)
             {
                 swigCMemOwn = false;
                 JausAddressModulePINVOKE.delete_Address(swigCPtr);
             }
             swigCPtr = new HandleRef(null, IntPtr.Zero);
         }
         GC.SuppressFinalize(this);
     }
 }
예제 #4
0
 public Address() : this(JausAddressModulePINVOKE.new_Address__SWIG_0(), true)
 {
 }
예제 #5
0
        public virtual int setComponentID(byte value)
        {
            int ret = JausAddressModulePINVOKE.JausAddress_setComponentID(swigCPtr, value);

            return(ret);
        }
예제 #6
0
        public virtual byte getComponentID()
        {
            byte ret = JausAddressModulePINVOKE.JausAddress_getComponentID(swigCPtr);

            return(ret);
        }
예제 #7
0
        public virtual int setSubsystemID(ushort value)
        {
            int ret = JausAddressModulePINVOKE.JausAddress_setSubsystemID(swigCPtr, value);

            return(ret);
        }
예제 #8
0
        public virtual ushort getSubsystemID()
        {
            ushort ret = JausAddressModulePINVOKE.JausAddress_getSubsystemID(swigCPtr);

            return(ret);
        }
예제 #9
0
 public JausAddress(uint value) : this(JausAddressModulePINVOKE.new_JausAddress__SWIG_2(value), true)
 {
 }
예제 #10
0
 public JausAddress(ushort subsystemID, byte nodeID, byte componentID) : this(JausAddressModulePINVOKE.new_JausAddress__SWIG_1(subsystemID, nodeID, componentID), true)
 {
 }
예제 #11
0
 internal JausAddress(IntPtr cPtr, bool cMemoryOwn) : base(JausAddressModulePINVOKE.JausAddressUpcast(cPtr), cMemoryOwn)
 {
     swigCPtr = new HandleRef(this, cPtr);
 }
예제 #12
0
        public virtual bool isLocalComponent(ushort sID, byte nID, byte cID)
        {
            bool ret = JausAddressModulePINVOKE.JausAddress_isLocalComponent__SWIG_0(swigCPtr, sID, nID, cID);

            return(ret);
        }
예제 #13
0
        public virtual bool isLocalSubsystem(ushort sID)
        {
            bool ret = JausAddressModulePINVOKE.JausAddress_isLocalSubsystem__SWIG_0(swigCPtr, sID);

            return(ret);
        }
예제 #14
0
        public virtual uint get()
        {
            uint ret = JausAddressModulePINVOKE.JausAddress_get(swigCPtr);

            return(ret);
        }