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

#ifndef __AuvTimeSyncIF_H
#define __AuvTimeSyncIF_H

#include "TaskInterface.h"


#define AuvTimeSyncIFServerName "AuvTimeSyncIFServer"

/****************************************************************************/
/* Copyright (c) 2007 MBARI                                                 */
/* MBARI Proprietary Information. All rights reserved.                      */
/****************************************************************************/
/* Summary  :                                                               */
/* Filename : AuvTimeSyncIF.idl                                             */
/* Author   :                                                               */
/* Project  :                                                               */
/* Version  : 1.0                                                           */
/* Created  : 06/07/2007                                                    */
/* Modified :                                                               */
/* Archived :                                                               */
/****************************************************************************/
/* Modification History:                                                    */
/****************************************************************************/
class AuvTimeSyncIF : public TaskInterface {

  friend class AuvTimeSyncIF_SK;

  public:

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

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

  ~AuvTimeSyncIF();

  void getDrift(float *drift);

  void getDelta(float *delta);

  
  protected:

  // Message codes for each method
  enum AuvTimeSyncIFMsgCode {
    GetDriftMsgCode,
    GetDeltaMsgCode
  };

  // Define message structure for each method
  struct GetDriftMsg : Request, Reply {
    float drift;
  
  } _getDriftMsg;

  struct GetDeltaMsg : Request, Reply {
    float delta;
  
  } _getDeltaMsg;

};

#endif

