Example #1
0
 public void setIntermediateSolutionCallback(SWIGTYPE_p_std__functionT_void_fompl__base__Planner_const_p_std__vectorT_ompl__base__State_const_p_t_const_R_ompl__base__Cost_constF_t callback)
 {
     ompl_basePINVOKE.ProblemDefinition_setIntermediateSolutionCallback(swigCPtr, SWIGTYPE_p_std__functionT_void_fompl__base__Planner_const_p_std__vectorT_ompl__base__State_const_p_t_const_R_ompl__base__Cost_constF_t.getCPtr(callback));
     if (ompl_basePINVOKE.SWIGPendingException.Pending)
     {
         throw ompl_basePINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #2
0
        public SWIGTYPE_p_std__functionT_void_fompl__base__Planner_const_p_std__vectorT_ompl__base__State_const_p_t_const_R_ompl__base__Cost_constF_t getIntermediateSolutionCallback()
        {
            SWIGTYPE_p_std__functionT_void_fompl__base__Planner_const_p_std__vectorT_ompl__base__State_const_p_t_const_R_ompl__base__Cost_constF_t ret = new SWIGTYPE_p_std__functionT_void_fompl__base__Planner_const_p_std__vectorT_ompl__base__State_const_p_t_const_R_ompl__base__Cost_constF_t(ompl_basePINVOKE.ProblemDefinition_getIntermediateSolutionCallback(swigCPtr), false);

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