summaryrefslogtreecommitdiff
path: root/ACE/TAO/tao/Adapter_Factory.h
diff options
context:
space:
mode:
Diffstat (limited to 'ACE/TAO/tao/Adapter_Factory.h')
-rw-r--r--ACE/TAO/tao/Adapter_Factory.h48
1 files changed, 48 insertions, 0 deletions
diff --git a/ACE/TAO/tao/Adapter_Factory.h b/ACE/TAO/tao/Adapter_Factory.h
new file mode 100644
index 00000000000..cad81bc1f23
--- /dev/null
+++ b/ACE/TAO/tao/Adapter_Factory.h
@@ -0,0 +1,48 @@
+// -*- C++ -*-
+
+//=============================================================================
+/**
+ * @file Adapter_Factory.h
+ *
+ * $Id$
+ *
+ * @author Carlos O'Ryan (coryan@uci.edu)
+ */
+//=============================================================================
+
+#ifndef TAO_ADAPTER_FACTORY_H
+#define TAO_ADAPTER_FACTORY_H
+
+#include /**/ "ace/pre.h"
+
+#include /**/ "tao/TAO_Export.h"
+
+#if !defined (ACE_LACKS_PRAGMA_ONCE)
+# pragma once
+#endif /* ACE_LACKS_PRAGMA_ONCE */
+
+#include /**/ "tao/Versioned_Namespace.h"
+
+#include "ace/Service_Object.h"
+
+
+TAO_BEGIN_VERSIONED_NAMESPACE_DECL
+
+class TAO_Adapter;
+class TAO_ORB_Core;
+
+class TAO_Export TAO_Adapter_Factory : public ACE_Service_Object
+{
+public:
+ /// Destructor
+ virtual ~TAO_Adapter_Factory (void);
+
+ /// Create a new adapter
+ virtual TAO_Adapter *create (TAO_ORB_Core *orb_core) = 0;
+};
+
+TAO_END_VERSIONED_NAMESPACE_DECL
+
+#include /**/ "ace/post.h"
+
+#endif /* TAO_ADAPTER_FACTORY_H */