/****************************************************************************/
/* Copyright (c) 2015 MBARI                                                 */
/* MBARI Proprietary Information. All rights reserved.                      */
/****************************************************************************/
/* Summary  :                                                               */
/* Filename : CathxServer.h                                                 */
/* Author   :                                                               */
/* Project  :                                                               */
/* Version  : 1.0                                                           */
/* Created  : 09/07/2015                                                    */
/* Modified :                                                               */
/* Archived :                                                               */
/****************************************************************************/
/* Modification History:                                                    */
/****************************************************************************/
#ifndef _CathxServer_H
#define _CathxServer_H

#include <process.h>
#include "CathxIF_SK.h"

class CathxM12Output;
class CathxM12Msg;

/** Implements camera interface to other AUV drivers */
class CathxServer: public CathxIF_SK {

public:

  CathxServer(const char *name);
  ~CathxServer();


protected:

  virtual void get( CathxIF::Data *data );
  virtual void actions(CathxIF::Actions *orders);

  virtual int spawnAuxTasks();


  CathxM12Output *_cathxm12Output;
  CathxM12Msg    *_msgQ;

  /** Driver name */
  const char *_driverName;

  /** test if TRUE */
  Boolean _test;
  Boolean _sim;
};

#endif
