Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

ImR_Locator.cpp File Reference

#include "ImR_Locator_i.h"

Include dependency graph for ImR_Locator.cpp:

Include dependency graph

Go to the source code of this file.

Functions

int main (int argc, char *argv[])


Function Documentation

int main int    argc,
char *    argv[]
 

Definition at line 6 of file ImR_Locator.cpp.

References ACE_ANY_EXCEPTION, ACE_CATCHANY, ACE_CHECK_RETURN, ACE_DECLARE_NEW_CORBA_ENV, ACE_ENDTRY, ACE_ENV_ARG_PARAMETER, ACE_NEW_THROW_EX, ACE_PRINT_EXCEPTION, ACE_TRY, ACE_TRY_CHECK, and ImR_Locator_i::init.

00007 {
00008   ACE_DECLARE_NEW_CORBA_ENV;
00009   ACE_TRY
00010     {
00011       // Instantiate an instance of ImR_Locator_i
00012       ImR_Locator_i *imr_locator;
00013       
00014       ACE_NEW_THROW_EX (imr_locator,
00015                         ImR_Locator_i,
00016                         CORBA::NO_MEMORY ());
00017       ACE_TRY_CHECK;
00018 
00019       // Invoke the init method and the ImR_Locator running.
00020       imr_locator->init (argc, argv ACE_ENV_ARG_PARAMETER);
00021       ACE_TRY_CHECK;
00022     }
00023   ACE_CATCHANY
00024     {
00025       ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION, "ImR_Locator");
00026     }
00027   ACE_ENDTRY;
00028   ACE_CHECK_RETURN (-1);
00029 
00030   return 0;
00031 }


Generated on Mon Jun 16 20:01:59 2003 for TAO_Implementation_Repository by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002