/****************************************************************************/
/* Copyright (c) 2015 MBARI                                                 */
/* MBARI Proprietary Information. All rights reserved.                      */
/****************************************************************************/
/* Summary  :                                                               */
/* Filename : CathxIF.idl                                                   */
/* Author   : Henthorn                                                      */
/* Project  :                                                               */
/* Version  : 1.0                                                           */
/* Created  : 09/06/2015                                                    */
/* Modified :                                                               */
/* Archived :                                                               */
/****************************************************************************/
/* Modification History:                                                    */
/****************************************************************************/

/*
CLASS 
CathxIF

DESCRIPTION
TaskInterface to Cathx camera device server

*/

interface CathxIF {

   enum CameraState {Ready, Busy, Error};

  struct Actions {
    short profileNumber;  // Profile request; < 0 means no request
    short imageCapture;   // Capture command; < 0 = noaction, 0 = stop, > 0 start
  };
  
   struct Data
   {
      CameraState cameraState;
      short profile;
   };


   /////////////////////////////////////////////////////////
   // Get all available data from the instrument.
   void get( out Data data );

   /////////////////////////////////////////////////////////
   // Request to perform actions.
   void actions(in Actions orders);

};
