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

#ifndef __GulperIF_H
#define __GulperIF_H

#include "TaskInterface.h"


#define GulperIFServerName "GulperIFServer"

/****************************************************************************/
/* Copyright (c) 2006 MBARI                                                 */
/* MBARI Proprietary Information. All rights reserved.                      */
/****************************************************************************/
/* Summary  :                                                               */
/* Filename : GulperIF.idl                                                  */
/* Author   :                                                               */
/* Project  :                                                               */
/* Version  : 1.0                                                           */
/* Created  : 12/01/2006                                                    */
/* Modified :                                                               */
/* Archived :                                                               */
/****************************************************************************/
/* Modification History:                                                    */
/****************************************************************************/
/*
CLASS 
GulperIF

DESCRIPTION
TaskInterface to Gulper device sever

AUTHOR
Hans Thomas

*/
class GulperIF : public TaskInterface {

  friend class GulperIF_SK;

  public:

  
  enum GulperState {
    Ready = 0,
    Used
  };

  
  typedef GulperIF::GulperState gs[20];
  
  GulperIF(const char *name, int timeout = 10);

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

  ~GulperIF();

  void state(GulperIF::gs gulperState);

  void fireGulper(long gulperToFire);

  
  protected:

  // Message codes for each method
  enum GulperIFMsgCode {
    StateMsgCode,
    FireGulperMsgCode
  };

  // Define message structure for each method
  struct StateMsg : Request, Reply {
    GulperIF::gs gulperState;
  
  } _stateMsg;

  struct FireGulperMsg : Request, Reply {
    long gulperToFire;
  
  } _fireGulperMsg;

};

#endif

