/******************************************************************/
/*  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 "LblServer.h"

int main ( int argc, char **argv )
{
  LblServer *LBLServer;

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

try
  {
    SerialParameters serialParams(&argc, argv);
    LBLServer = new LblServer("LblServer",&serialParams);
    LBLServer -> run();
  }
catch(char* message){
  Syslog::write(message);
}
catch( ... ) {
  Syslog::write("lblServer -- Caught exception!");
}
delete LBLServer;
return 0;
}

