summaryrefslogtreecommitdiff
path: root/ACE/ace/Multiplexor.h
diff options
context:
space:
mode:
Diffstat (limited to 'ACE/ace/Multiplexor.h')
-rw-r--r--ACE/ace/Multiplexor.h86
1 files changed, 86 insertions, 0 deletions
diff --git a/ACE/ace/Multiplexor.h b/ACE/ace/Multiplexor.h
new file mode 100644
index 00000000000..6afb5a653c5
--- /dev/null
+++ b/ACE/ace/Multiplexor.h
@@ -0,0 +1,86 @@
+/* -*- C++ -*- */
+
+//=============================================================================
+/**
+ * @file Multiplexor.h
+ *
+ * $Id$
+ *
+ * Define the ACE_Driver and ACE_Multiplexor container classes.
+ * Note that these classes have never been implemented due to lack
+ * of need.
+ *
+ * @author Doug Schmidt
+ */
+//=============================================================================
+
+
+#ifndef ACE_MULTIPLEXOR_H
+#define ACE_MULTIPLEXOR_H
+#include /**/ "ace/pre.h"
+
+#include "ace/config-all.h"
+
+#if !defined (ACE_LACKS_PRAGMA_ONCE)
+# pragma once
+#endif /* ACE_LACKS_PRAGMA_ONCE */
+
+#if defined (ACE_HAS_THREADS)
+
+#if 0
+
+#include "ace/Module.h"
+#include "ace/Map_Manager.h"
+
+ACE_BEGIN_VERSIONED_NAMESPACE_DECL
+
+/**
+ * @class ACE_Driver
+ *
+ *
+ */
+class ACE_Export ACE_Driver
+{
+public:
+ ACE_Driver (void);
+ ~ACE_Driver (void);
+
+ virtual int link_from_below (ACE_Module *mod);
+ virtual ACE_Module *alloc_module (ACE_Driver *) = 0;
+ virtual int unlink_from_below (ACE_Module *);
+};
+
+/**
+ * @class ACE_Multiplexor
+ *
+ *
+ */
+class ACE_Export ACE_Multiplexor
+{
+public:
+ // = Constructors and destructors
+ ACE_Multiplexor (void);
+ ~ACE_Multiplexor (void);
+
+ virtual int link_from_above (ACE_Driver &ld);
+ virtual int link_from_above (ACE_Multiplexor &lm);
+ virtual int link_from_below (ACE_Module *mod);
+ virtual ACE_Module *alloc_lower_module (ACE_Multiplexor *) = 0;
+ virtual ACE_Module *alloc_upper_module (ACE_Multiplexor *) = 0;
+
+ virtual int unlink_from_above (ACE_Driver &ld);
+ virtual int unlink_from_above (ACE_Multiplexor &lm);
+ virtual int unlink_from_below (ACE_Module *mod);
+};
+
+ACE_END_VERSIONED_NAMESPACE_DECL
+
+#if defined (__ACE_INLINE__)
+#include "ace/Multiplexor.inl"
+#endif /* __ACE_INLINE__ */
+
+#endif /* 0 */
+
+#endif /* ACE_HAS_THREADS */
+#include /**/ "ace/post.h"
+#endif /* ACE_MULTIPLEXOR_H */