IO_Cntl_Msg.cpp

Go to the documentation of this file.
00001 // IO_Cntl_Msg.cpp,v 4.7 2006/04/19 11:51:15 jwillemsen Exp
00002 
00003 #include "ace/IO_Cntl_Msg.h"
00004 
00005 #if !defined (__ACE_INLINE__)
00006 #include "ace/IO_Cntl_Msg.inl"
00007 #endif /* __ACE_INLINE__ */
00008 
00009 ACE_RCSID(ace, IO_Cntl_Msg, "IO_Cntl_Msg.cpp,v 4.7 2006/04/19 11:51:15 jwillemsen Exp")
00010 
00011 #if 0
00012 // This is not meant to be used, it's just a place holder...
00013 
00014 #if !defined (__ACE_INLINE__)
00015 #include "ace/Intrusive_List.inl"
00016 #endif /* __ACE_INLINE__ */
00017 
00018 ACE_BEGIN_VERSIONED_NAMESPACE_DECL
00019 
00020 // Forward decl
00021 template <class SYNCH> class ACE_Module;
00022 
00023 /**
00024  * @class ACE_Module_Link
00025  *
00026  * @brief Data structure used to link two modules together
00027  */
00028 class ACE_Module_Link
00029 {
00030 public:
00031   ACE_Module_Link (ACE_Module *m1, ACE_Module *m2): mod_upper_ (m1), mod_lower_ (m2), count_ (0) {}
00032 
00033   ACE_Module *upper (void) { return this->mod_upper_; }
00034   void   upper (ACE_Module *u) { this->mod_upper_ = u; }
00035 
00036   ACE_Module *lower (void) { return this->mod_lower_; }
00037   void   lower (ACE_Module *l) { this->mod_lower_ = l; }
00038 
00039   int    count (void) const { return this->count_; }
00040   void   count (int c) { this->count_ = c; }
00041 
00042 private:
00043   ACE_Module *mod_upper_;
00044   ACE_Module *mod_lower_;
00045   int    count_;
00046 };
00047 
00048 ACE_END_VERSIONED_NAMESPACE_DECL
00049 
00050 #endif
00051 

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