Revert "Minor modernization of DynamicAny code"
[ACE_TAO.git] / TAO / tao / CSD_Framework / CSD_Object_Adapter_Factory.h
blob094bdb498d6ffaf6a29decd585f2847c6b195dce
1 // -*- C++ -*-
3 //=============================================================================
4 /**
5 * @file CSD_Object_Adapter_Factory.h
7 * @author Yan Dai (dai_y@ociweb.com)
8 */
9 //=============================================================================
12 #ifndef TAO_CSD_OBJECT_ADAPTER_FACTORY_H
13 #define TAO_CSD_OBJECT_ADAPTER_FACTORY_H
14 #include /**/ "ace/pre.h"
16 #include "tao/CSD_Framework/CSD_FW_Export.h"
18 #if !defined (ACE_LACKS_PRAGMA_ONCE)
19 # pragma once
20 #endif /* ACE_LACKS_PRAGMA_ONCE */
22 #include "tao/PI/PI.h"
23 #include "tao/Adapter_Factory.h"
24 #include "ace/Service_Config.h"
26 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
28 class TAO_CSD_FW_Export TAO_CSD_Object_Adapter_Factory : public TAO_Adapter_Factory
30 public:
31 /// Constructor
32 TAO_CSD_Object_Adapter_Factory ();
34 // = The TAO_Adapter_Factory methods, please read tao/Adapter.h for
35 // details.
36 virtual TAO_Adapter *create (TAO_ORB_Core *orb_core);
38 virtual int init (int argc,
39 ACE_TCHAR* argv[]);
43 ACE_STATIC_SVC_DECLARE_EXPORT (TAO_CSD_FW, TAO_CSD_Object_Adapter_Factory)
44 ACE_FACTORY_DECLARE (TAO_CSD_FW, TAO_CSD_Object_Adapter_Factory)
46 TAO_END_VERSIONED_NAMESPACE_DECL
48 #include /**/ "ace/post.h"
49 #endif /* TAO_CSD_OBJECT_ADAPTER_FACTORY_H */