/*
********************************************************
Copyright 2000 MBARI.
MBARI Proprietary Information. All rights reserved.
NOTE: This file is automatically generated.
DO NOT MODIFY.
********************************************************
*/

#ifndef __InclinometerIF_H
#define __InclinometerIF_H

#include "TaskInterface.h"


#define InclinometerIFServerName "InclinometerIFServer"

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

DESCRIPTION
TaskInterface to Inclinometer device driver

AUTHOR
Tom O'Reilly

*/
class InclinometerIF : public TaskInterface {

  friend class InclinometerIF_SK;

  public:

  
  
  
  InclinometerIF(const char *name, int timeout = 10);

  InclinometerIF(const char *name, const char *serverName, int timeout = 10);

  ~InclinometerIF();

  /////////////////////////////////////////////////////////
  // Attitude
  // [output] roll: Roll (rad)
  // [output] pitch: Pitch (rad)
  // [output] yaw: Yaw (rad)
  // [output] rollRate: (rad/sec)
  // [output] pitchRate: (rad/sec)
  // [output] yawRate: (rad/sec)
  // [output] quality: Data quality
  // [output] time: Sample time
  long attitude(double *roll, double *pitch, double *yaw, double *rollRate, double *pitchRate, double *yawRate, short *quality, long *time);

  
  protected:

  // Message codes for each method
  enum InclinometerIFMsgCode {
    AttitudeMsgCode
  };

  // Define message structure for each method
  struct AttitudeMsg : Request, Reply {
    long returnVal;
    double roll;
    double pitch;
    double yaw;
    double rollRate;
    double pitchRate;
    double yawRate;
    short quality;
    long time;
  
  } _attitudeMsg;

};

#endif

