/*
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 ArGlobalReplanningRangeDevice extends ArRangeDevice {
  private long swigCPtr;

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

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

  protected void finalize() {
    delete();
  }

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

  public ArGlobalReplanningRangeDevice(ArPathPlanningTask pathTask, long currentBufferSize, long cumulativeBufferSize, String name) {
    this(BaseArnlJavaJNI.new_ArGlobalReplanningRangeDevice__SWIG_0(ArPathPlanningTask.getCPtr(pathTask), currentBufferSize, cumulativeBufferSize, name), true);
  }

  public ArGlobalReplanningRangeDevice(ArPathPlanningTask pathTask, long currentBufferSize, long cumulativeBufferSize) {
    this(BaseArnlJavaJNI.new_ArGlobalReplanningRangeDevice__SWIG_1(ArPathPlanningTask.getCPtr(pathTask), currentBufferSize, cumulativeBufferSize), true);
  }

  public ArGlobalReplanningRangeDevice(ArPathPlanningTask pathTask, long currentBufferSize) {
    this(BaseArnlJavaJNI.new_ArGlobalReplanningRangeDevice__SWIG_2(ArPathPlanningTask.getCPtr(pathTask), currentBufferSize), true);
  }

  public ArGlobalReplanningRangeDevice(ArPathPlanningTask pathTask) {
    this(BaseArnlJavaJNI.new_ArGlobalReplanningRangeDevice__SWIG_3(ArPathPlanningTask.getCPtr(pathTask)), true);
  }

  public void clear(ArPose pose) {
    BaseArnlJavaJNI.ArGlobalReplanningRangeDevice_clear(swigCPtr, ArPose.getCPtr(pose));
  }

  public void addReadings(ArPoseList readings) {
    BaseArnlJavaJNI.ArGlobalReplanningRangeDevice_addReadings(swigCPtr, ArPoseList.getCPtr(readings));
  }

}
