PolicyFactory_Loader.h

Go to the documentation of this file.
00001 // -*- C++ -*-
00002 
00003 
00004 //=============================================================================
00005 /**
00006  *  @file    PolicyFactory_Loader.h
00007  *
00008  *  PolicyFactory_Loader.h,v 1.6 2006/05/10 04:33:37 mesnier_p Exp
00009  *
00010  *  @author Johnny Willemsen  <jwillemsen@remedy.nl>
00011  */
00012 //=============================================================================
00013 
00014 
00015 #ifndef TAO_POLICYFACTORY_LOADER_H
00016 #define TAO_POLICYFACTORY_LOADER_H
00017 
00018 #include /**/ "ace/pre.h"
00019 
00020 #include "tao/PI/pi_export.h"
00021 
00022 #if !defined (ACE_LACKS_PRAGMA_ONCE)
00023 # pragma once
00024 #endif /* ACE_LACKS_PRAGMA_ONCE */
00025 
00026 #include "tao/PolicyFactory_Registry_Factory.h"
00027 #include "ace/Service_Config.h"
00028 
00029 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
00030 
00031 class TAO_PI_Export TAO_PolicyFactory_Loader
00032   : public TAO_PolicyFactory_Registry_Factory
00033 {
00034 public:
00035   /// Creates a Codec factory and returns it.
00036   virtual TAO::PolicyFactory_Registry_Adapter* create (void);
00037 
00038   /// Used to force the initialization of the ORB code.
00039   static int Initializer (void);
00040 };
00041 
00042 static int
00043 TAO_Requires_PolicyFactory_Initializer = TAO_PolicyFactory_Loader::Initializer ();
00044 
00045 TAO_END_VERSIONED_NAMESPACE_DECL
00046 
00047 ACE_STATIC_SVC_DECLARE (TAO_PolicyFactory_Loader)
00048 ACE_FACTORY_DECLARE (TAO_PI, TAO_PolicyFactory_Loader)
00049 
00050 #include /**/ "ace/post.h"
00051 
00052 #endif /* TAO_POLICYFACTORY_LOADER_H */

Generated on Thu Nov 9 12:51:39 2006 for TAO_PI by doxygen 1.3.6