public PResult Open(string dbHost, int dbPort, string dbName, string username, string password) { PResult ret = new PResult(PapillonPINVOKE.PSqlDatabase_Open__SWIG_1(swigCPtr, dbHost, dbPort, dbName, username, password), true); if (PapillonPINVOKE.SWIGPendingException.Pending) { throw PapillonPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public static PResult SetRegExpFilter(string loggerName, string regExpPattern) { PResult ret = new PResult(PapillonPINVOKE.PLog_SetRegExpFilter__SWIG_1(loggerName, regExpPattern), true); if (PapillonPINVOKE.SWIGPendingException.Pending) { throw PapillonPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public static PResult OpenFileLogger(string loggerName, string destinationFilename, PLog.ELogLevel level, int maximumNumberOfLogs) { PResult ret = new PResult(PapillonPINVOKE.PLog_OpenFileLogger__SWIG_0(loggerName, destinationFilename, (int)level, maximumNumberOfLogs), true); if (PapillonPINVOKE.SWIGPendingException.Pending) { throw PapillonPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public static PResult Open(string uri, PInputVideoStream inputVideoStream) { PResult ret = new PResult(PapillonPINVOKE.PInputVideoStream_Open__SWIG_0(uri, PInputVideoStream.getCPtr(inputVideoStream)), true); if (PapillonPINVOKE.SWIGPendingException.Pending) { throw PapillonPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public static PResult SetLevel(string loggerName, PLog.ELogLevel level) { PResult ret = new PResult(PapillonPINVOKE.PLog_SetLevel(loggerName, (int)level), true); if (PapillonPINVOKE.SWIGPendingException.Pending) { throw PapillonPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public static PResult Open(PSocket socket, PSocket.ESocketType socketType) { PResult ret = new PResult(PapillonPINVOKE.PSocket_Open__SWIG_2(PSocket.getCPtr(socket), (int)socketType), true); if (PapillonPINVOKE.SWIGPendingException.Pending) { throw PapillonPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public static PResult Open(SWIGTYPE_p_papillon__PPlugin plugin, PUri uri, PInputVideoStream inputVideoStream) { PResult ret = new PResult(PapillonPINVOKE.PInputVideoStream_Open__SWIG_1(SWIGTYPE_p_papillon__PPlugin.getCPtr(plugin), PUri.getCPtr(uri), PInputVideoStream.getCPtr(inputVideoStream)), true); if (PapillonPINVOKE.SWIGPendingException.Pending) { throw PapillonPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public PResult Set(int index, PObject element) { PResult ret = new PResult(PapillonPINVOKE.PList_Set(swigCPtr, index, PObject.getCPtr(element)), true); if (PapillonPINVOKE.SWIGPendingException.Pending) { throw PapillonPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public PResult Crop(PRectanglei r) { PResult ret = new PResult(PapillonPINVOKE.PFrame_Crop(swigCPtr, PRectanglei.getCPtr(r)), true); if (PapillonPINVOKE.SWIGPendingException.Pending) { throw PapillonPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public virtual PResult Apply(PExampleSet exampleSet, PDescription outputDescription) { PResult ret = new PResult(PapillonPINVOKE.PDescriberInterface_Apply(swigCPtr, PExampleSet.getCPtr(exampleSet), PDescription.getCPtr(outputDescription)), true); if (PapillonPINVOKE.SWIGPendingException.Pending) { throw PapillonPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public virtual PResult ApplyBatch(PDetectionList detectionList, SWIGTYPE_p_papillon__PDescriptionList outputDescription) { PResult ret = new PResult(PapillonPINVOKE.PDescriberInterface_ApplyBatch(swigCPtr, PDetectionList.getCPtr(detectionList), SWIGTYPE_p_papillon__PDescriptionList.getCPtr(outputDescription)), true); if (PapillonPINVOKE.SWIGPendingException.Pending) { throw PapillonPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public virtual PResult GetModelName(PString modelName) { PResult ret = new PResult(PapillonPINVOKE.PDescriberInterface_GetModelName(swigCPtr, PString.getCPtr(modelName)), true); if (PapillonPINVOKE.SWIGPendingException.Pending) { throw PapillonPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public virtual PResult GetDescribeId(PGuid describerId) { PResult ret = new PResult(PapillonPINVOKE.PDescriberInterface_GetDescribeId(swigCPtr, PGuid.getCPtr(describerId)), true); if (PapillonPINVOKE.SWIGPendingException.Pending) { throw PapillonPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public virtual PResult GetObjectType(PObjectType objectType) { PResult ret = new PResult(PapillonPINVOKE.PDescriberInterface_GetObjectType(swigCPtr, PObjectType.getCPtr(objectType)), true); if (PapillonPINVOKE.SWIGPendingException.Pending) { throw PapillonPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public PResult GetBoundAddress(PString boundAddress) { PResult ret = new PResult(PapillonPINVOKE.PSocket_GetBoundAddress(swigCPtr, PString.getCPtr(boundAddress)), true); if (PapillonPINVOKE.SWIGPendingException.Pending) { throw PapillonPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public PResult DisplayScaled(string title, int width, int height, int waitTimeMs) { PResult ret = new PResult(PapillonPINVOKE.PFrame_DisplayScaled__SWIG_0(swigCPtr, title, width, height, waitTimeMs), true); if (PapillonPINVOKE.SWIGPendingException.Pending) { throw PapillonPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public PResult GetBoundPort(SWIGTYPE_p_unsigned_int boundPort) { PResult ret = new PResult(PapillonPINVOKE.PSocket_GetBoundPort(swigCPtr, SWIGTYPE_p_unsigned_int.getCPtr(boundPort)), true); if (PapillonPINVOKE.SWIGPendingException.Pending) { throw PapillonPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public PResult DisplayScaled(string title) { PResult ret = new PResult(PapillonPINVOKE.PFrame_DisplayScaled__SWIG_3(swigCPtr, title), true); if (PapillonPINVOKE.SWIGPendingException.Pending) { throw PapillonPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public PResult Bind(string endPoint) { PResult ret = new PResult(PapillonPINVOKE.PSocket_Bind(swigCPtr, endPoint), true); if (PapillonPINVOKE.SWIGPendingException.Pending) { throw PapillonPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public PResult Unsubscribe(string filter) { PResult ret = new PResult(PapillonPINVOKE.PSocket_Unsubscribe(swigCPtr, filter), true); if (PapillonPINVOKE.SWIGPendingException.Pending) { throw PapillonPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public PResult GetFrame(PFrame frame) { PResult ret = new PResult(PapillonPINVOKE.PInputVideoStream_GetFrame__SWIG_1(swigCPtr, PFrame.getCPtr(frame)), true); if (PapillonPINVOKE.SWIGPendingException.Pending) { throw PapillonPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public PResult Send(string message) { PResult ret = new PResult(PapillonPINVOKE.PSocket_Send__SWIG_1(swigCPtr, message), true); if (PapillonPINVOKE.SWIGPendingException.Pending) { throw PapillonPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public static PResult Close(string loggerName) { PResult ret = new PResult(PapillonPINVOKE.PLog_Close(loggerName), true); if (PapillonPINVOKE.SWIGPendingException.Pending) { throw PapillonPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public PResult Send(PByteArray message, string filter) { PResult ret = new PResult(PapillonPINVOKE.PSocket_Send__SWIG_2(swigCPtr, PByteArray.getCPtr(message), filter), true); if (PapillonPINVOKE.SWIGPendingException.Pending) { throw PapillonPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public static PResult SetConsoleFormat(string format) { PResult ret = new PResult(PapillonPINVOKE.PLog_SetConsoleFormat(format), true); if (PapillonPINVOKE.SWIGPendingException.Pending) { throw PapillonPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public PResult Send(global::System.IntPtr buffer, int lengthInBytes, string filter) { PResult ret = new PResult(PapillonPINVOKE.PSocket_Send__SWIG_4(swigCPtr, buffer, lengthInBytes, filter), true); if (PapillonPINVOKE.SWIGPendingException.Pending) { throw PapillonPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public static PResult Log(PLog.ELogLevel level, string message) { PResult ret = new PResult(PapillonPINVOKE.PLog_Log__SWIG_2((int)level, message), true); if (PapillonPINVOKE.SWIGPendingException.Pending) { throw PapillonPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public PResult Receive(PByteArray message) { PResult ret = new PResult(PapillonPINVOKE.PSocket_Receive__SWIG_1(swigCPtr, PByteArray.getCPtr(message)), true); if (PapillonPINVOKE.SWIGPendingException.Pending) { throw PapillonPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public static PResult OpenFileLogger(string loggerName, string destinationFilename) { PResult ret = new PResult(PapillonPINVOKE.PLog_OpenFileLogger__SWIG_2(loggerName, destinationFilename), true); if (PapillonPINVOKE.SWIGPendingException.Pending) { throw PapillonPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public static PResult ReadClassIdAndCheck(PByteStream arg0, ushort expectedClassId) { PResult ret = new PResult(PapillonPINVOKE.PByteStream_ReadClassIdAndCheck(PByteStream.getCPtr(arg0), expectedClassId), true); if (PapillonPINVOKE.SWIGPendingException.Pending) { throw PapillonPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }