/****************************************************************************/
/* Copyright (c) 2000 MBARI                                                 */
/* MBARI Proprietary Information. All rights reserved.                      */
/****************************************************************************/
/* Summary  :                                                               */
/* Filename : GetGPS.h                                                      */
/* Author   :                                                               */
/* Project  :                                                               */
/* Version  : 1.0                                                           */
/* Created  : 02/07/2000                                                    */
/* Modified :                                                               */
/* Archived :                                                               */
/****************************************************************************/
/* Modification History:                                                    */
/****************************************************************************/
#ifndef _GETGPS_H
#define _GETGPS_H

#include "ourTypes.h"
#include "Behavior.h"
#include "GpsIF.h"

#define GetGPSBehaviorName "getgps"

/*
CLASS 
GetGPS

DESCRIPTION


Attribute         Type               Meaning
---------         ----               -------


AUTHOR

*/
class GetGPS : public Behavior {

public:

  GetGPS();

  virtual ~GetGPS();

  virtual Boolean shouldBehaviorStart();

  virtual void execute();
  virtual Boolean validInput();

protected:

  Boolean _abortOnTimeout;

  double _timeout;
  long _hitsNeeded, _hitsCounted;

  long _prevTime;

  GpsIF *_gps;

  
};



#endif




