Пример #1
0
    public new ImageMono read(bool shouldWait)
    {
        global::System.IntPtr cPtr = yarpPINVOKE.BufferedPortImageMono_read__SWIG_0(swigCPtr, shouldWait);
        ImageMono             ret  = (cPtr == global::System.IntPtr.Zero) ? null : new ImageMono(cPtr, false);

        return(ret);
    }
Пример #2
0
    public new ImageMono lastRead()
    {
        global::System.IntPtr cPtr = yarpPINVOKE.BufferedPortImageMono_lastRead(swigCPtr);
        ImageMono             ret  = (cPtr == global::System.IntPtr.Zero) ? null : new ImageMono(cPtr, false);

        return(ret);
    }
Пример #3
0
    public new ImageMono read()
    {
        global::System.IntPtr cPtr = yarpPINVOKE.TypedReaderImageMono_read__SWIG_1(swigCPtr);
        ImageMono             ret  = (cPtr == global::System.IntPtr.Zero) ? null : new ImageMono(cPtr, false);

        return(ret);
    }
Пример #4
0
    public ImageMono asImageOfPixelMono()
    {
        global::System.IntPtr cPtr = yarpPINVOKE.Things_asImageOfPixelMono(swigCPtr);
        ImageMono             ret  = (cPtr == global::System.IntPtr.Zero) ? null : new ImageMono(cPtr, false);

        return(ret);
    }
Пример #5
0
 public new void onRead(ImageMono datum, TypedReaderImageMono reader)
 {
     yarpPINVOKE.BufferedPortImageMono_onRead__SWIG_0_0(swigCPtr, ImageMono.getCPtr(datum), TypedReaderImageMono.getCPtr(reader));
     if (yarpPINVOKE.SWIGPendingException.Pending)
     {
         throw yarpPINVOKE.SWIGPendingException.Retrieve();
     }
 }
 public new void onRead(ImageMono datum)
 {
     yarpPINVOKE.TypedReaderCallbackImageMono_onRead__SWIG_0(swigCPtr, ImageMono.getCPtr(datum));
     if (yarpPINVOKE.SWIGPendingException.Pending)
     {
         throw yarpPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Пример #7
0
    public new static bool write(ImageMono src, string dest)
    {
        bool ret = yarpPINVOKE.write__SWIG_7(ImageMono.getCPtr(src), dest);

        if (yarpPINVOKE.SWIGPendingException.Pending)
        {
            throw yarpPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Пример #8
0
    public new static bool read(ImageMono dest, string src)
    {
        bool ret = yarpPINVOKE.read__SWIG_7(ImageMono.getCPtr(dest), src);

        if (yarpPINVOKE.SWIGPendingException.Pending)
        {
            throw yarpPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Пример #9
0
    public virtual bool getImage(ImageMono image)
    {
        bool ret = yarpPINVOKE.IFrameGrabberImageRaw_getImage(swigCPtr, ImageMono.getCPtr(image));

        if (yarpPINVOKE.SWIGPendingException.Pending)
        {
            throw yarpPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
 public new void onRead(ImageMono datum)
 {
     yarpPINVOKE.BufferedPortImageMono_onRead__SWIG_1(swigCPtr, ImageMono.getCPtr(datum));
     if (yarpPINVOKE.SWIGPendingException.Pending) throw yarpPINVOKE.SWIGPendingException.Retrieve();
 }
Пример #11
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(ImageMono obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }
 public virtual bool getImage(ImageMono image)
 {
     bool ret = yarpPINVOKE.IFrameGrabberImageRaw_getImage(swigCPtr, ImageMono.getCPtr(image));
     if (yarpPINVOKE.SWIGPendingException.Pending) throw yarpPINVOKE.SWIGPendingException.Retrieve();
     return ret;
 }
 public new void onRead(ImageMono datum, TypedReaderImageMono reader)
 {
     yarpPINVOKE.TypedReaderCallbackImageMono_onRead__SWIG_1(swigCPtr, ImageMono.getCPtr(datum), TypedReaderImageMono.getCPtr(reader));
     if (yarpPINVOKE.SWIGPendingException.Pending) throw yarpPINVOKE.SWIGPendingException.Retrieve();
 }
Пример #14
0
 public static new bool read(ImageMono dest, string src)
 {
     bool ret = yarpPINVOKE.read__SWIG_3(ImageMono.getCPtr(dest), src);
     if (yarpPINVOKE.SWIGPendingException.Pending) throw yarpPINVOKE.SWIGPendingException.Retrieve();
     return ret;
 }
Пример #15
0
 public static new bool write(ImageMono src, string dest)
 {
     bool ret = yarpPINVOKE.write__SWIG_3(ImageMono.getCPtr(src), dest);
     if (yarpPINVOKE.SWIGPendingException.Pending) throw yarpPINVOKE.SWIGPendingException.Retrieve();
     return ret;
 }
Пример #16
0
    public ImageMono prepare()
    {
        ImageMono ret = new ImageMono(yarpPINVOKE.BufferedPortImageMono_prepare(swigCPtr), false);

        return(ret);
    }
 public ImageMono prepare()
 {
     ImageMono ret = new ImageMono(yarpPINVOKE.BufferedPortImageMono_prepare(swigCPtr), false);
     return ret;
 }
Пример #18
0
    public virtual bool getImageCrop(cropType_id_t cropType, SWIGTYPE_p_yarp__sig__VectorOfT_std__pairT_int_int_t_t vertices, ImageMono image)
    {
        bool ret = yarpPINVOKE.IFrameGrabberImageRaw_getImageCrop(swigCPtr, (int)cropType, SWIGTYPE_p_yarp__sig__VectorOfT_std__pairT_int_int_t_t.getCPtr(vertices), ImageMono.getCPtr(image));

        if (yarpPINVOKE.SWIGPendingException.Pending)
        {
            throw yarpPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Пример #19
0
 internal static HandleRef getCPtr(ImageMono obj)
 {
     return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }