/*
MobileRobots Advanced Robotics Navigation and Localization (ARNL)
Version 1.7.1

Copyright (C) 2004, 2005 ActivMedia Robotics LLC
Copyright (C) 2006, 2007, 2008, 2009 MobileRobots Inc.

All Rights Reserved.

MobileRobots Inc does not make any representations about the
suitability of this software for any purpose.  It is provided "as is"
without express or implied warranty.

The license for this software is distributed as LICENSE.txt in the top
level directory.

robots@mobilerobots.com
MobileRobots
10 Columbia Drive
Amherst, NH 03031
800-639-9481

*/
/* ----------------------------------------------------------------------------
 * This file was automatically generated by SWIG (http://www.swig.org).
 * Version 1.3.29
 *
 * Do not make changes to this file unless you know what you are doing--modify
 * the SWIG interface file instead.
 * ----------------------------------------------------------------------------- */

package com.mobilerobots.BaseArnl;

  import com.mobilerobots.Aria.*;
  import com.mobilerobots.ArNetworking.*;

public class ArServerModeGotoLLA extends ArServerMode {
  private long swigCPtr;

  /* for internal use by swig only */
  public ArServerModeGotoLLA(long cPtr, boolean cMemoryOwn) {
    super(BaseArnlJavaJNI.SWIGArServerModeGotoLLAUpcast(cPtr), cMemoryOwn);
    swigCPtr = cPtr;
  }

  /* for internal use by swig only */
  public static long getCPtr(ArServerModeGotoLLA obj) {
    return (obj == null) ? 0 : obj.swigCPtr;
  }

  protected void finalize() {
    delete();
  }

  public void delete() {
    if(swigCPtr != 0 && swigCMemOwn) {
      swigCMemOwn = false;
      BaseArnlJavaJNI.delete_ArServerModeGotoLLA(swigCPtr);
    }
    swigCPtr = 0;
    super.delete();
  }

  public ArServerModeGotoLLA(ArServerBase server, ArRobot robot, ArBaseLocalizationTask locTask, ArPathPlanningTask pathTask, ArMapInterface arMap, ArPose home, SWIGTYPE_p_ArRetFunctorTArPose_t getHomePoseCB) {
    this(BaseArnlJavaJNI.new_ArServerModeGotoLLA__SWIG_0(ArServerBase.getCPtr(server), ArRobot.getCPtr(robot), ArBaseLocalizationTask.getCPtr(locTask), ArPathPlanningTask.getCPtr(pathTask), ArMapInterface.getCPtr(arMap), ArPose.getCPtr(home), SWIGTYPE_p_ArRetFunctorTArPose_t.getCPtr(getHomePoseCB)), true);
  }

  public ArServerModeGotoLLA(ArServerBase server, ArRobot robot, ArBaseLocalizationTask locTask, ArPathPlanningTask pathTask, ArMapInterface arMap, ArPose home) {
    this(BaseArnlJavaJNI.new_ArServerModeGotoLLA__SWIG_1(ArServerBase.getCPtr(server), ArRobot.getCPtr(robot), ArBaseLocalizationTask.getCPtr(locTask), ArPathPlanningTask.getCPtr(pathTask), ArMapInterface.getCPtr(arMap), ArPose.getCPtr(home)), true);
  }

  public ArServerModeGotoLLA(ArServerBase server, ArRobot robot, ArBaseLocalizationTask locTask, ArPathPlanningTask pathTask, ArMapInterface arMap) {
    this(BaseArnlJavaJNI.new_ArServerModeGotoLLA__SWIG_2(ArServerBase.getCPtr(server), ArRobot.getCPtr(robot), ArBaseLocalizationTask.getCPtr(locTask), ArPathPlanningTask.getCPtr(pathTask), ArMapInterface.getCPtr(arMap)), true);
  }

  public void activate() {
    BaseArnlJavaJNI.ArServerModeGotoLLA_activate(swigCPtr);
  }

  public void deactivate() {
    BaseArnlJavaJNI.ArServerModeGotoLLA_deactivate(swigCPtr);
  }

  public void gotoPose(ArPose pose, ArPose llaPose, boolean useHeading) {
    BaseArnlJavaJNI.ArServerModeGotoLLA_gotoPose(swigCPtr, ArPose.getCPtr(pose), ArPose.getCPtr(llaPose), useHeading);
  }

  public void tourGoalsInList(ArPoseList goalList, ArPoseList llaGoalList) {
    BaseArnlJavaJNI.ArServerModeGotoLLA_tourGoalsInList(swigCPtr, ArPoseList.getCPtr(goalList), ArPoseList.getCPtr(llaGoalList));
  }

  public void addGotoLLACommand(ArServerHandlerCommands commandsServer) {
    BaseArnlJavaJNI.ArServerModeGotoLLA_addGotoLLACommand(swigCPtr, ArServerHandlerCommands.getCPtr(commandsServer));
  }

  public void gotoLLA(ArArgumentBuilder args) {
    BaseArnlJavaJNI.ArServerModeGotoLLA_gotoLLA(swigCPtr, ArArgumentBuilder.getCPtr(args));
  }

  public void addTourGoalsInListCommand(ArServerHandlerCommands commandsServer) {
    BaseArnlJavaJNI.ArServerModeGotoLLA_addTourGoalsInListCommand(swigCPtr, ArServerHandlerCommands.getCPtr(commandsServer));
  }

  public void tourGoalsInListCommand(ArArgumentBuilder arg) {
    BaseArnlJavaJNI.ArServerModeGotoLLA_tourGoalsInListCommand(swigCPtr, ArArgumentBuilder.getCPtr(arg));
  }

}
