コード例 #1
0
        public virtual bool select(Frame frame, SWIGTYPE_p_std__functionT_bool_fboost__shared_ptrT_SolAR__datastructure__Frame_t_const_RF_t func)
        {
            bool ret = solar_api_solver_mapPINVOKE.IKeyframeSelector_select__SWIG_2(swigCPtr, Frame.getCPtr(frame), SWIGTYPE_p_std__functionT_bool_fboost__shared_ptrT_SolAR__datastructure__Frame_t_const_RF_t.getCPtr(func));

            if (solar_api_solver_mapPINVOKE.SWIGPendingException.Pending)
            {
                throw solar_api_solver_mapPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
コード例 #2
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_std__functionT_bool_fboost__shared_ptrT_SolAR__datastructure__Frame_t_const_RF_t obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }