Example #1
0
 public PDetector(PDetector other) : this(PapillonPINVOKE.new_PDetector__SWIG_1(PDetector.getCPtr(other)), true)
 {
     if (PapillonPINVOKE.SWIGPendingException.Pending)
     {
         throw PapillonPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #2
0
 public void Configure(PDetector detector, PDescriber describer)
 {
     PapillonPINVOKE.PEnrollment_Configure(swigCPtr, PDetector.getCPtr(detector), PDescriber.getCPtr(describer));
     if (PapillonPINVOKE.SWIGPendingException.Pending)
     {
         throw PapillonPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #3
0
    public static PResult Create(string productName, PProperties parameters, PDetector detector)
    {
        PResult ret = new PResult(PapillonPINVOKE.PDetector_Create__SWIG_0(productName, PProperties.getCPtr(parameters), PDetector.getCPtr(detector)), true);

        if (PapillonPINVOKE.SWIGPendingException.Pending)
        {
            throw PapillonPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Example #4
0
    public static PResult Create(SWIGTYPE_p_papillon__PPlugin plugin, PProperties parameters, PDetector detector)
    {
        PResult ret = new PResult(PapillonPINVOKE.PDetector_Create__SWIG_1(SWIGTYPE_p_papillon__PPlugin.getCPtr(plugin), PProperties.getCPtr(parameters), PDetector.getCPtr(detector)), true);

        if (PapillonPINVOKE.SWIGPendingException.Pending)
        {
            throw PapillonPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Example #5
0
    public int RecomputeDescriptors(PGuid describeId, PDetector detector, PDescriber describer)
    {
        int ret = PapillonPINVOKE.PWatchlist_RecomputeDescriptors(swigCPtr, PGuid.getCPtr(describeId), PDetector.getCPtr(detector), PDescriber.getCPtr(describer));

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