#include "DCPSInfoRepoServ.h"
#include "tao/ORB_Core.h"
#include <iostream>
Include dependency graph for DCPSInfoRepo.cpp:
Go to the source code of this file.
Functions | |
int | ACE_TMAIN (int argc, ACE_TCHAR *argv[]) |
int ACE_TMAIN | ( | int | argc, | |
ACE_TCHAR * | argv[] | |||
) |
Definition at line 19 of file DCPSInfoRepo.cpp.
References InfoRepo::InitError::msg_, and InfoRepo::run().
00020 { 00021 try { 00022 00023 InfoRepo infoRepo(argc, argv); 00024 00025 InfoRepo_Shutdown ir_shutdown(infoRepo); 00026 Service_Shutdown service_shutdown(ir_shutdown); 00027 00028 infoRepo.run(); 00029 00030 } catch (InfoRepo::InitError& ex) { 00031 std::cerr << "Unexpected initialization Error: " 00032 << ex.msg_ << std::endl; 00033 return -1; 00034 00035 } catch (const CORBA::Exception& ex) { 00036 ex._tao_print_exception("ERROR: DDS DCPS Info Repo caught exception"); 00037 return -1; 00038 } 00039 return 0; 00040 }