| 12 | #include <iostream> |
| 13 | |
| 14 | int |
| 15 | ACE_TMAIN(int argc, ACE_TCHAR *argv[]) |
| 16 | { |
| 17 | try { |
| 18 | |
| 19 | InfoRepo infoRepo(argc, argv); |
| 20 | |
| 21 | InfoRepo_Shutdown ir_shutdown(infoRepo); |
| 22 | Service_Shutdown service_shutdown(ir_shutdown); |
| 23 | |
| 24 | infoRepo.run(); |
| 25 | |
| 26 | } catch (InfoRepo::InitError& ex) { |
| 27 | std::cerr << "Unexpected initialization Error: " |
| 28 | << ex.msg_ << std::endl; |
| 29 | return 1; |
| 30 | |
| 31 | } catch (const CORBA::Exception& ex) { |
| 32 | ex._tao_print_exception("ERROR: DDS DCPS Info Repo caught exception"); |
| 33 | return 1; |
| 34 | } |
| 35 | return 0; |
| 36 | } |
nothing calls this directly
no test coverage detected