/*
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 ArServerInfoLocalization {
  private long swigCPtr;
  protected boolean swigCMemOwn;

  /* for internal use by swig only */
  public ArServerInfoLocalization(long cPtr, boolean cMemoryOwn) {
    swigCMemOwn = cMemoryOwn;
    swigCPtr = cPtr;
  }

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

  protected void finalize() {
    delete();
  }

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

  public ArServerInfoLocalization(ArServerBase server, ArRobot robot, ArBaseLocalizationTask locTask) {
    this(BaseArnlJavaJNI.new_ArServerInfoLocalization(ArServerBase.getCPtr(server), ArRobot.getCPtr(robot), ArBaseLocalizationTask.getCPtr(locTask)), true);
  }

  public void getLocPoints(ArServerClient client, ArNetPacket packet) {
    BaseArnlJavaJNI.ArServerInfoLocalization_getLocPoints(swigCPtr, ArServerClient.getCPtr(client), ArNetPacket.getCPtr(packet));
  }

  public void getLocState(ArServerClient client, ArNetPacket packet) {
    BaseArnlJavaJNI.ArServerInfoLocalization_getLocState(swigCPtr, ArServerClient.getCPtr(client), ArNetPacket.getCPtr(packet));
  }

  public void addInitializingCB(ArFunctor functor, int position) {
    BaseArnlJavaJNI.ArServerInfoLocalization_addInitializingCB__SWIG_0(swigCPtr, ArFunctor.getCPtr(functor), position);
  }

  public void addInitializingCB(ArFunctor functor) {
    BaseArnlJavaJNI.ArServerInfoLocalization_addInitializingCB__SWIG_1(swigCPtr, ArFunctor.getCPtr(functor));
  }

  public void remInitializingingCB(ArFunctor functor) {
    BaseArnlJavaJNI.ArServerInfoLocalization_remInitializingingCB(swigCPtr, ArFunctor.getCPtr(functor));
  }

  public void addInitializingSucceededCB(ArFunctor functor, int position) {
    BaseArnlJavaJNI.ArServerInfoLocalization_addInitializingSucceededCB__SWIG_0(swigCPtr, ArFunctor.getCPtr(functor), position);
  }

  public void addInitializingSucceededCB(ArFunctor functor) {
    BaseArnlJavaJNI.ArServerInfoLocalization_addInitializingSucceededCB__SWIG_1(swigCPtr, ArFunctor.getCPtr(functor));
  }

  public void remInitializingSucceededCB(ArFunctor functor) {
    BaseArnlJavaJNI.ArServerInfoLocalization_remInitializingSucceededCB(swigCPtr, ArFunctor.getCPtr(functor));
  }

  public void addInitializingFailedCB(ArFunctor functor, int position) {
    BaseArnlJavaJNI.ArServerInfoLocalization_addInitializingFailedCB__SWIG_0(swigCPtr, ArFunctor.getCPtr(functor), position);
  }

  public void addInitializingFailedCB(ArFunctor functor) {
    BaseArnlJavaJNI.ArServerInfoLocalization_addInitializingFailedCB__SWIG_1(swigCPtr, ArFunctor.getCPtr(functor));
  }

  public void remInitializingFailedCB(ArFunctor functor) {
    BaseArnlJavaJNI.ArServerInfoLocalization_remInitializingFailedCB(swigCPtr, ArFunctor.getCPtr(functor));
  }

  public void addLostCB(ArFunctor functor, int position) {
    BaseArnlJavaJNI.ArServerInfoLocalization_addLostCB__SWIG_0(swigCPtr, ArFunctor.getCPtr(functor), position);
  }

  public void addLostCB(ArFunctor functor) {
    BaseArnlJavaJNI.ArServerInfoLocalization_addLostCB__SWIG_1(swigCPtr, ArFunctor.getCPtr(functor));
  }

  public void remInitingCB(ArFunctor functor) {
    BaseArnlJavaJNI.ArServerInfoLocalization_remInitingCB(swigCPtr, ArFunctor.getCPtr(functor));
  }

}
