/****************************************************************************/
/* Copyright (c) 2014 MBARI                                                 */
/* MBARI Proprietary Information. All rights reserved.                      */
/****************************************************************************/
/* Summary  :                                                               */
/* Filename : carlServer.cc                                                 */
/* Author   :                                                               */
/* Project  :                                                               */
/* Version  : 1.0                                                           */
/* Created  : 11/17/2014                                                    */
/* Modified :                                                               */
/* Archived :                                                               */
/****************************************************************************/
/* Modification History:                                                    */
/****************************************************************************/

#include "SimulatedCarl.h"
#include "Syslog.h"
#include "System.h"

int main( int argc, char **argv )
{

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

  try {
    SimulatedCarl *server = new SimulatedCarl("Bogus");
    server->run();
  }
  catch (Exception e) {
    Syslog::write("simCarl - caught Exception: %s\n", e.msg);
  }
  catch (...) {
    Syslog::write("simCarl - caught exception!\n");
  }

  return 0;
}
