Exemplo n.º 1
0
 public ModuleException(string what, XPCFErrorCode errCode) : this(xpcf_apiPINVOKE.new_ModuleException__SWIG_1(what, (int)errCode), true)
 {
     if (xpcf_apiPINVOKE.SWIGPendingException.Pending)
     {
         throw xpcf_apiPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemplo n.º 2
0
 public Exception(XPCFErrorCode errCode) : this(xpcf_apiPINVOKE.new_Exception__SWIG_0((int)errCode), true)
 {
     if (xpcf_apiPINVOKE.SWIGPendingException.Pending)
     {
         throw xpcf_apiPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemplo n.º 3
0
        public virtual XPCFErrorCode loadModules(string folderPathStr)
        {
            XPCFErrorCode ret = (XPCFErrorCode)xpcf_apiPINVOKE.IComponentManager_loadModules__SWIG_1(swigCPtr, folderPathStr);

            if (xpcf_apiPINVOKE.SWIGPendingException.Pending)
            {
                throw xpcf_apiPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemplo n.º 4
0
        public virtual XPCFErrorCode loadModuleMetadata(string moduleName, string moduleFilePath)
        {
            XPCFErrorCode ret = (XPCFErrorCode)xpcf_apiPINVOKE.IComponentManager_loadModuleMetadata(swigCPtr, moduleName, moduleFilePath);

            if (xpcf_apiPINVOKE.SWIGPendingException.Pending)
            {
                throw xpcf_apiPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemplo n.º 5
0
        public virtual XPCFErrorCode load(string libraryFilePath)
        {
            XPCFErrorCode ret = (XPCFErrorCode)xpcf_apiPINVOKE.IComponentManager_load__SWIG_1(swigCPtr, libraryFilePath);

            if (xpcf_apiPINVOKE.SWIGPendingException.Pending)
            {
                throw xpcf_apiPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemplo n.º 6
0
        public virtual XPCFErrorCode setProperty(IProperty p)
        {
            XPCFErrorCode ret = (XPCFErrorCode)xpcf_propertiesPINVOKE.IPropertyMap_setProperty(swigCPtr, IProperty.getCPtr(p));

            if (xpcf_propertiesPINVOKE.SWIGPendingException.Pending)
            {
                throw xpcf_propertiesPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemplo n.º 7
0
        public virtual XPCFErrorCode saveModuleInformations(string xmlFilePath, ModuleMetadata moduleInfos)
        {
            XPCFErrorCode ret = (XPCFErrorCode)xpcf_apiPINVOKE.IModuleManager_saveModuleInformations(swigCPtr, xmlFilePath, ModuleMetadata.getCPtr(moduleInfos));

            if (xpcf_apiPINVOKE.SWIGPendingException.Pending)
            {
                throw xpcf_apiPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemplo n.º 8
0
        public virtual XPCFErrorCode serialize(string filepath, uint mode)
        {
            XPCFErrorCode ret = (XPCFErrorCode)xpcf_apiPINVOKE.IConfigurable_serialize(swigCPtr, filepath, mode);

            if (xpcf_apiPINVOKE.SWIGPendingException.Pending)
            {
                throw xpcf_apiPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemplo n.º 9
0
        public virtual XPCFErrorCode onConfigured()
        {
            XPCFErrorCode ret = (XPCFErrorCode)xpcf_apiPINVOKE.IConfigurable_onConfigured(swigCPtr);

            if (xpcf_apiPINVOKE.SWIGPendingException.Pending)
            {
                throw xpcf_apiPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemplo n.º 10
0
        public virtual XPCFErrorCode configure(string filepath, string xpath)
        {
            XPCFErrorCode ret = (XPCFErrorCode)xpcf_apiPINVOKE.IConfigurable_configure__SWIG_1(swigCPtr, filepath, xpath);

            if (xpcf_apiPINVOKE.SWIGPendingException.Pending)
            {
                throw xpcf_apiPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemplo n.º 11
0
        public virtual XPCFErrorCode copyTo(IProperty dest)
        {
            XPCFErrorCode ret = (XPCFErrorCode)xpcf_propertiesPINVOKE.IProperty_copyTo(swigCPtr, IProperty.getCPtr(dest));

            if (xpcf_propertiesPINVOKE.SWIGPendingException.Pending)
            {
                throw xpcf_propertiesPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemplo n.º 12
0
        public virtual XPCFErrorCode setProperties(string name)
        {
            XPCFErrorCode ret = (XPCFErrorCode)xpcf_propertiesPINVOKE.IProperty_setProperties__SWIG_2(swigCPtr, name);

            if (xpcf_propertiesPINVOKE.SWIGPendingException.Pending)
            {
                throw xpcf_propertiesPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemplo n.º 13
0
        public virtual XPCFErrorCode setProperties(string name, uint numberOfValues, IProperty.AccessSpecifier iotype)
        {
            XPCFErrorCode ret = (XPCFErrorCode)xpcf_propertiesPINVOKE.IProperty_setProperties__SWIG_0(swigCPtr, name, numberOfValues, (int)iotype);

            if (xpcf_propertiesPINVOKE.SWIGPendingException.Pending)
            {
                throw xpcf_propertiesPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemplo n.º 14
0
        public XPCFErrorCode getErrorCode()
        {
            XPCFErrorCode ret = (XPCFErrorCode)xpcf_apiPINVOKE.Exception_getErrorCode(swigCPtr);

            if (xpcf_apiPINVOKE.SWIGPendingException.Pending)
            {
                throw xpcf_apiPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemplo n.º 15
0
 public InjectionException(SWIGTYPE_p_boost__shared_ptrT_org__bcom__xpcf__InjectableMetadata_t injectableInfo, XPCFErrorCode errCode) : this(xpcf_apiPINVOKE.new_InjectionException__SWIG_1(SWIGTYPE_p_boost__shared_ptrT_org__bcom__xpcf__InjectableMetadata_t.getCPtr(injectableInfo), (int)errCode), true)
 {
     if (xpcf_apiPINVOKE.SWIGPendingException.Pending)
     {
         throw xpcf_apiPINVOKE.SWIGPendingException.Retrieve();
     }
 }