summaryrefslogtreecommitdiff
path: root/TAO/tao/IFR_Client_Adapter.h
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tao/IFR_Client_Adapter.h')
-rw-r--r--TAO/tao/IFR_Client_Adapter.h100
1 files changed, 100 insertions, 0 deletions
diff --git a/TAO/tao/IFR_Client_Adapter.h b/TAO/tao/IFR_Client_Adapter.h
new file mode 100644
index 00000000000..4d9bae8a588
--- /dev/null
+++ b/TAO/tao/IFR_Client_Adapter.h
@@ -0,0 +1,100 @@
+// -*- C++ -*-
+
+//=============================================================================
+/**
+ * @file IFR_Client_Adapter.h
+ *
+ * $Id$
+ *
+ * @author Jeff Parsons <parsons@cs.wustl.edu>
+ */
+//=============================================================================
+
+
+#ifndef TAO_IFR_CLIENT_ADAPTER_H
+#define TAO_IFR_CLIENT_ADAPTER_H
+
+#include /**/ "ace/pre.h"
+#include "ace/Service_Object.h"
+
+#if !defined (ACE_LACKS_PRAGMA_ONCE)
+# pragma once
+#endif /* ACE_LACKS_PRAGMA_ONCE */
+
+#include /**/ "tao/TAO_Export.h"
+#include "tao/Basic_Types.h"
+#include "tao/orbconf.h"
+
+TAO_BEGIN_VERSIONED_NAMESPACE_DECL
+
+class TAO_OutputCDR;
+
+namespace CORBA
+{
+ class InterfaceDef;
+ typedef InterfaceDef *InterfaceDef_ptr;
+
+ class ORB;
+ typedef ORB *ORB_ptr;
+
+ class Object;
+ typedef Object *Object_ptr;
+
+ class OperationDef;
+ typedef OperationDef *OperationDef_ptr;
+
+ class NVList;
+ typedef NVList *NVList_ptr;
+}
+
+/**
+ * @class TAO_IFR_Client_Adapter
+ *
+ * @brief TAO_IFR_Client_Adapter.
+ *
+ * Class that adapts various functions in the CORBA namespace
+ * which use the Interface Repository. This is a base class for
+ * the actual implementation in the TAO_IFR_Client library.
+ */
+class TAO_Export TAO_IFR_Client_Adapter : public ACE_Service_Object
+{
+public:
+ virtual CORBA::Boolean interfacedef_cdr_insert (
+ TAO_OutputCDR &cdr,
+ CORBA::InterfaceDef_ptr object_type
+ ) = 0;
+
+ virtual void interfacedef_any_insert (
+ CORBA::Any *any,
+ CORBA::InterfaceDef_ptr object_type
+ ) = 0;
+
+ virtual void dispose (
+ CORBA::InterfaceDef_ptr orphan
+ ) = 0;
+
+ virtual CORBA::InterfaceDef_ptr get_interface (
+ CORBA::ORB_ptr orb,
+ const char *repo_id
+
+ ) = 0;
+
+ virtual CORBA::InterfaceDef_ptr get_interface_remote (
+ CORBA::Object_ptr target
+
+ ) = 0;
+
+#if (TAO_HAS_MINIMUM_CORBA == 0) && !defined (CORBA_E_COMPACT) && !defined (CORBA_E_MICRO)
+ virtual void create_operation_list (
+ CORBA::ORB_ptr orb,
+ CORBA::OperationDef_ptr,
+ CORBA::NVList_ptr&
+
+ ) = 0;
+#endif /*TAO_HAS_MINIMUM_CORBA*/
+};
+
+TAO_END_VERSIONED_NAMESPACE_DECL
+
+#include /**/ "ace/post.h"
+#endif /* TAO_IFR_CLIENT_ADAPTER_H */