Multiplexor.h

Go to the documentation of this file.
00001 /* -*- C++ -*- */
00002 
00003 //=============================================================================
00004 /**
00005  *  @file    Multiplexor.h
00006  *
00007  *  Multiplexor.h,v 4.10 2005/10/28 16:14:53 ossama Exp
00008  *
00009  *   Define the ACE_Driver and ACE_Multiplexor container classes.
00010  *   Note that these classes have never been implemented due to lack
00011  *   of need.
00012  *
00013  *  @author Doug Schmidt
00014  */
00015 //=============================================================================
00016 
00017 
00018 #ifndef ACE_MULTIPLEXOR_H
00019 #define ACE_MULTIPLEXOR_H
00020 #include /**/ "ace/pre.h"
00021 
00022 #include "ace/config-all.h"
00023 
00024 #if !defined (ACE_LACKS_PRAGMA_ONCE)
00025 # pragma once
00026 #endif /* ACE_LACKS_PRAGMA_ONCE */
00027 
00028 #if defined (ACE_HAS_THREADS)
00029 
00030 #if 0
00031 
00032 #include "ace/Module.h"
00033 #include "ace/Map_Manager.h"
00034 
00035 ACE_BEGIN_VERSIONED_NAMESPACE_DECL
00036 
00037 /**
00038  * @class ACE_Driver
00039  *
00040  *
00041  */
00042 class ACE_Export ACE_Driver
00043 {
00044 public:
00045   ACE_Driver (void);
00046   ~ACE_Driver (void);
00047 
00048   virtual int link_from_below (ACE_Module *mod);
00049   virtual ACE_Module *alloc_module (ACE_Driver *) = 0;
00050   virtual int unlink_from_below (ACE_Module *);
00051 };
00052 
00053 /**
00054  * @class ACE_Multiplexor
00055  *
00056  *
00057  */
00058 class ACE_Export ACE_Multiplexor
00059 {
00060 public:
00061   // = Constructors and destructors
00062   ACE_Multiplexor (void);
00063   ~ACE_Multiplexor (void);
00064 
00065   virtual int link_from_above (ACE_Driver &ld);
00066   virtual int link_from_above (ACE_Multiplexor &lm);
00067   virtual int link_from_below (ACE_Module *mod);
00068   virtual ACE_Module *alloc_lower_module (ACE_Multiplexor *) = 0;
00069   virtual ACE_Module *alloc_upper_module (ACE_Multiplexor *) = 0;
00070 
00071   virtual int unlink_from_above (ACE_Driver &ld);
00072   virtual int unlink_from_above (ACE_Multiplexor &lm);
00073   virtual int unlink_from_below (ACE_Module *mod);
00074 };
00075 
00076 ACE_END_VERSIONED_NAMESPACE_DECL
00077 
00078 #if defined (__ACE_INLINE__)
00079 #include "ace/Multiplexor.inl"
00080 #endif /* __ACE_INLINE__ */
00081 
00082 #endif /* 0 */
00083 
00084 #endif /* ACE_HAS_THREADS */
00085 #include /**/ "ace/post.h"
00086 #endif /* ACE_MULTIPLEXOR_H */

Generated on Thu Nov 9 09:41:57 2006 for ACE by doxygen 1.3.6