#ifndef _BATHYTELEMETRY_H
#define _BATHYTELEMETRY_H

#include "AcousticTelemetry.h"
#include "FloatData.h"

/*
CLASS 
BathyTelemetry

DESCRIPTION
AcousticTelemetry for vehicle depth and altitude

AUTHOR
Tom O'Reilly
*/
class BathyTelemetry : public AcousticTelemetry {

 public:

  BathyTelemetry(int maxPacketBytes);
  virtual ~BathyTelemetry();

  ///////////////////////////////////////////////////////////////////
  // Data structure holds "location" telemetry
  struct Data {
    float depth;
    float altitude;

  } data;


protected:

  ///////////////////////////////////////////////////////////////////
  // Encode this object's telemetry data structure, place into this 
  // object's encoded buffer.
  virtual void encode();

  ///////////////////////////////////////////////////////////////////
  // Decode this object's encoded buffer, place into this object's
  // telemetry data structure
  virtual void decode();

  FloatData _floatData;
};

#endif
