00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014 #ifndef TAO_ORT_ADAPTER_FACTORY_H
00015 #define TAO_ORT_ADAPTER_FACTORY_H
00016
00017 #include "ace/pre.h"
00018
00019 #include "tao/PortableServer/portableserver_export.h"
00020
00021 #if !defined (ACE_LACKS_PRAGMA_ONCE)
00022 # pragma once
00023 #endif
00024
00025 #include "tao/Versioned_Namespace.h"
00026 #include "ace/Service_Object.h"
00027
00028 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
00029
00030 namespace TAO
00031 {
00032 class ORT_Adapter;
00033 }
00034
00035 namespace TAO
00036 {
00037
00038
00039
00040
00041
00042
00043
00044
00045
00046
00047 class TAO_PortableServer_Export ORT_Adapter_Factory
00048 : public ACE_Service_Object
00049 {
00050 public:
00051
00052
00053
00054
00055
00056
00057
00058
00059
00060 virtual ~ORT_Adapter_Factory (void);
00061
00062
00063 virtual TAO::ORT_Adapter * create () = 0;
00064
00065
00066 virtual void destroy (TAO::ORT_Adapter * adapter) = 0;
00067 };
00068 }
00069
00070 TAO_END_VERSIONED_NAMESPACE_DECL
00071
00072 #include "ace/post.h"
00073
00074 #endif