/****************************************************************************/
/* Copyright (c) 2004 MBARI                                                 */
/* MBARI Proprietary Information. All rights reserved.                      */
/****************************************************************************/
/* Summary  :                                                               */
/* Filename : simKearfott.cc                                                */
/* Author   :                                                               */
/* Project  :                                                               */
/* Version  : 1.0                                                           */
/* Created  : 12/17/2004                                                    */
/* Modified :                                                               */
/* Archived :                                                               */
/****************************************************************************/
/* Modification History:                                                    */
/****************************************************************************/
#include "SimulatedKearfott.h"
#include "Syslog.h"
#include "Exception.h"
#include "System.h"

int main(int argc, char **argv)
{
  SimulatedKearfott *server = 0;

  if (System::setTaskPriority(SimulatorPriority) == -1) return 1;

  try 
  {
    server = new SimulatedKearfott();
    Syslog::write("Running SimulatedKearfott now");
    server->run();
  }
  catch (Exception e) 
  {
    Syslog::write("simKearfott - caught Exception: %s\n", e.msg);
  }
  catch (...) 
  {
    Syslog::write("simKearfott - caught exception!\n");
  }
  delete server;
  return 0;
}

