/****************************************************************************/
/* Copyright (c) 2001 MBARI                                                 */
/* MBARI Proprietary Information. All rights reserved.                      */
/****************************************************************************/
/* Summary  :                                                               */
/* Filename : Ips4Input.h                                          */
/* Author   :                                                               */
/* Project  :                                                               */
/* Version  : 1.0                                                           */
/* Created  : 06/18/2001                                                    */
/* Modified :                                                               */
/* Archived :                                                               */
/****************************************************************************/
/* Modification History:                                                    */
/****************************************************************************/

#ifndef _IPS4INPUT_H
#define _IPS4INPUT_H

#include <time.h>
#include "SharedData.h"
#include "Ips4IF.h"

#define Ips4InputName "Ips4Input_ShmemName"

#define RESET             0
#define START_PROFILE   101
#define STOP_PROFILE    202

/*
CLASS 
Ips4Input

DESCRIPTION
In for Ips4 driver

AUTHOR
Rich Henthorn
*/

class Ips4Input : public SharedData {

public:

  struct Ips4Data {
    // Indicates that device is profiling
    // Set to true to begin new profile
    // Set to false to stop profiling

    int _profile;
  };

  Ips4Input(Access access = NoAccess, Boolean init = False);

  ~Ips4Input();


  ////////////////////////////////////////////////////////////////////
  // Read from shared memory to this object's Data::data element
  void read();

  ////////////////////////////////////////////////////////////////////
  // Write from this object's Data::data element to shared memory
  void write();

  Ips4Data data;

};

#endif
