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

#ifndef __TimeIF_H
#define __TimeIF_H

#include "TaskInterface.h"


#define TimeIFServerName "TimeIFServer"

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

DESCRIPTION
Utilities and structures for time-keeping

AUTHOR
Tom O'Reilly

*/
class TimeIF : public TaskInterface {

  friend class TimeIF_SK;

  public:

  // Forward declarations of public structures
  struct TimeSpec;
  
  
  
  /////////////////////////////////////////////////////////
  // Structure to hold clock time
  struct TimeSpec {
    long seconds;
    long nanoSeconds;
  };
  TimeIF(const char *name, int timeout = 10);

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

  ~TimeIF();

  
  protected:

  // Message codes for each method
  enum TimeIFMsgCode {
  };

  // Define message structure for each method
};

#endif

