Пример #1
0
    public static ZenError ZenSensorComponentGetArrayProperty(ZenClientHandle_t clientHandle, ZenSensorHandle_t sensorHandle, ZenComponentHandle_t componentHandle, int property, ZenPropertyType type, SWIGTYPE_p_void buffer, SWIGTYPE_p_size_t bufferSize)
    {
        ZenError ret = (ZenError)OpenZenPINVOKE.ZenSensorComponentGetArrayProperty(ZenClientHandle_t.getCPtr(clientHandle), ZenSensorHandle_t.getCPtr(sensorHandle), ZenComponentHandle_t.getCPtr(componentHandle), property, (int)type, SWIGTYPE_p_void.getCPtr(buffer), SWIGTYPE_p_size_t.getCPtr(bufferSize));

        if (OpenZenPINVOKE.SWIGPendingException.Pending)
        {
            throw OpenZenPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Пример #2
0
        public override SWIGTYPE_p_Ogre__VectorIteratorT_std__vectorT_Ogre__ShadowRenderable_p_t_t getShadowVolumeRenderableIterator(ShadowTechnique shadowTechnique, Light light, HardwareIndexBufferPtr indexBuffer, SWIGTYPE_p_size_t indexBufferUsedSize, bool extrudeVertices, float extrusionDist)
        {
            SWIGTYPE_p_Ogre__VectorIteratorT_std__vectorT_Ogre__ShadowRenderable_p_t_t ret = new SWIGTYPE_p_Ogre__VectorIteratorT_std__vectorT_Ogre__ShadowRenderable_p_t_t(OgrePINVOKE.ManualObject_getShadowVolumeRenderableIterator__SWIG_1(swigCPtr, (int)shadowTechnique, Light.getCPtr(light), HardwareIndexBufferPtr.getCPtr(indexBuffer), SWIGTYPE_p_size_t.getCPtr(indexBufferUsedSize), extrudeVertices, extrusionDist), true);

            if (OgrePINVOKE.SWIGPendingException.Pending)
            {
                throw OgrePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Пример #3
0
    public static ZenError ZenSensorComponents(ZenClientHandle_t clientHandle, ZenSensorHandle_t sensorHandle, string type, SWIGTYPE_p_p_ZenComponentHandle outComponentHandles, SWIGTYPE_p_size_t outLength)
    {
        ZenError ret = (ZenError)OpenZenPINVOKE.ZenSensorComponents(ZenClientHandle_t.getCPtr(clientHandle), ZenSensorHandle_t.getCPtr(sensorHandle), type, SWIGTYPE_p_p_ZenComponentHandle.getCPtr(outComponentHandles), SWIGTYPE_p_size_t.getCPtr(outLength));

        if (OpenZenPINVOKE.SWIGPendingException.Pending)
        {
            throw OpenZenPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Пример #4
0
    public static int zmq_getsockopt(SWIGTYPE_p_void s, int option, SWIGTYPE_p_void optval, SWIGTYPE_p_size_t optvallen)
    {
        int ret = ZeroMQPINVOKE.zmq_getsockopt(SWIGTYPE_p_void.getCPtr(s), option, SWIGTYPE_p_void.getCPtr(optval), SWIGTYPE_p_size_t.getCPtr(optvallen));

        return(ret);
    }
Пример #5
0
        public bool contains(XsString other, bool caseSensitive, SWIGTYPE_p_size_t offset)
        {
            bool ret = xsensdeviceapiPINVOKE.XsString_contains__SWIG_0(swigCPtr, XsString.getCPtr(other), caseSensitive, SWIGTYPE_p_size_t.getCPtr(offset));

            if (xsensdeviceapiPINVOKE.SWIGPendingException.Pending)
            {
                throw xsensdeviceapiPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Пример #6
0
 public static void FbxAnsiToUTF8(string pInANSI, string pOutUTF8, SWIGTYPE_p_size_t pOutUTF8Size)
 {
     fbx_wrapperPINVOKE.FbxAnsiToUTF8__SWIG_0(pInANSI, pOutUTF8, SWIGTYPE_p_size_t.getCPtr(pOutUTF8Size));
 }
Пример #7
0
 public static void FbxUTF8ToAnsi(string pInUTF8, string pOutANSI, SWIGTYPE_p_size_t pOutANSISize)
 {
     fbx_wrapperPINVOKE.FbxUTF8ToAnsi__SWIG_0(pInUTF8, pOutANSI, SWIGTYPE_p_size_t.getCPtr(pOutANSISize));
 }
Пример #8
0
 public static void FbxAnsiToWC(string pInANSI, SWIGTYPE_p_p_wchar_t pOutWideChar, SWIGTYPE_p_size_t pOutWideCharSize)
 {
     fbx_wrapperPINVOKE.FbxAnsiToWC__SWIG_0(pInANSI, SWIGTYPE_p_p_wchar_t.getCPtr(pOutWideChar), SWIGTYPE_p_size_t.getCPtr(pOutWideCharSize));
     if (fbx_wrapperPINVOKE.SWIGPendingException.Pending)
     {
         throw fbx_wrapperPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Пример #9
0
 public static void FbxWCToAnsi(SWIGTYPE_p_wchar_t pInWideChar, string pOutANSI, SWIGTYPE_p_size_t pOutANSISize)
 {
     fbx_wrapperPINVOKE.FbxWCToAnsi__SWIG_0(SWIGTYPE_p_wchar_t.getCPtr(pInWideChar), pOutANSI, SWIGTYPE_p_size_t.getCPtr(pOutANSISize));
 }
Пример #10
0
 public static void FbxWCToUTF8(SWIGTYPE_p_wchar_t pInWideChar, string pOutUTF8, SWIGTYPE_p_size_t pOutUTF8Size)
 {
     fbx_wrapperPINVOKE.FbxWCToUTF8__SWIG_0(SWIGTYPE_p_wchar_t.getCPtr(pInWideChar), pOutUTF8, SWIGTYPE_p_size_t.getCPtr(pOutUTF8Size));
 }
Пример #11
0
    public string toBinary(SWIGTYPE_p_size_t size)
    {
        string ret = yarpPINVOKE.Bottle_toBinary__SWIG_0(swigCPtr, SWIGTYPE_p_size_t.getCPtr(size));

        return(ret);
    }
Пример #12
0
    public static SWIGTYPE_p_ssize_t getline(SWIGTYPE_p_p_char lineptr, SWIGTYPE_p_size_t n, SWIGTYPE_p_FILE stream)
    {
        SWIGTYPE_p_ssize_t ret = new SWIGTYPE_p_ssize_t(modshogunPINVOKE.AsciiFile_getline(SWIGTYPE_p_p_char.getCPtr(lineptr), SWIGTYPE_p_size_t.getCPtr(n), SWIGTYPE_p_FILE.getCPtr(stream)), true);

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