public new void onRead(ImageRgb datum, TypedReaderImageRgb reader)
 {
     yarpPINVOKE.TypedReaderCallbackImageRgb_onRead__SWIG_1(swigCPtr, ImageRgb.getCPtr(datum), TypedReaderImageRgb.getCPtr(reader));
     if (yarpPINVOKE.SWIGPendingException.Pending)
     {
         throw yarpPINVOKE.SWIGPendingException.Retrieve();
     }
 }
 public new void onRead(ImageRgb datum)
 {
     yarpPINVOKE.BufferedPortImageRgb_onRead__SWIG_1(swigCPtr, ImageRgb.getCPtr(datum));
     if (yarpPINVOKE.SWIGPendingException.Pending)
     {
         throw yarpPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Beispiel #3
0
    public new bool write(ImageRgb data)
    {
        bool ret = yarpPINVOKE.Port_write__SWIG_6(swigCPtr, ImageRgb.getCPtr(data));

        if (yarpPINVOKE.SWIGPendingException.Pending)
        {
            throw yarpPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
    public virtual bool putAudioVisual(ImageRgb image, Sound sound)
    {
        bool ret = yarpPINVOKE.IFrameWriterAudioVisual_putAudioVisual(swigCPtr, ImageRgb.getCPtr(image), Sound.getCPtr(sound));

        if (yarpPINVOKE.SWIGPendingException.Pending)
        {
            throw yarpPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Beispiel #5
0
    public new static bool write(ImageRgb src, string dest)
    {
        bool ret = yarpPINVOKE.write__SWIG_1(ImageRgb.getCPtr(src), dest);

        if (yarpPINVOKE.SWIGPendingException.Pending)
        {
            throw yarpPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Beispiel #6
0
    public new static bool read(ImageRgb dest, string src)
    {
        bool ret = yarpPINVOKE.read__SWIG_1(ImageRgb.getCPtr(dest), src);

        if (yarpPINVOKE.SWIGPendingException.Pending)
        {
            throw yarpPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Beispiel #7
0
    public new static bool read(ImageRgb dest, string src, image_fileformat format)
    {
        bool ret = yarpPINVOKE.read__SWIG_0(ImageRgb.getCPtr(dest), src, (int)format);

        if (yarpPINVOKE.SWIGPendingException.Pending)
        {
            throw yarpPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
    public virtual bool putImage(ImageRgb image)
    {
        bool ret = yarpPINVOKE.IFrameWriterImage_putImage(swigCPtr, ImageRgb.getCPtr(image));

        if (yarpPINVOKE.SWIGPendingException.Pending)
        {
            throw yarpPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Beispiel #9
0
    public virtual bool getImageCrop(cropType_id_t cropType, SWIGTYPE_p_yarp__sig__VectorOfT_std__pairT_int_int_t_t vertices, ImageRgb image)
    {
        bool ret = yarpPINVOKE.IFrameGrabberImage_getImageCrop(swigCPtr, (int)cropType, SWIGTYPE_p_yarp__sig__VectorOfT_std__pairT_int_int_t_t.getCPtr(vertices), ImageRgb.getCPtr(image));

        if (yarpPINVOKE.SWIGPendingException.Pending)
        {
            throw yarpPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }