00001 // -*- C++ -*- 00002 00003 //============================================================================= 00004 /** 00005 * @file PortableGroup_ORBInitializer.h 00006 * 00007 * PortableGroup_ORBInitializer.h,v 1.11 2006/03/14 06:14:34 jtc Exp 00008 * 00009 * @author Frank Hunleth <fhunleth@cs.wustl.edu> 00010 */ 00011 //============================================================================= 00012 00013 00014 #ifndef TAO_PORTABLEGROUP_ORB_INITIALIZER_H 00015 #define TAO_PORTABLEGROUP_ORB_INITIALIZER_H 00016 00017 #include /**/ "ace/pre.h" 00018 00019 #include "orbsvcs/PortableGroup/portablegroup_export.h" 00020 00021 #if !defined (ACE_LACKS_PRAGMA_ONCE) 00022 # pragma once 00023 #endif /* ACE_LACKS_PRAGMA_ONCE */ 00024 00025 #include "tao/PI/PI.h" 00026 #include "tao/LocalObject.h" 00027 00028 // This is to remove "inherits via dominance" warnings from MSVC. 00029 // MSVC is being a little too paranoid. 00030 #if defined(_MSC_VER) 00031 #pragma warning(push) 00032 #pragma warning(disable:4250) 00033 #endif /* _MSC_VER */ 00034 00035 TAO_BEGIN_VERSIONED_NAMESPACE_DECL 00036 00037 /// PortableGroup ORB initializer. 00038 class TAO_PortableGroup_Export TAO_PortableGroup_ORBInitializer : 00039 public virtual PortableInterceptor::ORBInitializer, 00040 public virtual TAO_Local_RefCounted_Object 00041 { 00042 public: 00043 virtual void pre_init (PortableInterceptor::ORBInitInfo_ptr info 00044 ACE_ENV_ARG_DECL_WITH_DEFAULTS) 00045 ACE_THROW_SPEC ((CORBA::SystemException)); 00046 00047 virtual void post_init (PortableInterceptor::ORBInitInfo_ptr info 00048 ACE_ENV_ARG_DECL_WITH_DEFAULTS) 00049 ACE_THROW_SPEC ((CORBA::SystemException)); 00050 00051 }; 00052 00053 TAO_END_VERSIONED_NAMESPACE_DECL 00054 00055 #if defined(_MSC_VER) 00056 #pragma warning(pop) 00057 #endif /* _MSC_VER */ 00058 00059 #include /**/ "ace/post.h" 00060 00061 #endif /* TAO_PORTABLEGROUP_ORB_INITIALIZER_H */