Пример #1
0
 public void add(SWIGTYPE_p_std__shared_ptrT_ompl__base__GenericParam_t param)
 {
     ompl_basePINVOKE.ParamSet_add(swigCPtr, SWIGTYPE_p_std__shared_ptrT_ompl__base__GenericParam_t.getCPtr(param));
     if (ompl_basePINVOKE.SWIGPendingException.Pending)
     {
         throw ompl_basePINVOKE.SWIGPendingException.Retrieve();
     }
 }
Пример #2
0
        public SWIGTYPE_p_std__shared_ptrT_ompl__base__GenericParam_t getParam(string key)
        {
            SWIGTYPE_p_std__shared_ptrT_ompl__base__GenericParam_t ret = new SWIGTYPE_p_std__shared_ptrT_ompl__base__GenericParam_t(ompl_basePINVOKE.ParamSet_getParam__SWIG_1(swigCPtr, key), false);

            if (ompl_basePINVOKE.SWIGPendingException.Pending)
            {
                throw ompl_basePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Пример #3
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_std__shared_ptrT_ompl__base__GenericParam_t obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }