Пример #1
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();
     }
 }
Пример #2
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);
    }
Пример #3
0
    public static PResult Create(SWIGTYPE_p_papillon__PPlugin plugin, PProperties parameters, PDescriber describer)
    {
        PResult ret = new PResult(PapillonPINVOKE.PDescriber_Create__SWIG_1(SWIGTYPE_p_papillon__PPlugin.getCPtr(plugin), PProperties.getCPtr(parameters), PDescriber.getCPtr(describer)), true);

        if (PapillonPINVOKE.SWIGPendingException.Pending)
        {
            throw PapillonPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Пример #4
0
    public static PResult Create(string productName, PProperties parameters, PDescriber describer)
    {
        PResult ret = new PResult(PapillonPINVOKE.PDescriber_Create__SWIG_0(productName, PProperties.getCPtr(parameters), PDescriber.getCPtr(describer)), true);

        if (PapillonPINVOKE.SWIGPendingException.Pending)
        {
            throw PapillonPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Пример #5
0
 public PDescriber(PDescriber other) : this(PapillonPINVOKE.new_PDescriber__SWIG_2(PDescriber.getCPtr(other)), true)
 {
     if (PapillonPINVOKE.SWIGPendingException.Pending)
     {
         throw PapillonPINVOKE.SWIGPendingException.Retrieve();
     }
 }