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

CodecFactory_ORBInitializer.h

Go to the documentation of this file.
00001 // -*- C++ -*-
00002 
00003 //=============================================================================
00004 /**
00005  *  @file CodecFactory_ORBInitializer.h
00006  *
00007  *  $Id: CodecFactory_ORBInitializer.h,v 1.1.1.2 2003/02/21 18:36:44 chad Exp $
00008  *
00009  *  @author  Ossama Othman <ossama@uci.edu>
00010  */
00011 //=============================================================================
00012 
00013 
00014 #ifndef TAO_CODEC_FACTORY_ORB_INITIALIZER_H
00015 #define TAO_CODEC_FACTORY_ORB_INITIALIZER_H
00016 
00017 #include "ace/pre.h"
00018 
00019 #include "TAO_Export.h"
00020 
00021 #if !defined (ACE_LACKS_PRAGMA_ONCE)
00022 # pragma once
00023 #endif /* ACE_LACKS_PRAGMA_ONCE */
00024 
00025 #include "PortableInterceptorC.h"
00026 #include "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 #if (_MSC_VER >= 1200)
00032 #pragma warning(push)
00033 #endif /* _MSC_VER >= 1200 */
00034 #pragma warning(disable:4250)
00035 #endif /* _MSC_VER */
00036 
00037 
00038 /**
00039  * @class TAO_CodecFactory_ORBInitializer
00040  *
00041  * @brief ORBInitializer for the CodecFactory support.
00042  *
00043  * This class simply registers the CodecFactory object with the ORB
00044  * resolve_initial_references() mechanism.
00045  */
00046 class TAO_Export TAO_CodecFactory_ORBInitializer
00047   : public virtual PortableInterceptor::ORBInitializer,
00048     public virtual TAO_Local_RefCounted_Object
00049 {
00050 public:
00051 
00052   virtual void pre_init (PortableInterceptor::ORBInitInfo_ptr info
00053                          ACE_ENV_ARG_DECL_WITH_DEFAULTS)
00054     ACE_THROW_SPEC ((CORBA::SystemException));
00055 
00056   virtual void post_init (PortableInterceptor::ORBInitInfo_ptr info
00057                           ACE_ENV_ARG_DECL_WITH_DEFAULTS)
00058     ACE_THROW_SPEC ((CORBA::SystemException));
00059 
00060 };
00061 
00062 #if defined(_MSC_VER) && (_MSC_VER >= 1200)
00063 #pragma warning(pop)
00064 #endif /* _MSC_VER */
00065 
00066 #include "ace/post.h"
00067 
00068 #endif /* TAO_CODEC_FACTORY_ORB_INITIALIZER_H */

Generated on Mon Jun 16 13:48:04 2003 for TAO by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002