Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

IO_Cntl_Msg.cpp

Go to the documentation of this file.
00001 #include "ace_pch.h"
00002 // IO_Cntl_Msg.cpp
00003 // $Id: IO_Cntl_Msg.cpp,v 1.1.1.3.2.1 2003/03/13 19:44:21 chad Exp $
00004 
00005 #if 0
00006 // This is not meant to be used, it's just a place holder...
00007 
00008 ACE_RCSID(ace, IO_Cntl_Msg, "$Id: IO_Cntl_Msg.cpp,v 1.1.1.3.2.1 2003/03/13 19:44:21 chad Exp $")
00009 
00010 // Forward decl
00011 template <class SYNCH> class ACE_Module;
00012 
00013 /**
00014  * @class ACE_Module_Link
00015  *
00016  * @brief Data structure used to link two modules together
00017  */
00018 class ACE_Module_Link
00019 {
00020 public:
00021   ACE_Module_Link (ACE_Module *m1, ACE_Module *m2): mod_upper_ (m1), mod_lower_ (m2), count_ (0) {}
00022 
00023   ACE_Module *upper (void) { return this->mod_upper_; }
00024   void   upper (ACE_Module *u) { this->mod_upper_ = u; }
00025 
00026   ACE_Module *lower (void) { return this->mod_lower_; }
00027   void   lower (ACE_Module *l) { this->mod_lower_ = l; }
00028 
00029   int    count (void) { return this->count_; }
00030   void   count (int c) { this->count_ = c; }
00031 
00032 private:
00033   ACE_Module *mod_upper_;
00034   ACE_Module *mod_lower_;
00035   int    count_;
00036 };
00037 #endif
00038 

Generated on Mon Jun 16 11:19:53 2003 for ACE by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002