summaryrefslogtreecommitdiff
path: root/TAO/tao/PortableServer/ImR_Client_Adapter.h
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tao/PortableServer/ImR_Client_Adapter.h')
-rw-r--r--TAO/tao/PortableServer/ImR_Client_Adapter.h63
1 files changed, 63 insertions, 0 deletions
diff --git a/TAO/tao/PortableServer/ImR_Client_Adapter.h b/TAO/tao/PortableServer/ImR_Client_Adapter.h
new file mode 100644
index 00000000000..70be6e3c5d2
--- /dev/null
+++ b/TAO/tao/PortableServer/ImR_Client_Adapter.h
@@ -0,0 +1,63 @@
+// -*- C++ -*-
+
+//=============================================================================
+/**
+ * @file ImR_Client_Adapter.h
+ *
+ * $Id$
+ *
+ * @author Johnny Willemsen <jwillemsen@remedy.nl>
+ */
+//=============================================================================
+
+
+#ifndef TAO_IMR_CLIENT_ADAPTER_H
+#define TAO_IMR_CLIENT_ADAPTER_H
+
+#include /**/ "ace/pre.h"
+
+#include "tao/PortableServer/portableserver_export.h"
+
+#if !defined (ACE_LACKS_PRAGMA_ONCE)
+# pragma once
+#endif /* ACE_LACKS_PRAGMA_ONCE */
+
+#include "ace/Service_Object.h"
+#include "tao/orbconf.h"
+
+TAO_BEGIN_VERSIONED_NAMESPACE_DECL
+
+class TAO_Root_POA;
+
+namespace TAO
+{
+ namespace Portable_Server
+ {
+ /**
+ * @class ImR_Client_Adapter
+ *
+ * @brief IFR_Client_Adapter.
+ *
+ * Class that adapts various functions in the PortableServer library
+ * which use the Implementation Repository. This is a base class for
+ * the actual implementation in the TAO_IMR_Client library.
+ */
+ class TAO_PortableServer_Export ImR_Client_Adapter :
+ public ACE_Service_Object
+ {
+ public:
+ virtual ~ImR_Client_Adapter (void);
+
+ /// ImplRepo helper method, notify the ImplRepo on startup
+ virtual void imr_notify_startup (TAO_Root_POA* poa ) = 0;
+
+ /// ImplRepo helper method, notify the ImplRepo on shutdown
+ virtual void imr_notify_shutdown (TAO_Root_POA* poa ) = 0;
+ };
+ }
+}
+
+TAO_END_VERSIONED_NAMESPACE_DECL
+
+#include /**/ "ace/post.h"
+#endif /* TAO_IMR_CLIENT_ADAPTER_H */