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

#include "Behavior.h"
#include "MissionClock.h"
#include "DropWeightIF.h"

#define DropWeightSafeModeBehaviorName "dropWeightSafeMode"

class DropWeightSafeMode : public Behavior {

public:

  ///////////////////////////////////////////////////////////////////
  // Constructor
  DropWeightSafeMode();

  virtual ~DropWeightSafeMode();

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

protected:
  DropWeightIF *_dropWeight;
  double _dropWeightDepth;
  long   _nConsecutive;
  long   _counter;
  Boolean _dropped;

};

#endif
