/****************************************************************************/
/* Copyright (c) 2000 MBARI                                                 */
/* MBARI Proprietary Information. All rights reserved.                      */
/****************************************************************************/
/* Summary  :                                                               */
/* Filename : simulator.cc                                                  */
/* Author   :                                                               */
/* Project  :                                                               */
/* Version  : 1.0                                                           */
/* Created  : 02/07/2000                                                    */
/* Modified :                                                               */
/* Archived :                                                               */
/****************************************************************************/
/* Modification History:                                                    */
/****************************************************************************/
#include "Simulator.h"
#include "Syslog.h"
#include "System.h"

int main(int argc, char **argv)
{
  Boolean debug = True;

  try {

    dprintf("Create simulator...\n");

    const char *configFile = System::configurationFile("simulator.cfg");

    Simulator *server = new Simulator(configFile, "simulator.m");

    dprintf("Invoke simulator->run()...\n");
    server->run();
  }
  catch (...) {
    Syslog::write("simulator - caught exception!\n");
  }


  return 0;
}

