public override ArActionDesired resolve(SWIGTYPE_p_std__multimapT_int_ArAction_p_t actions, ArRobot robot)
        {
            global::System.IntPtr cPtr = AriaCSPINVOKE.ArPriorityResolver_resolve__SWIG_1(swigCPtr, SWIGTYPE_p_std__multimapT_int_ArAction_p_t.getCPtr(actions), ArRobot.getCPtr(robot));
            ArActionDesired       ret  = (cPtr == global::System.IntPtr.Zero) ? null : new ArActionDesired(cPtr, false);

            return(ret);
        }
Exemple #2
0
        public override ArActionDesired getDesired()
        {
            global::System.IntPtr cPtr = AriaCSPINVOKE.ArActionKeydrive_getDesired(swigCPtr);
            ArActionDesired       ret  = (cPtr == global::System.IntPtr.Zero) ? null : new ArActionDesired(cPtr, false);

            return(ret);
        }
        public virtual ArActionDesired resolve(SWIGTYPE_p_std__multimapT_int_ArAction_p_t actions, ArRobot robot, bool logActions)
        {
            global::System.IntPtr cPtr = AriaCSPINVOKE.ArResolver_resolve__SWIG_0(swigCPtr, SWIGTYPE_p_std__multimapT_int_ArAction_p_t.getCPtr(actions), ArRobot.getCPtr(robot), logActions);
            ArActionDesired       ret  = (cPtr == global::System.IntPtr.Zero) ? null : new ArActionDesired(cPtr, false);

            return(ret);
        }
        public virtual ArActionDesired getDesired()
        {
            global::System.IntPtr cPtr = (SwigDerivedClassHasMethod("getDesired", swigMethodTypes9) ? AriaCSPINVOKE.ArAction_getDesiredSwigExplicitArAction__SWIG_0(swigCPtr) : AriaCSPINVOKE.ArAction_getDesired__SWIG_0(swigCPtr));
            ArActionDesired       ret  = (cPtr == global::System.IntPtr.Zero) ? null : new ArActionDesired(cPtr, false);

            return(ret);
        }
Exemple #5
0
        public override ArActionDesired fire(ArActionDesired currentDesired)
        {
            global::System.IntPtr cPtr = AriaCSPINVOKE.ArActionKeydrive_fire(swigCPtr, ArActionDesired.getCPtr(currentDesired));
            ArActionDesired       ret  = (cPtr == global::System.IntPtr.Zero) ? null : new ArActionDesired(cPtr, false);

            if (AriaCSPINVOKE.SWIGPendingException.Pending)
            {
                throw AriaCSPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemple #6
0
 public virtual void addAverage(ArActionDesired actDesired)
 {
     AriaCSPINVOKE.ArActionDesired_addAverage(swigCPtr, ArActionDesired.getCPtr(actDesired));
 }
Exemple #7
0
 public static global::System.Runtime.InteropServices.HandleRef getCPtr(ArActionDesired obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }
 private global::System.IntPtr SwigDirectorgetDesired__SWIG_1()
 {
     return(ArActionDesired.getCPtr(getDesired()).Handle);
 }
 private global::System.IntPtr SwigDirectorfire(global::System.IntPtr currentDesired)
 {
     return(ArActionDesired.getCPtr(fire(new ArActionDesired(currentDesired, false))).Handle);
 }