SALOME documentation central
src/Utils/Utils_ORB_INIT.hxx
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028 # if ! defined( __ORB_INIT_HXX__ )
00029 # define __ORB_INIT_HXX__
00030
00031 #include <SALOMEconfig.h>
00032
00033 #include "SALOME_Utils.hxx"
00034
00035 #include "omniORB4/CORBA.h"
00036
00037 #include "Utils_CommException.hxx"
00038
00044 class UTILS_EXPORT ORB_INIT
00045 {
00046
00047 private :
00048 CORBA::ORB_var _orb ;
00049
00050 public :
00051 ORB_INIT( void );
00052 virtual ~ORB_INIT();
00053 CORBA::ORB_var & operator() ( int argc , char **argv ) throw( CommException ) ;
00054
00055 inline CORBA::ORB_var &orb( void );
00056 } ;
00057
00058 inline CORBA::ORB_var &ORB_INIT::orb( void )
00059 {
00060 return _orb ;
00061 }
00062
00063 # endif
Copyright © 2007-2008 CEA/DEN, EDF R&D, OPEN CASCADE
Copyright © 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS