/******************************************************************/
/*  Copyright (c) 2000 MIT Sea Grant AUV LAB                      */
/*                                                                */
/*  MIT proprietary information--All rights reserved              */
/******************************************************************/
/*                                                                */
/*  Summary:                                                      */
/*                                                                */
/*  FileName:  _lblServer.cc                                      */
/*                                                                */
/*  Author:    Don Eickstedt                                      */
/*                                                                */
/*  Created:    25 May 2000                                       */
/******************************************************************/

#include "Syslog.h"
#include "System.h"
#include "SerialParameters.h"
#include "SimulatedLbl.h"

int main ( int argc, char **argv )
{
  SimLbl *SimLBLServer;

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

  try
  {
    SimLBLServer = new SimLbl("SimLblServer");
    Syslog::write("Running SimLbl now");
    SimLBLServer -> run();
  }
  catch(char* message) 
  {
    Syslog::write(message);
  }
  catch (Exception e) 
  {
    Syslog::write("simLbl -- caught Exception: %s\n", e.msg);
  }
  catch( ... )        
  {
    Syslog::write("simLbl -- Caught default exception!");
  }
  delete SimLBLServer;
  return 0;
}

