/****************************************************************************/
/* Copyright (c) 2000 MBARI                                                 */
/* MBARI Proprietary Information. All rights reserved.                      */
/****************************************************************************/
/* Summary  :                                                               */
/* Filename : CrossbowLog.h                                                 */
/* Author   :                                                               */
/* Project  :                                                               */
/* Version  : 1.0                                                           */
/* Created  : 02/07/2000                                                    */
/* Modified :                                                               */
/* Archived :                                                               */
/****************************************************************************/
/* Modification History:                                                    */
/****************************************************************************/
/*-----------------------------------------------------------------------*
  CLASS: CrossbowLog.h

  DESCRIPTION: Logging object for the Crossbow

  $Id: CrossbowLog.h,v 1.4 2000/05/12 15:27:19 oreilly Exp $
  *-----------------------------------------------------------------------*/

#ifndef _CROSSBOW_LOG_H
#define _CROSSBOW_LOG_H

#include "DataLog.h"
#include "DataLogWriter.h"

#include "DoubleData.h"
#include "AngleData.h"

class Crossbow;

#define CrossbowLogName "crossbow"

class CrossbowLog : public DataLogWriter
{

public:

  CrossbowLog( Crossbow *, DataLog::FileFormat );
  ~CrossbowLog();

protected:
  virtual void setFields();

  Crossbow *_crossbow;

  AngleData *_roll, *_rollRate,
       *_pitch, *_pitchRate,
       *_yaw, *_yawRate;

  DoubleData *_accelX, *_accelY, *_accelZ,
       *_magX, *_magY, *_magZ,
       *_temp;
};

#endif
