summaryrefslogtreecommitdiff
path: root/ace/Multiplexor.h
diff options
context:
space:
mode:
authorlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1996-10-21 21:41:34 +0000
committerlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1996-10-21 21:41:34 +0000
commita5fdebc5f6375078ec1763850a4ca23ec7fe6458 (patch)
treebcf0a25c3d45a209a6e3ac37b233a4812f29c732 /ace/Multiplexor.h
downloadATCD-a5fdebc5f6375078ec1763850a4ca23ec7fe6458.tar.gz
Initial revision
Diffstat (limited to 'ace/Multiplexor.h')
-rw-r--r--ace/Multiplexor.h76
1 files changed, 76 insertions, 0 deletions
diff --git a/ace/Multiplexor.h b/ace/Multiplexor.h
new file mode 100644
index 00000000000..960d67e371e
--- /dev/null
+++ b/ace/Multiplexor.h
@@ -0,0 +1,76 @@
+/* -*- C++ -*- */
+// $Id$
+
+
+// ============================================================================
+//
+// = LIBRARY
+// ace
+//
+// = FILENAME
+// Multiplexor.h
+//
+// Define the Driver and ACE_Multiplexor container classes.
+//
+// = AUTHOR
+// Doug Schmidt
+//
+// ============================================================================
+
+
+#if !defined (ACE_MULTIPLEXOR_H)
+#define ACE_MULTIPLEXOR_H
+
+#include "ace/Module.h"
+#include "ace/Map_Manager.h"
+
+#if defined (ACE_HAS_THREADS)
+
+#if 0
+class Driver
+ // = TITLE
+ //
+ //
+ // = DESCRIPTION
+ //
+{
+public:
+ Driver (void);
+ ~Driver (void);
+
+ virtual int link_from_below (ACE_Module *mod);
+ virtual ACE_Module *alloc_module (Driver *) = 0;
+ virtual int unlink_from_below (ACE_Module *);
+};
+
+class ACE_Export ACE_Multiplexor
+ // = TITLE
+ //
+ //
+ // = DESCRIPTION
+ //
+{
+public:
+ // = Constructors and destructors
+ ACE_Multiplexor (void);
+ ~ACE_Multiplexor (void);
+
+ virtual int link_from_above (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 (Driver &ld);
+ virtual int unlink_from_above (ACE_Multiplexor &lm);
+ virtual int unlink_from_below (ACE_Module *mod);
+};
+
+#if defined (__ACE_INLINE__)
+#include "ace/Multiplexor.i"
+#endif /* __ACE_INLINE__ */
+
+#endif /* 0 */
+
+#endif /* ACE_HAS_THREADS */
+#endif /* ACE_MULTIPLEXOR_H */