⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 concurrency_t.h

📁 ACE自适配通信环境(ADAPTIVE Communication Environment)是可以自由使用、开放源码的面向对象(OO)框架(Framework)
💻 H
字号:
/* -*- c++ -*- */// Concurrency_T.h,v 1.2 2005/02/14 23:25:50 shuston Exp#ifndef JAWS_CONCURRENCY_T_H#define JAWS_CONCURRENCY_T_H// This gets me the ACE template defines without having to #include "ace/OS.h".#include "ace/config-lite.h"class JAWS_Protocol_Handler;template <class CONCURRENCY_IMPL>class JAWS_Concurrency_Bridge// = TITLE//     The Concurrency Bridge uses the Concrete Bridge pattern.//// = DESCRIPTION//     The Concurrency Bridge class plays the role of Abstraction//     in the Bridge pattern.  If the CONCURRENCY_IMPL is the//     base class JAWS_Concurrency_Impl, then it plays the classic//     role.  If the CONCURRENCY_IMPL is one of the Concrete//     Implementors, then its role is more that of an Adapter,//     which is like Bridge, but without the polymorphism overhead.//{public:  JAWS_Concurrency_Bridge (CONCURRENCY_IMPL *impl = 0);  int putq (JAWS_Protocol_Handler *ph);  int getq (JAWS_Protocol_Handler *&ph);  void shutdown (void);protected:  CONCURRENCY_IMPL *impl_;};#if defined (ACE_TEMPLATES_REQUIRE_SOURCE)#include "jaws3/Concurrency_T.cpp"#endif /* ACE_TEMPLATES_REQUIRE_SOURCE */#if defined (ACE_TEMPLATES_REQUIRE_PRAGMA)#pragma implementation ("Concurrency_T.cpp")#endif /* ACE_TEMPLATES_REQUIRE_PRAGMA */#endif /* JAWS_CONCURRENCY_T_H */

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -